[Lunar-commits] <moonbase> xine-lib-vdpau: new module

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun Sep 27 22:26:48 CEST 2009


commit dbdbabccbb1a7da2a8cf45231d92a37f559a3cc5
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun Sep 27 22:26:48 2009 +0200

    xine-lib-vdpau: new module
---
 aliases                        |    2 ++
 video/xine-lib-vdpau/BUILD     |   13 +++++++++++++
 video/xine-lib-vdpau/CONFLICTS |    1 +
 video/xine-lib-vdpau/DEPENDS   |   23 +++++++++++++++++++++++
 video/xine-lib-vdpau/DETAILS   |   18 ++++++++++++++++++
 video/xine-lib-vdpau/PRE_BUILD |    8 ++++++++
 video/xine-lib/CONFLICTS       |    1 +
 7 files changed, 66 insertions(+), 0 deletions(-)

diff --git a/aliases b/aliases
index 26745a5..edf0d6b 100644
--- a/aliases
+++ b/aliases
@@ -11,3 +11,5 @@
 %X:XOrg7 XOrg6
 %GLX:mesa-lib
 %BLUETOOTH:bluez-utils bluez
+%VDPAUDEVICE:NVIDIA NVIDIA-beta
+%XINELIB:xine-lib xine-lib-vdpau
diff --git a/video/xine-lib-vdpau/BUILD b/video/xine-lib-vdpau/BUILD
new file mode 100644
index 0000000..6afc91a
--- /dev/null
+++ b/video/xine-lib-vdpau/BUILD
@@ -0,0 +1,13 @@
+(
+
+#  sedit 's/\$sarchopt=\$archopt_val//' m4/optimizations.m4 &&
+  if module_installed kdelibs3; then
+    . /etc/profile.d/kde3.rc
+    OPTS+=" --with-arts"
+  fi &&
+unset CFLAGS &&
+  OPTS+=" --enable-static --with-xv-path=/usr/X11/lib --enable-mmap --enable-antialiasing"
+  ./autogen.sh &&
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/video/xine-lib-vdpau/CONFLICTS b/video/xine-lib-vdpau/CONFLICTS
new file mode 100644
index 0000000..2a786f1
--- /dev/null
+++ b/video/xine-lib-vdpau/CONFLICTS
@@ -0,0 +1 @@
+conflicts xine-lib
diff --git a/video/xine-lib-vdpau/DEPENDS b/video/xine-lib-vdpau/DEPENDS
new file mode 100644
index 0000000..8c391f3
--- /dev/null
+++ b/video/xine-lib-vdpau/DEPENDS
@@ -0,0 +1,23 @@
+depends  xz
+depends  %X
+depends  %VDPAUDEVICE
+
+optional_depends  "alsa-utils" \
+                  "" \
+                  "--disable-alsa" \
+                  "for ALSA sound support"
+
+optional_depends  "aalib" \
+                  "" \
+                  "--disable-aalib" \
+                  "for ascii art library support"
+
+optional_depends  "libXvMC" \
+                  "" \
+                  "" \
+                  "for hw accelerated playback on supported cards"
+
+optional_depends  "libcaca" \
+                  "" \
+                  "--disable-caca" \
+                  "for text support"
diff --git a/video/xine-lib-vdpau/DETAILS b/video/xine-lib-vdpau/DETAILS
new file mode 100644
index 0000000..877a8f1
--- /dev/null
+++ b/video/xine-lib-vdpau/DETAILS
@@ -0,0 +1,18 @@
+          MODULE=xine-lib-vdpau
+         VERSION=281
+          SOURCE=$MODULE-$VERSION.tar.lzma
+      SOURCE_URL=$PATCH_URL
+      SOURCE_VFY=sha1:2133c8da908eb1bfd3c750a1fb94e6eddbc09833
+        WEB_SITE=http://www.jusst.de/vdpau/
+         ENTERED=20010927
+         UPDATED=20090927
+           PSAFE=no
+           SHORT="Free video player with VDPAU"
+
+cat << EOF
+xine is a free video player which plays mpeg-2 and mpeg-1 video, DVDs
+(unlocked/unencrypted only), video CDs, SVCDs, and AVI files (using
+Win32 codecs) with synchronized audio and video, and optionally
+fullscreen using the Xv extensions in Xfree86 4.x.
+This xine-lib offers VDPAU acceleration and deinterlacing.
+EOF
diff --git a/video/xine-lib-vdpau/PRE_BUILD b/video/xine-lib-vdpau/PRE_BUILD
new file mode 100644
index 0000000..ba3a8b1
--- /dev/null
+++ b/video/xine-lib-vdpau/PRE_BUILD
@@ -0,0 +1,8 @@
+(
+
+  cd $BUILD_DIRECTORY       &&
+  rm -rf $SOURCE_DIRECTORY  &&
+  tar -xJpvf $SOURCE_CACHE/$SOURCE &&
+  cd $SOURCE_DIRECTORY
+
+)
diff --git a/video/xine-lib/CONFLICTS b/video/xine-lib/CONFLICTS
new file mode 100644
index 0000000..9158e8b
--- /dev/null
+++ b/video/xine-lib/CONFLICTS
@@ -0,0 +1 @@
+conflicts xine-lib-vdpau


More information about the Lunar-commits mailing list