# -*- 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: Portfile 60726 2009-11-21 01:42:03Z rmsfisher@macports.org $ PortSystem 1.0 name gst-plugins-bad version 0.10.14 revision 1 description This is gst-plugins, a set of plug-ins for GStreamer. long_description ${description} license GPL LGPL maintainers nomaintainer categories gnome platforms darwin homepage http://www.gnome.org/ master_sites http://gstreamer.freedesktop.org/src/${name}/ use_bzip2 yes checksums md5 6be38b04fc76cdfef3a3b02b8434efa2 \ sha1 a09af51b3c06d10d86b29de48fbe57768525f977 \ rmd160 51c7804f3d913b00f3ab87d814ae1188e3915803 depends_lib port:gst-plugins-base \ port:gtk2 \ port:XviD \ port:dirac \ port:exempi \ port:faac \ port:faad2 \ port:jack \ port:jasper \ port:libdca \ port:libexif \ port:libglade2 \ port:libmms \ port:libmodplug \ port:libmpcdec \ port:liboil \ port:libsndfile \ port:soundtouch \ port:neon \ port:schroedinger # # could depend on tons for multimedia stuff +variants # the following ports are available but don't configure # and/or build correctly # # port:mjpegtools (mpeg2enc mplex build fails) # port:libmusicbrainz (configure wants pkg-config libmusicbrainz, we have libmusicbrainz3) # path:lib/pkgconfig/sdl.pc:libsdl (builds but sdlvideosink is broken) # port:slv2 (builds but plugin fails to load)) # port:swfdec (configure wants pkg-config swfdec-0.3, we have swfdec-0.8) # configure.compiler gcc-4.0 configure.args --disable-dc1394 \ --disable-quicktime \ --disable-lv2 \ --disable-mpeg2enc \ --disable-mplex \ --disable-musicbrainz \ --disable-sdl \ --disable-swfdec \ --enable-experimental \ --enable-static configure.cppflags-append "-L${prefix}/lib" configure.cflags-append "-no-cpp-precomp -funroll-loops -fstrict-aliasing" configure.env-append "HAVE_CXX=yes" patchfiles modplug.patch post-patch { reinplace "s|-flat_namespace -undefined suppress|-undefined define_a_way|g" \ ${worksrcpath}/configure reinplace "s|libSoundTouch|soundtouch-1.0|g" \ ${worksrcpath}/configure } universal_variant no variant dc1394 description {Enable Firewire digital camera support using libdc1394} { configure.args-delete --disable-dc1394 depends_lib-append port:libdc1394 } variant no_x11 { configure.args-append --disable-examples } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"