summaryrefslogtreecommitdiffstats
path: root/libvdpau/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libvdpau/Pkgfile')
-rwxr-xr-xlibvdpau/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/libvdpau/Pkgfile b/libvdpau/Pkgfile
new file mode 100755
index 000000000..01eeb3494
--- /dev/null
+++ b/libvdpau/Pkgfile
@@ -0,0 +1,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=3
+nvidia_ver=285.05.09
+
+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
+}