diff --git a/packages/multimedia/libva-driver-intel/build b/packages/multimedia/libva-driver-intel/build deleted file mode 100755 index 9a4aa5cb6e..0000000000 --- a/packages/multimedia/libva-driver-intel/build +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# OpenELEC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC. If not, see . -################################################################################ - -. config/options $1 - -cd $PKG_BUILD -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --enable-shared \ - --disable-static \ - --disable-silent-rules \ - --with-drivers-path="/usr/lib/va" \ - -make diff --git a/packages/multimedia/libva-driver-intel/install b/packages/multimedia/libva-driver-intel/install deleted file mode 100755 index 6c1b7f702d..0000000000 --- a/packages/multimedia/libva-driver-intel/install +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# OpenELEC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC. If not, see . -################################################################################ - -. config/options $1 - -mkdir -p $INSTALL/usr/lib/va - cp -P $PKG_BUILD/src/.libs/*.so $INSTALL/usr/lib/va diff --git a/packages/multimedia/libva-driver-intel/meta b/packages/multimedia/libva-driver-intel/package.mk similarity index 77% rename from packages/multimedia/libva-driver-intel/meta rename to packages/multimedia/libva-driver-intel/package.mk index d752b3f885..78c427344c 100644 --- a/packages/multimedia/libva-driver-intel/meta +++ b/packages/multimedia/libva-driver-intel/package.mk @@ -23,12 +23,23 @@ PKG_ARCH="i386 x86_64" PKG_LICENSE="GPL" PKG_SITE="http://freedesktop.org/wiki/Software/vaapi" PKG_URL="http://cgit.freedesktop.org/vaapi/intel-driver/snapshot/intel-driver-$PKG_VERSION.tar.gz" -PKG_DEPENDS="libdrm" -PKG_BUILD_DEPENDS="toolchain libva libdrm" +PKG_DEPENDS_TARGET="libdrm" +PKG_BUILD_DEPENDS_TARGET="toolchain libva libdrm" PKG_PRIORITY="optional" PKG_SECTION="multimedia" PKG_SHORTDESC="libva-driver-intel: Intel G45+ driver for VAAPI" PKG_LONGDESC="libva-driver-intel: Intel G45+ driver for VAAPI" -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="yes" + +PKG_CONFIGURE_OPTS_TARGET="--disable-silent-rules --with-drivers-path=/usr/lib/va" + +unpack () { + if [ -d $BUILD/$PKG_NAME-$PKG_VERSION ]; then + rm -rf $BUILD/$PKG_NAME-$PKG_VERSION + fi + + tar -xzf $SOURCES/$PKG_NAME/intel-driver-$PKG_VERSION.tar.gz -C $BUILD + mv $BUILD/intel-driver-$PKG_VERSION $BUILD/$PKG_NAME-$PKG_VERSION +} diff --git a/packages/multimedia/libva-driver-intel/unpack b/packages/multimedia/libva-driver-intel/unpack deleted file mode 100755 index 7cb2570ff9..0000000000 --- a/packages/multimedia/libva-driver-intel/unpack +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# OpenELEC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC. If not, see . -################################################################################ - -. config/options $1 - -[ -d $BUILD/$PKG_NAME-$PKG_VERSION ] && rm -rf $BUILD/$PKG_NAME-$PKG_VERSION - -tar -xzf $SOURCES/$PKG_NAME/intel-driver-$PKG_VERSION.tar.gz -C $BUILD -mv $BUILD/intel-driver-$PKG_VERSION $BUILD/$PKG_NAME-$PKG_VERSION