[87467] trunk/dports/multimedia/mjpegtools/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Nov 22 18:46:24 PST 2011


Revision: 87467
          http://trac.macports.org/changeset/87467
Author:   ryandesign at macports.org
Date:     2011-11-22 18:46:19 -0800 (Tue, 22 Nov 2011)
Log Message:
-----------
mjpegtools:

 * update to version 2.0.0
 * update master_sites to avoid redirects
 * remove unnecessary configure args
 * change no_x11 variant to default x11 variant
 * fix livecheck

See #32046 (maintainer timeout)

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

Modified: trunk/dports/multimedia/mjpegtools/Portfile
===================================================================
--- trunk/dports/multimedia/mjpegtools/Portfile	2011-11-22 23:55:48 UTC (rev 87466)
+++ trunk/dports/multimedia/mjpegtools/Portfile	2011-11-23 02:46:19 UTC (rev 87467)
@@ -3,8 +3,7 @@
 PortSystem 1.0
 
 name		mjpegtools
-version		1.9.0
-revision        4
+version		2.0.0
 categories	multimedia
 maintainers 	gmail.com:filippo.natali
 platforms	darwin
@@ -13,30 +12,37 @@
 			editing and MPEG compression of audio and video.
 
 homepage	http://mjpeg.sourceforge.net/
-master_sites	sourceforge:mjpeg
+master_sites	sourceforge:project/mjpeg/mjpegtools/${version}
 
-checksums       md5     309a6fcf0900a010d6a9c1e91afc2f5c \
-                sha1    1701233354c7ea86b5b7808c4dd5d03a71118e48 \
-                rmd160  79e0eb4bce468bb8f12da336e29abe8fab390a5f
+checksums       rmd160  454e23bedb2bd592912a546d0621b5c3662c3bb2 \
+                sha256  bf3541593e71602f7b440c2e7d81b433f53d0511e74642f35bea9b3feded7a97
 
 depends_build	port:pkgconfig
 
-depends_lib	port:xorg-libXxf86dga \
-                port:gtk2 \
+depends_lib     port:gtk2 \
                 port:libsdl_gfx \
                 port:libpng \
                 port:jpeg \
                 port:libdv \
                 port:libquicktime
 
-patchfiles	jpeg-7.patch
+configure.args  --enable-simd-accel \
+                --disable-sdltest \
+                --without-x
 
-configure.args  --mandir=${prefix}/share/man --infodir=${prefix}/share/info --enable-simd-accel --disable-sdltest --with-x
 
-variant no_x11 {
-         depends_lib-delete port:xorg-libXxf86dga
-         configure.args-delete --with-x
-         configure.args-append --without-x
+variant x11 conflicts no_x11 {
+    configure.args-delete --without-x
+    configure.args-append --with-x
+    depends_lib-append port:xorg-libXxf86dga
 }
 
-livecheck.regex "<title>${name} (\\d+(?:\\.\\d+)*) released.*</title>"
+variant no_x11 conflicts x11 description {Legacy compatibility variant} {}
+
+if {[variant_isset no_x11]} {
+    default_variants -x11
+} else {
+    default_variants +x11
+}
+
+livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111122/fb4c3502/attachment.html>


More information about the macports-changes mailing list