source: trunk/dports/gnome/gst-plugins-good/Portfile @ 97390

Last change on this file since 97390 was 97390, checked in by dports@…, 8 years ago

revbumps for many ports that depend indirectly against libpng and link
against it

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.2 KB
RevLine 
[41736]1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
[20303]2# $Id: Portfile 97390 2012-09-04 20:32:38Z dports@macports.org $
[33420]3
[63749]4PortSystem  1.0
[91948]5
6# https://bugzilla.gnome.org/show_bug.cgi?id=636134
[91757]7PortGroup   muniversal 1.0
[33420]8
[63749]9name                gst-plugins-good
[90197]10version             0.10.31
[97390]11revision            4
[65584]12description         \
13    A set of good-quality plug-ins for GStreamer under GStreamer's preferred \
14    license, LGPL.
15long_description    \
16    GStreamer Good Plug-ins is a set of plug-ins that GStreamer's developers \
17    consider to have good quality code, correct functionality, and their \
18    preferred license (LGPL for the plug-in code, LGPL or LGPL-compatible for \
19    the supporting library).
[71406]20maintainers         rmstonecipher openmaintainer
[63749]21categories          gnome
[85745]22license             LGPL-2+
[63749]23platforms           darwin
[65584]24homepage            http://gstreamer.freedesktop.org/modules/${name}.html
25master_sites        http://gstreamer.freedesktop.org/src/${name}/ gnome:sources/${name}/0.10/
[41889]26
[90197]27checksums           md5     24f98a294a2b521e1b29412bdadae2e6 \
28                    sha1    b45fc01b133fc23617fa501dd9307a90f467b396 \
29                    rmd160  d9fed957ba26d055f7bccb9079bd43faae15b7e5
[41889]30
[81966]31depends_build \
32    port:pkgconfig
[26642]33depends_lib     \
[63749]34    port:gst-plugins-base \
35    port:aalib \
36    port:esound \
37    port:flac \
[70519]38    port:libgnome-keyring \
[63749]39    port:libcaca \
40    port:libcdio \
41    port:libdv \
42    port:libshout2 \
43    port:libsoup \
44    path:lib/libspeex.dylib:speex \
45    port:taglib \
46    port:wavpack
[51223]47     
[63749]48use_bzip2   yes
[54155]49
[96155]50post-patch {
51    # gst/goom is the only thing using this, and its mmx code is buggy (as of 0.10.31)
52    reinplace "s|-DBUILD_MMX|-UBUILD_MMX|" ${worksrcpath}/gst/goom/Makefile.am
53    reinplace "/^MMX_FILES/s|=.*|=|"       ${worksrcpath}/gst/goom/Makefile.am
[33420]54}
[41736]55
[73967]56use_autoreconf          yes
57autoreconf.args         -fvi
58
[71405]59configure.args-append   --disable-gtk-doc --disable-schemas-install --with-default-videosink=ximagesink
[56641]60
[91948]61if {[variant_isset universal]} { 
[92008]62    set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
63    set merger_host(i386) i686-apple-${os.platform}${os.major}
64    set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major}
65    set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major}
66} elseif {${build_arch} == "i386"} {
67    configure.args-append \
68        --host=i686-apple-${os.platform}${os.major} \
69        --build=i686-apple-${os.platform}${os.major}
[91948]70} elseif {${build_arch} == "x86_64"} {
71    configure.args-append \
72        --host=${build_arch}-apple-${os.platform}${os.major} \
73        --build=${build_arch}-apple-${os.platform}${os.major}
74}
75
[80066]76# SSE register return with SSE disabled
[91364]77# <rdar://problem/9694837> - Fixed in XCode 4.2
78if {${configure.compiler} == "clang" && [vercmp ${xcodeversion} 4.2] < 0} {
[80066]79    configure.compiler llvm-gcc-4.2
80}
81
[51223]82post-activate {
83        system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
84             gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
85}
86
[57375]87livecheck.type  regex
[41736]88livecheck.url   http://gstreamer.freedesktop.org/src/${name}/
89livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.