[Lunar-commits] <moonbase> ffmpeg: Use daily snapshots provided by the ffmpeg developers.

Moritz Heiber moe at lunar-linux.org
Fri Mar 13 16:02:24 CET 2009


commit 1f056291de806c6f34856dee6125889269436a28
Author: Moritz Heiber <moe at lunar-linux.org>
Date:   Sun Apr 20 16:56:13 2008 +0200

    ffmpeg: Use daily snapshots provided by the ffmpeg developers.
    
    Note: They themselves are urging anyone to take either their snapshots
    or the svn version. Since I don't think installing subversion should be
    needed to compile ffmpeg I'm going with the snapshots.
    
    The module updates once a month .. much like madwifi-svn.
---
 video/ffmpeg/BUILD   |   11 +++--------
 video/ffmpeg/DEPENDS |    8 +++++---
 video/ffmpeg/DETAILS |   11 +++++------
 3 files changed, 13 insertions(+), 17 deletions(-)

diff --git a/video/ffmpeg/BUILD b/video/ffmpeg/BUILD
index 5a82b51..7b190b1 100644
--- a/video/ffmpeg/BUILD
+++ b/video/ffmpeg/BUILD
@@ -1,13 +1,8 @@
 (
 
-# configure needs to be this way. The build will tank if we try
-# to use default_build.
-  ./configure --prefix=/usr      \
-              --enable-gpl       \
-              --enable-shared    \
-              --enable-pp        \
-              --enable-pthreads  \
-              $OPTS             &&
+  OPTS+=" --enable-gpl --enable-nonfree --enable-shared --enable-pthreads"
+
+  ./configure --prefix=/usr $OPTS &&              
 
   default_make
 
diff --git a/video/ffmpeg/DEPENDS b/video/ffmpeg/DEPENDS
index 1e513ad..2f98654 100644
--- a/video/ffmpeg/DEPENDS
+++ b/video/ffmpeg/DEPENDS
@@ -3,11 +3,13 @@ optional_depends libtheora  "--enable-libtheora"  ""  "for theora support"
 optional_depends faad       "--enable-libfaad"    ""  "for faad support"
 optional_depends faac       "--enable-libfaac"    ""  "for faac support"
 optional_depends lame       "--enable-libmp3lame" ""  "for mp3 support"
-optional_depends a52dec     "--enable-liba52"     ""  "for a52 support"
+
+optional_depends a52dec     "--enable-liba52 --enable-liba52bin" \
+                            "" \
+                            "for a52 support"
+
 optional_depends xvidcore   "--enable-libxvid"    ""  "for xvid support"
-optional_depends libogg     "--enable-libogg"     ""  "for ogg support"
 optional_depends libdc1394  "--enable-libdc1394"  ""  "for firewire support"
 optional_depends x264-git   "--enable-libx264"    ""  "for H264 support"
 optional_depends amrwb      "--enable-libamr-wb"  ""  "for AMR Wideband speech"
 optional_depends amrnb      "--enable-libamr-nb"  ""  "for AMR narrowband speech"
-#optional_depends gsmlib    "--enable-libgsm"     ""  "for gsm support"
diff --git a/video/ffmpeg/DETAILS b/video/ffmpeg/DETAILS
index d7defaf..576e738 100644
--- a/video/ffmpeg/DETAILS
+++ b/video/ffmpeg/DETAILS
@@ -1,12 +1,11 @@
           MODULE=ffmpeg
-         VERSION=2007-11-01
-          SOURCE=$MODULE-$VERSION.tar.bz2
-      SOURCE_URL=$MIRROR_URL
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-beta
-      SOURCE_VFY=sha1:230b9ba5b2d204922d5380c45367b0e832f531ef
+         VERSION=`date +%F`
+          SOURCE=${MODULE}-export-snapshot.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/${MODULE}-export-${VERSION}
+      SOURCE_URL=http://ffmpeg.mplayerhq.hu/
         WEB_SITE=http://ffmpeg.sourceforge.net/
          ENTERED=20020327
-         UPDATED=20071101
+         UPDATED=`date -u +%Y%m01`
       MAINTAINER=stumbles at lunar-linux.org
            SHORT="ffmpeg is an avi decoder"
 


More information about the Lunar-commits mailing list