[Lunar-commits] r26365 - moonbase/trunk/audio/sox

Dennis Veatch stumbles at lunar-linux.org
Thu Oct 25 14:57:09 CEST 2007


Author: stumbles
Date: 2007-10-25 14:57:08 +0200 (Thu, 25 Oct 2007)
New Revision: 26365

Added:
   moonbase/trunk/audio/sox/DEPENDS
Modified:
   moonbase/trunk/audio/sox/BUILD
   moonbase/trunk/audio/sox/DETAILS
Log:

Sox can use these optional_depends to do things like convert a WAV (MP3, 
OGG Vorbis etc.) file to AMR or vice versa. 



Modified: moonbase/trunk/audio/sox/BUILD
===================================================================
--- moonbase/trunk/audio/sox/BUILD	2007-10-25 12:52:48 UTC (rev 26364)
+++ moonbase/trunk/audio/sox/BUILD	2007-10-25 12:57:08 UTC (rev 26365)
@@ -1,7 +1,9 @@
 (
 
+  cp $SOURCE_CACHE/$SOURCE1 $SOURCE_DIRECTORY/src/amr.h &&
+
   sedit "s:ftello:ftell:g" src/vorbis.c
 
   default_build
-  
+
 ) > $C_FIFO 2>&1

Added: moonbase/trunk/audio/sox/DEPENDS
===================================================================
--- moonbase/trunk/audio/sox/DEPENDS	                        (rev 0)
+++ moonbase/trunk/audio/sox/DEPENDS	2007-10-25 12:57:08 UTC (rev 26365)
@@ -0,0 +1,2 @@
+optional_depends amrnb "--with-amr-nb" "--without-amr-nb" "for AMR narrowband support"
+optional_depends amrwb "--with-amr-wb" "--without-amr-wb" "for AMR wideband support"

Modified: moonbase/trunk/audio/sox/DETAILS
===================================================================
--- moonbase/trunk/audio/sox/DETAILS	2007-10-25 12:52:48 UTC (rev 26364)
+++ moonbase/trunk/audio/sox/DETAILS	2007-10-25 12:57:08 UTC (rev 26365)
@@ -1,13 +1,15 @@
           MODULE=sox
          VERSION=14.0.0
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE1=sox-14.0.0-amr.h
       SOURCE_URL=$SFORGE_URL/$MODULE/
+     SOURCE1_URL=$MIRROR_URL
       SOURCE_VFY=sha1:f247d48ddc12b3c2bcbc742d437022eaa53bb872
+     SOURCE1_VFY=sha1:dfb902b40f2bbe7275fa6751361b2b7848923c37
         WEB_SITE=http://sox.sourceforge.net/
          ENTERED=20010922
          UPDATED=20070911
            SHORT="Swiss Army knife of sound processing tools"
-
 cat << EOF
 SOX is the Swiss Army knife of sound processing tools. It converts
 audio files among various standard audio file formats and can apply



More information about the Lunar-commits mailing list