diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2012-11-27 10:47:10 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2012-11-27 10:47:10 +0100 |
commit | 4672239bdcfd2ffb158fd2966e932f87d7dd2ecc (patch) | |
tree | 2ae1610dbbb6dc4d880626d40ba4ecdd0a597481 /testing/libva-intel-driver | |
parent | c980e6c0347fa09554c83a12791fddc0e81fa0bd (diff) | |
download | aports-4672239bdcfd2ffb158fd2966e932f87d7dd2ecc.tar.bz2 aports-4672239bdcfd2ffb158fd2966e932f87d7dd2ecc.tar.xz |
testing/libva-intel-driver: new aport
Diffstat (limited to 'testing/libva-intel-driver')
-rw-r--r-- | testing/libva-intel-driver/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/libva-intel-driver/APKBUILD b/testing/libva-intel-driver/APKBUILD new file mode 100644 index 000000000..2bf2cca0f --- /dev/null +++ b/testing/libva-intel-driver/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=libva-intel-driver +pkgver=1.0.19 +pkgrel=0 +pkgdesc="VA-API implementation for Intel G45 chipsets and Intel HD Graphics for Intel Core processor family" +url="http://freedesktop.org/wiki/Software/vaapi" +arch="all" +license="MIT" +depends="" +depends_dev="libdrm-dev libva-dev" +makedepends="$depends_dev autoconf automake m4 libtool" +install="" +subpackages="" +source="http://cgit.freedesktop.org/vaapi/intel-driver/snapshot/intel-driver-$pkgver.tar.gz" + +_builddir="$srcdir"/intel-driver-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./autogen.sh --prefix=/usr + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*/*.la +} + +md5sums="90381684d7479ad8a0e5b9344ae88453 intel-driver-1.0.19.tar.gz" |