blob: d6ebf3729e05d12d003b09f64882ce0e7f831e97 (
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
44
45
46
47
48
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libva-intel-driver
pkgver=1.2.1
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"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*/*.la
}
md5sums="8248d224d35c9544777f1c7250f581b2 libva-intel-driver-1.2.1.tar.bz2"
sha256sums="5c6917c961b1de7f0d5ea3a6feac8eeec098d8aff6cdf2bca44e9b3083515186 libva-intel-driver-1.2.1.tar.bz2"
sha512sums="feb7faaf41b3044d342af57ea10e5be8b40e1a2fd1ca39fb4b2280cd0175f7d1fa9b9f06609693cf4e4cb2e2c68d86b2592512c71ef0f0461810554ca762e584 libva-intel-driver-1.2.1.tar.bz2"
|