[71720] trunk/dports/multimedia/mlt/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Sep 20 22:59:10 PDT 2010


Revision: 71720
          http://trac.macports.org/changeset/71720
Author:   ryandesign at macports.org
Date:     2010-09-20 22:59:09 -0700 (Mon, 20 Sep 2010)
Log Message:
-----------
mlt: update to 0.5.10, use a distfile instead of fetching from git, fix livecheck, ensure mmx is disabled everywhere except Snow Leopard on x86_64, allow ffmpeg to satisfy dependency; see #26476

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

Modified: trunk/dports/multimedia/mlt/Portfile
===================================================================
--- trunk/dports/multimedia/mlt/Portfile	2010-09-21 05:53:43 UTC (rev 71719)
+++ trunk/dports/multimedia/mlt/Portfile	2010-09-21 05:59:09 UTC (rev 71720)
@@ -5,8 +5,7 @@
 
 name                mlt
 epoch               1
-version             0.5.6
-revision            1
+version             0.5.10
 categories          multimedia
 maintainers         dennedy.org:dan
 description         Open source multimedia framework - core libraries
@@ -20,12 +19,11 @@
                     This package contains the files necessary for running applications that use \
                     the MLT multimedia framework.
 homepage            http://www.mltframework.org
+master_sites        sourceforge
 platforms           darwin
 
-fetch.type          git
-git.url             git://mltframework.org/mlt.git
-git.branch          v${version}
-worksrcdir          mlt
+checksums           sha1    e0b3d8f77ad6d97d6495614e78dfbbb531e70f77 \
+                    rmd160  015053ddb98175adc905d2ccf29ae962f295a9bb
 
 # ffmpeg-devel is not universal
 universal_variant   no
@@ -36,7 +34,7 @@
 
 depends_lib         port:atk \
                     port:frei0r-plugins \
-                    port:ffmpeg-devel \
+                    path:lib/libavcodec.dylib:ffmpeg \
                     port:gtk2 \
                     port:libdv \
                     port:libsamplerate \
@@ -51,6 +49,12 @@
                     --disable-jackrack \
                     --disable-mmx
 
+platform darwin 10 {
+    if { ${build_arch} == "x86_64" } {
+        configure.args-delete --disable-mmx
+    }
+}
+
 configure.pkg_config_path   ${prefix}/lib/pkgconfig:${prefix}/libexec/qt4-mac/lib/pkgconfig
 configure.pkg_config        ${prefix}/bin/pkg-config
 
@@ -67,4 +71,6 @@
     depends_lib-delete      port:gtk2
 }
 
-livecheck.type     none
+livecheck.type      regex
+livecheck.url       http://sourceforge.net/projects/${name}/files/
+livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100920/cd07e79d/attachment.html>


More information about the macports-changes mailing list