summaryrefslogtreecommitdiffstats
path: root/libva/Pkgfile
blob: dde4b1460a91de9c6fd697422533a5d42e7f40b5 (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
# 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: libdrm, xorg-libxfixes
# Run on: libdrm,xorg-libxfixes

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

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

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