diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-05-06 10:14:56 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-05-06 10:14:56 +0000 |
commit | 7241946fd27e190a36467fd39240ccbced64fe08 (patch) | |
tree | e696dd814656f9d51a5385a0704b4c713c63da09 /main/libva-intel-driver | |
parent | 89922de499338f3ae8e52e595df3866b88fa1808 (diff) | |
download | aports-7241946fd27e190a36467fd39240ccbced64fe08.tar.bz2 aports-7241946fd27e190a36467fd39240ccbced64fe08.tar.xz |
libva-intel-driver/APKBUILD: move to main
Diffstat (limited to 'main/libva-intel-driver')
-rw-r--r-- | main/libva-intel-driver/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/main/libva-intel-driver/APKBUILD b/main/libva-intel-driver/APKBUILD new file mode 100644 index 0000000000..04f37d03c0 --- /dev/null +++ b/main/libva-intel-driver/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libva-intel-driver +pkgver=1.0.20 +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" +install="" +subpackages="" +install_if="libva xf86-video-intel" +source="http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver/libva-intel-driver-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$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" + ./configure --prefix=/usr + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*/*.la +} + +md5sums="55b8e5d1126cc0f7e9df968017d21468 libva-intel-driver-1.0.20.tar.bz2" +sha256sums="12fefb661372c053ff26530fae8342f9df63dbe8ab2c548d8d430d994042d4c9 libva-intel-driver-1.0.20.tar.bz2" +sha512sums="bd327ab2b99eba9255d2631f41888dbee0019125a512c47469692372cb11508898afcc38c646264cea51093bfb911b7ca7f35314e3e87b5c8baad9f6b0ffe755 libva-intel-driver-1.0.20.tar.bz2" |