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 58768 2009-10-05 01:56:38Z rmsfisher@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name gst-plugins-good |
---|
7 | version 0.10.16 |
---|
8 | revision 1 |
---|
9 | description This is gst-plugins, a set of plug-ins for GStreamer. |
---|
10 | long_description ${description} |
---|
11 | maintainers rmsfisher openmaintainer |
---|
12 | categories gnome |
---|
13 | platforms darwin |
---|
14 | homepage http://www.gnome.org/ |
---|
15 | master_sites http://gstreamer.freedesktop.org/src/${name}/ gnome:sources/gst-plugins-good/0.10/ |
---|
16 | |
---|
17 | checksums md5 f0af97464bb6e060a99df39bb21b7a42 \ |
---|
18 | sha1 655a22ea3f4f4dc0f9f200af7c85b4b725d960e7 \ |
---|
19 | rmd160 51f6dfc95932ae3a25d017257a3587e3081ad163 |
---|
20 | |
---|
21 | depends_lib \ |
---|
22 | port:gst-plugins-base \ |
---|
23 | port:aalib \ |
---|
24 | port:esound \ |
---|
25 | port:flac \ |
---|
26 | port:libcaca \ |
---|
27 | port:libcdio \ |
---|
28 | port:libdv \ |
---|
29 | port:libshout2 \ |
---|
30 | port:libsoup \ |
---|
31 | path:lib/libspeex.dylib:speex \ |
---|
32 | port:taglib \ |
---|
33 | port:wavpack |
---|
34 | |
---|
35 | use_bzip2 yes |
---|
36 | |
---|
37 | if {![variant_isset git]} { |
---|
38 | patchfiles patch-osxaudio-addinclude.diff patch-osxaudio-addbaselib.diff |
---|
39 | } |
---|
40 | |
---|
41 | configure.cmd ./autogen.sh |
---|
42 | configure.args --disable-schemas-install --with-default-videosink=ximagesink |
---|
43 | |
---|
44 | post-activate { |
---|
45 | system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \ |
---|
46 | gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas" |
---|
47 | } |
---|
48 | |
---|
49 | variant git { |
---|
50 | version git |
---|
51 | configure.cmd ./autogen.sh |
---|
52 | fetch.type git |
---|
53 | git.url git://anongit.freedesktop.org/gstreamer/gst-plugins-good |
---|
54 | patchfiles |
---|
55 | } |
---|
56 | |
---|
57 | livecheck.type regex |
---|
58 | livecheck.url http://gstreamer.freedesktop.org/src/${name}/ |
---|
59 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|
60 | |
---|
61 | platform darwin i386 { |
---|
62 | configure.args-append --build=${build_arch}-apple-darwin${os.major} |
---|
63 | } |
---|
64 | |
---|