[Lunar-commits] <moonbase> MPlayer: audio sync & CPU usage patch

Paul Bredbury brebs at lunar-linux.org
Sat Sep 26 06:50:02 CEST 2009


commit 43ff552818068283b156942b7c22f9a732a1bf03
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Sat Sep 26 11:50:02 2009 +0700

    MPlayer: audio sync & CPU usage patch
---
 video/MPlayer/BUILD   |    4 ++++
 video/MPlayer/DETAILS |   19 +++++++++----------
 2 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/video/MPlayer/BUILD b/video/MPlayer/BUILD
index 6d96689..73151cd 100644
--- a/video/MPlayer/BUILD
+++ b/video/MPlayer/BUILD
@@ -3,6 +3,10 @@
   # 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  &&
 
diff --git a/video/MPlayer/DETAILS b/video/MPlayer/DETAILS
index b05154f..5c4c787 100644
--- a/video/MPlayer/DETAILS
+++ b/video/MPlayer/DETAILS
@@ -7,30 +7,29 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/mplayer-$VERSION
          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/
    SOURCE_URL[3]=http://mirror.ovh.net/gentoo-distfiles/distfiles/
    SOURCE_URL[4]=http://distfiles.gentoo.bg/distfiles/
    SOURCE_URL[5]=http://gentoo.in.th/distfiles/
-  SOURCE2_URL[0]=ftp://ftp1.mplayerhq.hu/$MODULE/releases/fonts/
-  SOURCE2_URL[1]=ftp://ftp2.mplayerhq.hu/$MODULE/releases/fonts/
-  SOURCE3_URL[0]=ftp://ftp1.mplayerhq.hu/$MODULE/releases/fonts/
-  SOURCE3_URL[1]=ftp://ftp2.mplayerhq.hu/$MODULE/releases/fonts/
-  SOURCE4_URL[0]=ftp://ftp1.mplayerhq.hu/$MODULE/releases/fonts/
-  SOURCE4_URL[1]=ftp://ftp2.mplayerhq.hu/$MODULE/releases/fonts/
-  SOURCE5_URL[0]=ftp://ftp1.mplayerhq.hu/$MODULE/releases/fonts/
-  SOURCE5_URL[1]=ftp://ftp2.mplayerhq.hu/$MODULE/releases/fonts/
-  SOURCE6_URL[0]=ftp://ftp1.mplayerhq.hu/MPlayer/skins/
+     SOURCE2_URL=ftp://ftp1.mplayerhq.hu/$MODULE/releases/fonts/
+     SOURCE3_URL=ftp://ftp1.mplayerhq.hu/$MODULE/releases/fonts/
+     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:cc67e513faa2cc7c0aa6f55b0e918eee8bacc287
      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=20090919
+         UPDATED=20090924
            SHORT="A movie and animation player"
 
 cat << EOF


More information about the Lunar-commits mailing list