[Lunar-commits] <moonbase> MPlayer: updated to 1.0_rc4_p20100427 Improved build Added radio support for PC radios little tweaks

Zbigniew Luszpinski zbiggy at lunar-linux.org
Mon May 3 21:49:03 CEST 2010


commit a8bf0aac50b351d90ff48339f7d338cfcbc0b92a
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Mon May 3 21:49:03 2010 +0200

    MPlayer: updated to 1.0_rc4_p20100427
    Improved build
    Added radio support for PC radios
    little tweaks
---
 video/MPlayer/BUILD     |    9 ++++-----
 video/MPlayer/CONFIGURE |    1 +
 video/MPlayer/DETAILS   |   11 ++++-------
 3 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/video/MPlayer/BUILD b/video/MPlayer/BUILD
index 73151cd..6e1ef5a 100644
--- a/video/MPlayer/BUILD
+++ b/video/MPlayer/BUILD
@@ -1,25 +1,24 @@
 (
 
+  sedit '1s@/usr/bin/awk@/bin/awk@' vidix/pci_db2c.awk &&
   # Remove subversion directories
   find -name "\.svn" -type d -print0 | xargs -0 rm -rf
 
-  # ALSA audio sync & CPU usage patch
-  # From http://forums.gentoo.org/viewtopic-t-793795.html
-  patch_it $SOURCE_CACHE/$SOURCE7 0  &&
-
   # using CFLAGS other than MPlayer's auto-detected will break
   bad_flags compiler  &&
 
   cd $SOURCE_DIRECTORY  &&
 
   ./configure --prefix=/usr                 \
-              --confdir=/etc                \
               --mandir=/usr/share/man       \
               --codecsdir=/usr/lib/win32    \
               --confdir=/etc/mplayer        \
               --datadir=/usr/share/mplayer  \
+              --enable-dynamic-plugins      \
               $OPTS  &&
 
+  sedit 's/-mtune=native//' config.mak &&
+
   default_make  &&
 
   gather_docs etc/*                   &&
diff --git a/video/MPlayer/CONFIGURE b/video/MPlayer/CONFIGURE
index fb4fcdd..82b63c7 100644
--- a/video/MPlayer/CONFIGURE
+++ b/video/MPlayer/CONFIGURE
@@ -1,2 +1,3 @@
 mquery MENCODER "Enable building of MEncoder?" y "" "--disable-mencoder"
 mquery OSD      "Enable OSD support?"          y "--enable-menu" "--disable-menu"
+mquery RADIO    "Enable Radio support? (If you have any PC tuner)" n "--enable-radio --enable-radio-capture" ""
diff --git a/video/MPlayer/DETAILS b/video/MPlayer/DETAILS
index a167207..2bb51a3 100644
--- a/video/MPlayer/DETAILS
+++ b/video/MPlayer/DETAILS
@@ -1,13 +1,12 @@
           MODULE=MPlayer
-         VERSION=1.0_rc4_p20091124
-          SOURCE=mplayer-$VERSION.tbz2
+         VERSION=1.0_rc4_p20100427
+          SOURCE=mplayer-$VERSION.tar.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/mplayer-$VERSION
          SOURCE2=font-arial-iso-8859-1.tar.bz2
          SOURCE3=font-arial-iso-8859-2.tar.bz2
          SOURCE4=font-arial-cp1250.tar.bz2
          SOURCE5=font-arial-iso-8859-7.tar.bz2
          SOURCE6=Blue-1.7.tar.bz2
-         SOURCE7=mplayer-1.0_rc4-alsa-fix.patch.bz2
    SOURCE_URL[0]=http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/distfiles/
    SOURCE_URL[1]=http://mirror.its.uidaho.edu/pub/gentoo/distfiles/
    SOURCE_URL[2]=http://de-mirror.org/distro/gentoo/distfiles/
@@ -19,17 +18,15 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/mplayer-$VERSION
      SOURCE4_URL=ftp://ftp1.mplayerhq.hu/$MODULE/releases/fonts/
      SOURCE5_URL=ftp://ftp1.mplayerhq.hu/$MODULE/releases/fonts/
      SOURCE6_URL=ftp://ftp1.mplayerhq.hu/MPlayer/skins/
-     SOURCE7_URL=$PATCH_URL
-      SOURCE_VFY=sha1:ddcc45d56a3688094544cdae37f5f120d0410314
+      SOURCE_VFY=sha1:e6a8999652b9c60ed8dd209f5aae4c4ae9a0083f
      SOURCE2_VFY=sha1:152c40bf20de34aa8802d7f80d34d673b0b67212
      SOURCE3_VFY=sha1:7b99bbe0e9ba89a57eccbea8f93c453c4f268181
      SOURCE4_VFY=sha1:ccf11dce5d0fb72fd3af97f788b7471cd0cd0b68
      SOURCE5_VFY=sha1:2a3fa8cf54ec3ed4dfa1a0e72f2d207c13507b9d
      SOURCE6_VFY=sha1:45e5ee7a5541a5f1cfd2678a6c9b5911ca473cb9
-     SOURCE7_VFY=sha1:af28ecc7d1816b6b299433e062461a0a74c298a4
         WEB_SITE=http://www.mplayerhq.hu/
          ENTERED=20010922
-         UPDATED=20100128
+         UPDATED=20100503
            SHORT="A movie and animation player"
 
 cat << EOF


More information about the Lunar-commits mailing list