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 58908 2009-10-07 02:56:10Z devans@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name gst-plugins-base |
---|
7 | version 0.10.25 |
---|
8 | description This is gst-plugins, a set of plug-ins for GStreamer. |
---|
9 | long_description ${description} |
---|
10 | maintainers rmsfisher openmaintainer |
---|
11 | categories gnome |
---|
12 | platforms darwin |
---|
13 | homepage http://gstreamer.freedesktop.org/ |
---|
14 | |
---|
15 | # port:liboil is not universal |
---|
16 | universal_variant no |
---|
17 | |
---|
18 | use_bzip2 yes |
---|
19 | master_sites gnome:sources/gst-plugins-base/0.10/ http://gstreamer.freedesktop.org/src/${name}/ |
---|
20 | |
---|
21 | checksums md5 d29669dd79276c5cd94e1613c03cd9ab \ |
---|
22 | sha1 6057e6552c936f3dbe9ba01269bc0bcf8469ae0a \ |
---|
23 | rmd160 4d57f4c6e42a4bf006c1dff9d69c0bbc9bcde483 |
---|
24 | |
---|
25 | depends_lib \ |
---|
26 | port:gstreamer \ |
---|
27 | port:gnome-vfs \ |
---|
28 | port:liboil \ |
---|
29 | port:libogg \ |
---|
30 | port:libtheora \ |
---|
31 | port:libvorbis |
---|
32 | |
---|
33 | configure.args \ |
---|
34 | --enable-experimental \ |
---|
35 | --disable-libvisual\ |
---|
36 | --disable-gst_v4l \ |
---|
37 | --disable-alsa \ |
---|
38 | --disable-cdparanoia |
---|
39 | |
---|
40 | variant no_x11 { |
---|
41 | configure.args-append --without-x --disable-x --disable-xvideo --disable-xshm |
---|
42 | } |
---|
43 | |
---|
44 | # |
---|
45 | # current cdparanoia port (cdparanoia III 10.2) appears to not be API compatible |
---|
46 | # with gst-plugins-base. See #19843. |
---|
47 | # disable by default until this is rectified. |
---|
48 | # |
---|
49 | |
---|
50 | variant cdparanoia description {Enable (currently broken) cdparanoia plugin} { |
---|
51 | depends_lib-append port:cdparanoia |
---|
52 | configure.args-delete --disable-cdparanoia |
---|
53 | } |
---|
54 | |
---|
55 | variant git { |
---|
56 | version git |
---|
57 | configure.cmd ./autogen.sh |
---|
58 | fetch.type git |
---|
59 | git.url git://anongit.freedesktop.org/gstreamer/gst-plugins-base |
---|
60 | configure.args-append --disable-gtk-doc --disable-docbook |
---|
61 | } |
---|
62 | |
---|
63 | livecheck.type regex |
---|
64 | livecheck.url http://gstreamer.freedesktop.org/src/${name}/ |
---|
65 | livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|
66 | |
---|
67 | platform darwin i386 { |
---|
68 | configure.args-append --build=${build_arch}-apple-darwin${os.major} |
---|
69 | } |
---|