# -*- 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 # $Id$ PortSystem 1.0 # https://bugzilla.gnome.org/show_bug.cgi?id=636134 PortGroup muniversal 1.0 name gst-plugins-good version 0.10.31 revision 1 description \ A set of good-quality plug-ins for GStreamer under GStreamer's preferred \ license, LGPL. long_description \ GStreamer Good Plug-ins is a set of plug-ins that GStreamer's developers \ consider to have good quality code, correct functionality, and their \ preferred license (LGPL for the plug-in code, LGPL or LGPL-compatible for \ the supporting library). maintainers rmstonecipher openmaintainer categories gnome license LGPL-2+ platforms darwin homepage http://gstreamer.freedesktop.org/modules/${name}.html master_sites http://gstreamer.freedesktop.org/src/${name}/ gnome:sources/${name}/0.10/ checksums md5 24f98a294a2b521e1b29412bdadae2e6 \ sha1 b45fc01b133fc23617fa501dd9307a90f467b396 \ rmd160 d9fed957ba26d055f7bccb9079bd43faae15b7e5 depends_build \ port:pkgconfig depends_lib \ port:gst-plugins-base \ port:aalib \ port:esound \ port:flac \ port:libgnome-keyring \ port:libcaca \ port:libcdio \ port:libdv \ port:libshout2 \ port:libsoup \ path:lib/libspeex.dylib:speex \ port:taglib \ port:wavpack use_bzip2 yes pre-configure { reinplace "s|OBJC = gcc|OBJC = @OBJC@|" ${worksrcpath}/sys/osxvideo/Makefile.in reinplace "s|-DGST_DISABLE_DEPRECATED||" ${worksrcpath}/configure } use_autoreconf yes autoreconf.args -fvi configure.args-append --disable-gtk-doc --disable-schemas-install --with-default-videosink=ximagesink if {[variant_isset universal]} { set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} set merger_host(i386) i686-apple-${os.platform}${os.major} set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major} set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major} } elseif {${build_arch} == "i386"} { configure.args-append \ --host=i686-apple-${os.platform}${os.major} \ --build=i686-apple-${os.platform}${os.major} } elseif {${build_arch} == "x86_64"} { configure.args-append \ --host=${build_arch}-apple-${os.platform}${os.major} \ --build=${build_arch}-apple-${os.platform}${os.major} } # SSE register return with SSE disabled # - Fixed in XCode 4.2 if {${configure.compiler} == "clang" && [vercmp ${xcodeversion} 4.2] < 0} { configure.compiler llvm-gcc-4.2 } post-activate { system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" } livecheck.type regex livecheck.url http://gstreamer.freedesktop.org/src/${name}/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"