summaryrefslogtreecommitdiffstats
path: root/libva/Pkgfile
blob: 7e24499f221d2ef2865c006907be9f94665c9531 (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
# Description: API d'accélération vidéo pour Linux
# URL: http://freedesktop.org/wiki/Software/vaapi
# Maintainer: NutyX core team
# Packager: piernov <piernov@piernov.org>
# Depends on: mesa3d, libdrm, xorg-libxfixes
# Run on: mesa3d,libdrm,xorg-libxfixes

name=libva
version=1.0.14
release=1

source=(http://cgit.freedesktop.org/$name/snapshot/$name-$version.tar.bz2)

build() {
	cd $name-$version
	./autogen.sh
	./configure --prefix=/usr \
		--enable-glx \
		--enable-dummy-driver \
		--enable-dummy-backend \
		--enable-i965-driver
	make
	make DESTDIR=$PKG install 

	install -d -m755 $PKG/usr/share/licenses/$name
	install -m644 COPYING $PKG/usr/share/licenses/$name
}