[47681] trunk/dports/multimedia/transcode/Portfile

devans at macports.org devans at macports.org
Tue Mar 3 10:58:44 PST 2009


Revision: 47681
          http://trac.macports.org/changeset/47681
Author:   devans at macports.org
Date:     2009-03-03 10:58:43 -0800 (Tue, 03 Mar 2009)
Log Message:
-----------
transcode: general port cleanup.  See #18737 for details.

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

Modified: trunk/dports/multimedia/transcode/Portfile
===================================================================
--- trunk/dports/multimedia/transcode/Portfile	2009-03-03 18:52:16 UTC (rev 47680)
+++ trunk/dports/multimedia/transcode/Portfile	2009-03-03 18:58:43 UTC (rev 47681)
@@ -5,6 +5,7 @@
 
 name        transcode
 version     1.1.0
+revision    1
 epoch       1
 categories  multimedia
 maintainers cogweb.net:lionteeth devans
@@ -27,7 +28,9 @@
 
 homepage        http://www.transcoding.org
 
-master_sites    http://fromani.exit1.org/
+master_sites    http://download.berlios.de/tcforge/ \
+                http://download2.berlios.de/tcforge/
+
 use_bzip2       yes
 
 checksums       md5     5ca205e32b546402a48ea8004a7b3232 \
@@ -36,24 +39,18 @@
 
 depends_build   port:pkgconfig
 
-depends_lib     port:automake \
-                port:autoconf \
-                port:libtool \
+depends_lib     port:xorg-libXv \
+                port:xorg-libXaw \
+                port:xpm \
                 path:lib/libavcodec.dylib:ffmpeg \
                 port:libmpeg2 \
                 port:libdvdread \
                 port:jpeg \
                 port:lame
 
-pre-configure       {
-            system "cd ${worksrcpath} && \
-                    LIBTOOLIZE=glibtoolize autoreconf -i -f"
-            }
-
 platforms       darwin
 
 configure.args  --disable-mmx \
-                --disable-altivec \
                 --with-libavcodec-prefix=${prefix} \
                 --with-libmpeg2-prefix=${prefix} \
                 --with-libdvdread-prefix=${prefix} \
@@ -67,9 +64,16 @@
 
 # Optional components
 
+variant mmx description {enable mmx optimizations} {
+     configure.args-delete --disable-mmx
+}
+
+variant full requires a52dec faac freetype imagemagick libdv libogg libpostproc libquicktime libtheora libvorbis libxml2 lzo mjpegtools x264 xvid description {enable all optional components} {
+}
+
 variant a52dec description {enable support for decoding ATSC A/52 streams} {
     depends_lib-append port:a52dec
-    configure.args-append --enable-a52 --enable-a52-default-decoder --with-a52-prefix=${prefix}
+    configure.args-append --enable-a52 --with-a52-prefix=${prefix}
 }
 
 variant faac description {enable AAC encoding support via libfaac} {
@@ -77,11 +81,6 @@
     configure.args-append --enable-faac --with-faac-prefix=${prefix}
 }
 
-variant faad description {enable AAC decoding support via libfaad2} {
-    depends_lib-append port:faad2
-    configure.args-append --enable-faad --with-faad-prefix=${prefix}
-}
-
 variant freetype description {enable support for the FreeType font engine} {
     depends_lib-append port:freetype
     configure.args-append --enable-freetype2 --with-freetype2-prefix=${prefix}
@@ -102,16 +101,15 @@
     configure.args-append --enable-ogg --with-ogg-prefix=${prefix}
 }
 
+variant libpostproc description {enable libpostproc support from ffmpeg} {
+    configure.args-append --enable-libpostproc --with-libpostproc-prefix=${prefix}
+}
+
 variant libquicktime description {enable support for QuickTime video} {
     depends_lib-append port:libquicktime
     configure.args-append --enable-libquicktime --with-libquicktime-prefix=${prefix}
 }
 
-variant libsdl description {enable support for the Simple DirectMedia Layer} {
-    depends_lib-append port:libsdl
-    configure.args-append --enable-sdl --with-sdl-prefix=${prefix}
-}
-
 variant libtheora description {enable support for the open video codec theora} {
     depends_lib-append port:libtheora
     configure.args-append --enable-theora --with-theora-prefix=${prefix}
@@ -132,6 +130,11 @@
     configure.args-append --enable-lzo --with-lzo-prefix=${prefix}
 }
 
+variant mjpegtools description {enable mjpegtools support} {
+    depends_lib-append port:mjpegtools
+    configure.args-append --enable-mjpegtools --with-mjpegtools-prefix=${prefix}
+}
+
 variant x264 description {enable support for encoding H264/AVC video} {
     depends_lib-append port:x264
     configure.args-append --enable-x264 --with-x264-prefix=${prefix}
@@ -141,3 +144,31 @@
     depends_lib-append port:XviD
     configure.args-append --enable-xvid --with-xvid-prefix=${prefix}
 }
+
+variant experimental description {enable new, experimental or even incomplete components} {
+    configure.args-append --enable-experimental
+}
+
+variant deprecated description {enable deprecated or even broken components} {
+    configure.args-append --enable-deprecated
+}
+
+#
+# Display options
+#
+
+variant libsdl description {enable Simple DirectMedia Layer display support} {
+    depends_lib-append port:libsdl
+    configure.args-append --enable-sdl --with-sdl-prefix=${prefix}
+}
+
+variant no_x11 {
+    depends_lib-delete port:xorg-libXv
+    depends_lib-delete port:xorg-libXaw
+    depends_lib-delete port:xpm
+    configure.args-append --without-x
+}
+
+livecheck.check regex
+livecheck.url   http://download.berlios.de/tcforge/
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090303/cc775d0b/attachment.html>


More information about the macports-changes mailing list