summaryrefslogtreecommitdiffstats
path: root/libvdpau/Pkgfile
blob: c7def3c0a9cd68a7828c49f789181fda2f70d4ea (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
# Description: Bibliothèque NVidia VDPAU
# URL: http://cgit.freedesktop.org/~aplattner/libvdpau
# Maintainer: NutyX core team
# Packager: lesibel at free dot fr
# Depends on: xorg-libx11
# Run on:

name=libvdpau
version=0.4.1
release=7
nvidia_ver=302.11
source=(http://people.freedesktop.org/~aplattner/vdpau/$name-$version.tar.gz git_commit_4262513e.patch)

build() {
	cd $name-$version
	patch -p1 < ../git_commit_4262513e.patch
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install 

	ln -s vdpau/libvdpau_nvidia.so.$nvidia_ver $PKG/usr/lib/libvdpau_nvidia.so
	ln -s vdpau/libvdpau_trace.so.$nvidia_ver $PKG/usr/lib/libvdpau_trace.so

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