aboutsummaryrefslogtreecommitdiffstats
path: root/main/libva-intel-driver/APKBUILD
blob: 04f37d03c00bfe05faad129f4843df455f662571 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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"