[Lunar-commits] r15782 - moonbase/trunk/video/MPlayer

Auke Kok sofar at lunar-linux.org
Mon Jul 18 14:52:23 UTC 2005


Author: sofar
Date: 2005-07-18 14:52:22 +0000 (Mon, 18 Jul 2005)
New Revision: 15782

Modified:
   moonbase/trunk/video/MPlayer/BUILD
   moonbase/trunk/video/MPlayer/CONFIGURE
   moonbase/trunk/video/MPlayer/DEPENDS
Log:
Mplayer fixup: use sane defaults for osd and large-file support, also add libXvMCW as optional defaults and configure flags (***NOTE*** this somehow doesn't work in lunar but the exact same options work fine on the cmdline and even inside lsh... )


Modified: moonbase/trunk/video/MPlayer/BUILD
===================================================================
--- moonbase/trunk/video/MPlayer/BUILD	2005-07-18 14:29:32 UTC (rev 15781)
+++ moonbase/trunk/video/MPlayer/BUILD	2005-07-18 14:52:22 UTC (rev 15782)
@@ -3,19 +3,15 @@
   unset CFLAGS
 
   if module_installed kernel-headers-2.6; then
-      ./configure --prefix=/usr                   \
+    OPTS="$OPTS --disable-fbdev"
+  fi
+
+  export LD_LIBRARY_PATH=/usr/X11R6/lib
+  ./configure --prefix=/usr                   \
   	          --confdir=/etc                  \
 	          --mandir=/usr/share/man         \
-	          --disable-fbdev                 \
-		  --with-codecsdir=/usr/lib/win32 \
-	          $OPTS                           ;
-    else
-      ./configure --prefix=/usr                   \
-  	          --confdir=/etc                  \
-	          --mandir=/usr/share/man         \
-		  --with-codecsdir=/usr/lib/win32 \
-	          $OPTS                           ;
-  fi  &&
+              --with-codecsdir=/usr/lib/win32 \
+	          $OPTS
 
   sedit "s/MANDIR = \${prefix}\/man/MANDIR =\/usr\/share\/man/" Makefile  &&
   # the following sedit fixes some library issues with freetype2 and xfree86

Modified: moonbase/trunk/video/MPlayer/CONFIGURE
===================================================================
--- moonbase/trunk/video/MPlayer/CONFIGURE	2005-07-18 14:29:32 UTC (rev 15781)
+++ moonbase/trunk/video/MPlayer/CONFIGURE	2005-07-18 14:52:22 UTC (rev 15782)
@@ -12,15 +12,15 @@
     OPTS=$OPTS" --enable-tdfxfb"
   fi
 
-  if query "Enable Linux devfs support? " n ; then
+  if query "Enable Linux devfs support? " y ; then
     OPTS=$OPTS" --enable-linux-devfs"
   fi
 
-  if query "Enable OSD support? " n ; then
+  if query "Enable OSD support? " y ; then
     OPTS=$OPTS" --enable-menu"
   fi
 
-  if query "Enable Large File support? " n ; then
+  if query "Enable Large File support? " y ; then
     OPTS=$OPTS" --enable-largefiles"
   fi
 

Modified: moonbase/trunk/video/MPlayer/DEPENDS
===================================================================
--- moonbase/trunk/video/MPlayer/DEPENDS	2005-07-18 14:29:32 UTC (rev 15781)
+++ moonbase/trunk/video/MPlayer/DEPENDS	2005-07-18 14:52:22 UTC (rev 15782)
@@ -46,6 +46,8 @@
                  "--disable-theora"  \
                  "For OGG/Theora Video Playback" &&
 
+optional_depends "libXvMCW" "" "--enable-xvmc --with-xvmclib=XvMCW" "For hardware Xv acceleration" &&
+
 case  $GUI  in
   y|Y|j|J)  depends  libpng          &&
             depends  gtk+            &&



More information about the Lunar-commits mailing list