[Lunar-commits] <moonbase> MPlayer: Adding a patch for some libvpx presets.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sun Oct 10 13:34:22 CEST 2010


commit 0aed3165742c716ca3469ea513efae2230cb7ba6
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sun Oct 10 07:34:22 2010 -0400

    MPlayer: Adding a patch for some libvpx presets.
---
 video/MPlayer/BUILD   |    4 ++++
 video/MPlayer/DETAILS |    5 ++++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/video/MPlayer/BUILD b/video/MPlayer/BUILD
index 6e1ef5a..f293410 100644
--- a/video/MPlayer/BUILD
+++ b/video/MPlayer/BUILD
@@ -9,6 +9,10 @@
 
   cd $SOURCE_DIRECTORY  &&
 
+  if in_depends $MODULE ffmpeg ; then
+     patch_it $SOURCE_CACHE/$SOURCE7 0
+  fi &&
+
   ./configure --prefix=/usr                 \
               --mandir=/usr/share/man       \
               --codecsdir=/usr/lib/win32    \
diff --git a/video/MPlayer/DETAILS b/video/MPlayer/DETAILS
index d209a7f..90261d5 100644
--- a/video/MPlayer/DETAILS
+++ b/video/MPlayer/DETAILS
@@ -1,12 +1,12 @@
           MODULE=MPlayer
          VERSION=1.0_rc4_p20100612
           SOURCE=mplayer-$VERSION.tbz2
-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-31871-libvpx-VP8-param-mapping.diff
    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/
@@ -18,12 +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:a8d758dca9473006f66a947fb9019c35c66baa6b
      SOURCE2_VFY=sha1:152c40bf20de34aa8802d7f80d34d673b0b67212
      SOURCE3_VFY=sha1:7b99bbe0e9ba89a57eccbea8f93c453c4f268181
      SOURCE4_VFY=sha1:ccf11dce5d0fb72fd3af97f788b7471cd0cd0b68
      SOURCE5_VFY=sha1:2a3fa8cf54ec3ed4dfa1a0e72f2d207c13507b9d
      SOURCE6_VFY=sha1:45e5ee7a5541a5f1cfd2678a6c9b5911ca473cb9
+     SOURCE7_VFY=sha1:5ac6d9b4502846378f52cf1e65c2f3881a82a88e
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/mplayer-$VERSION
         WEB_SITE=http://www.mplayerhq.hu/
          ENTERED=20010922
          UPDATED=20100623


More information about the Lunar-commits mailing list