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
Line 
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
2# $Id: Portfile 97390 2012-09-04 20:32:38Z dports@macports.org $
3
4PortSystem  1.0
5
6# https://bugzilla.gnome.org/show_bug.cgi?id=636134
7PortGroup   muniversal 1.0
8
9name                gst-plugins-good
10version             0.10.31
11revision            4
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).
20maintainers         rmstonecipher openmaintainer
21categories          gnome
22license             LGPL-2+
23platforms           darwin
24homepage            http://gstreamer.freedesktop.org/modules/${name}.html
25master_sites        http://gstreamer.freedesktop.org/src/${name}/ gnome:sources/${name}/0.10/
26
27checksums           md5     24f98a294a2b521e1b29412bdadae2e6 \
28                    sha1    b45fc01b133fc23617fa501dd9307a90f467b396 \
29                    rmd160  d9fed957ba26d055f7bccb9079bd43faae15b7e5
30
31depends_build \
32    port:pkgconfig
33depends_lib     \
34    port:gst-plugins-base \
35    port:aalib \
36    port:esound \
37    port:flac \
38    port:libgnome-keyring \
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
47     
48use_bzip2   yes
49
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
54}
55
56use_autoreconf          yes
57autoreconf.args         -fvi
58
59configure.args-append   --disable-gtk-doc --disable-schemas-install --with-default-videosink=ximagesink
60
61if {[variant_isset universal]} { 
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}
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
76# SSE register return with SSE disabled
77# <rdar://problem/9694837> - Fixed in XCode 4.2
78if {${configure.compiler} == "clang" && [vercmp ${xcodeversion} 4.2] < 0} {
79    configure.compiler llvm-gcc-4.2
80}
81
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
87livecheck.type  regex
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.