summaryrefslogtreecommitdiffstats
path: root/vdpauinfo/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'vdpauinfo/Pkgfile')
-rwxr-xr-xvdpauinfo/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/vdpauinfo/Pkgfile b/vdpauinfo/Pkgfile
new file mode 100755
index 000000000..87a544a41
--- /dev/null
+++ b/vdpauinfo/Pkgfile
@@ -0,0 +1,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
+}