diff options
Diffstat (limited to 'libvdpau/Pkgfile')
-rwxr-xr-x | libvdpau/Pkgfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libvdpau/Pkgfile b/libvdpau/Pkgfile new file mode 100755 index 000000000..4400462c9 --- /dev/null +++ b/libvdpau/Pkgfile @@ -0,0 +1,25 @@ +# 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=4 +nvidia_ver=290.10 +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 + + install -d -m755 $PKG/usr/share/licenses/$name + install -m644 COPYING $PKG/usr/share/licenses/$name +} |