summaryrefslogtreecommitdiffstats
path: root/extra/vdpauinfo/Pkgfile
blob: 87a544a416ffcc2a1f67eded3d526a752019d599 (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: Permet de récupérer les informations d'un périphérique VDPAU
# URL: http://cgit.freedesktop.org/~aplattner/vdpauinfo
# Maintainer: NutyX core team
# Packager: piernov <piernov@piernov.org>
# Depends on: libvdpau
# Run on: libvdpau

name=vdpauinfo
version=0.0.6
release=1

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

build() {
	cd $name-$version
	autoreconf -fi
	./configure --prefix=/usr \
		VDPAU_CFLAGS=-I/usr/include \
		VDPAU_LIBS=-lvdpau LIBS=-lX11
	make
	make DESTDIR=$PKG install 

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