[135076] trunk/dports/devel/libextractor/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Apr 15 02:48:57 PDT 2015


Revision: 135076
          https://trac.macports.org/changeset/135076
Author:   ryandesign at macports.org
Date:     2015-04-15 02:48:57 -0700 (Wed, 15 Apr 2015)
Log Message:
-----------
libextractor: update to 1.3, fixing build failure on Yosemite (#47439); fix livecheck; take over as maintainer; remove variants and always enable all functionality

Modified Paths:
--------------
    trunk/dports/devel/libextractor/Portfile

Modified: trunk/dports/devel/libextractor/Portfile
===================================================================
--- trunk/dports/devel/libextractor/Portfile	2015-04-15 07:20:07 UTC (rev 135075)
+++ trunk/dports/devel/libextractor/Portfile	2015-04-15 09:48:57 UTC (rev 135076)
@@ -4,11 +4,13 @@
 PortSystem          1.0
 
 name                libextractor
-version             0.6.2
+version             1.3
 categories          devel
-license             GPL-2+
-maintainers         nomaintainer
+license             GPL-3+
+maintainers         ryandesign openmaintainer
+
 description         A library for extraction af meta-data.
+
 long_description \
    libextractor is a library used to extract meta-data from files of \
    arbitrary type. It is designed to use helper-libraries to perform the \
@@ -16,42 +18,46 @@
    external extractors for additional file types.
 
 homepage            http://gnunet.org/libextractor/
-master_sites        http://gnunet.org/libextractor/download/ gnu
+master_sites        gnu
 platforms           darwin
 
-checksums           sha1    fd4fb6a1f24353be9cf7fd04b56b85f2680efe11 \
-                    rmd160  ff53d8b889651e730f28344900414f1971aca468
+checksums           rmd160  b51a1a27c6a6de74fca0630b164017ca114a5af8 \
+                    sha256  868ad64c9a056d6b923d451d746935bffb1ddf5d89c3eb4f67d786001a3f7b7f
 
-depends_lib         port:bzip2 port:zlib port:gettext port:libiconv \
+depends_build       port:pkgconfig
+
+depends_lib         port:bzip2 \
+                    port:exiv2 \
+                    path:lib/libavcodec.dylib:ffmpeg \
+                    port:flac \
+                    port:gettext \
+                    port:giflib \
+                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                    port:gtk2 \
+                    port:gstreamer1 \
+                    port:gstreamer1-gst-plugins-base \
+                    port:jpeg \
+                    port:libarchive \
+                    port:libgsf \
+                    port:libiconv \
+                    port:libmagic \
+                    port:libmpeg2 \
+                    port:libogg \
                     port:libtool \
-                    path:lib/pkgconfig/glib-2.0.pc:glib2
+                    port:libvorbis \
+                    port:mp4v2 \
+                    port:tidy \
+                    port:tiff \
+                    port:zlib
 
-configure.args      --mandir=${prefix}/share/man \
+configure.args      --enable-ffmpeg \
+                    --enable-glib \
+                    --enable-gsf \
+                    --with-gstreamer \
                     --with-libiconv-prefix=${prefix} \
                     --with-libintl-prefix=${prefix} \
-                    --disable-xpdf \
-                    --disable-gsf \
-                    --disable-gnome
+                    --with-ltdl=${prefix}
 
-use_parallel_build  no
-
-# These variants are auto-detected by configure so no need to add
-# args; of course, that means that they'll be used when the port is
-# installed but the variant isn't selected...
-
-variant vorbis description {Include support for Ogg/Vorbis} {
-   depends_lib-append   port:libvorbis
-}
-
-variant flac description {Include support for FLAC} {
-   depends_lib-append   port:flac
-}
-
-variant mpeg2 description {Include support for MPEG2} {
-   depends_lib-append   port:libmpeg2
-}
-
 livecheck.type      regex
-livecheck.url       http://ftp.gnu.org/gnu/${name}/?C=M&O=D
-livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)
-
+livecheck.url       http://ftp.gnu.org/gnu/${name}/
+livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150415/7012d121/attachment-0001.html>


More information about the macports-changes mailing list