[24827] trunk/dports/multimedia/ffmpeg/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat May 5 16:06:57 PDT 2007


Revision: 24827
          http://trac.macosforge.org/projects/macports/changeset/24827
Author:   sfiera at macports.org
Date:     2007-05-05 16:06:57 -0700 (Sat, 05 May 2007)

Log Message:
-----------
* New maintainer bytestorm at gmail.com
* Resolves #11849; uses correct configure arguments
* New gpl and postproc variants

Modified Paths:
--------------
    trunk/dports/multimedia/ffmpeg/Portfile

Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile	2007-05-05 22:23:17 UTC (rev 24826)
+++ trunk/dports/multimedia/ffmpeg/Portfile	2007-05-05 23:06:57 UTC (rev 24827)
@@ -3,8 +3,9 @@
 PortSystem 1.0
 name		ffmpeg
 version		0.4.9-pre1
+revision	1
 categories	multimedia
-maintainers	nomaintainer at macports.org
+maintainers	bytestorm at gmail.com openmaintainer at macports.org
 description	Digital VCR and streaming server
 long_description	FFmpeg is a complete solution to record, convert and \
 			stream audio and video. It includes libavcodec, the \
@@ -42,7 +43,7 @@
 configure.cflags-append	-DHAVE_LRINTF ${configure.cppflags}
 configure.args	--prefix=${prefix} --disable-vhook \
 		--mandir=${prefix}/share/man \
-		--enable-gpl --enable-shared --enable-pthreads --enable-pp
+		--enable-shared --enable-pthreads
 
 post-destroot {
 	file mkdir ${destroot}/${prefix}/share/doc/${name}
@@ -52,6 +53,14 @@
 	}
 }
 
+variant gpl {
+	configure.args-append --enable-gpl
+}
+
+variant postproc requires gpl {
+	configure.args-append --enable-pp
+}
+
 # Adds MP3 support
 variant lame {
 	depends_lib-append port:lame
@@ -63,22 +72,22 @@
 	configure.args-append --enable-libogg
 }
 
-variant vorbis {
+variant vorbis requires libogg {
 	depends_lib-append port:libvorbis
 	configure.args-append --enable-libvorbis
 }
 
-variant theora {
+variant theora requires libogg {
 	depends_lib-append port:libtheora
 	configure.args-append --enable-libtheora
 }
 
-variant faac {
+variant faac requires gpl {
 	depends_lib-append port:faac
 	configure.args-append --enable-libfaac
 }
 
-variant faad {
+variant faad requires gpl {
 	depends_lib-append port:faad2
 	configure.args-append --enable-libfaad
 }
@@ -88,7 +97,7 @@
 	configure.args-append --enable-xvid
 }
 
-variant x264 {
+variant x264 requires gpl {
 	depends_lib-append port:x264
 	configure.args-append --enable-x264
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070505/7d4934dd/attachment.html


More information about the macports-changes mailing list