summaryrefslogtreecommitdiffstats
path: root/extra/libvdpau/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libvdpau/Pkgfile')
-rwxr-xr-xextra/libvdpau/Pkgfile21
1 files changed, 12 insertions, 9 deletions
diff --git a/extra/libvdpau/Pkgfile b/extra/libvdpau/Pkgfile
index 6049c16e9..99b85a93c 100755
--- a/extra/libvdpau/Pkgfile
+++ b/extra/libvdpau/Pkgfile
@@ -1,22 +1,25 @@
-# Description: Nvidia VDPAU lib
+# 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=1
+release=2
-source=(http://people.freedesktop.org/~aplattner/vdpau/$name-$version.tar.gz )
+source=(http://people.freedesktop.org/~aplattner/vdpau/$name-$version.tar.gz git_commit_4262513e.patch)
build() {
- cd $name-$version
+ cd $name-$version
+ patch -p1 < ../git_commit_4262513e.patch
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
- ./configure --prefix=/usr
- make
- make DESTDIR=$PKG install
+ ln -s vdpau/libvdpau_nvidia.so.280.13 $PKG/usr/lib/libvdpau_nvidia.so
- install -d -m755 $PKG/usr/share/licenses/$name
- install -m644 COPYING $PKG/usr/share/licenses/$name
+ install -d -m755 $PKG/usr/share/licenses/$name
+ install -m644 COPYING $PKG/usr/share/licenses/$name
}