Ticket #20980: Portfile.3

File Portfile.3, 2.0 KB (added by jeptorra@…, 15 years ago)

Portfile for -base

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 58908 2009-10-07 02:56:10Z devans@macports.org $
3
4PortSystem 1.0
5
6name            gst-plugins-base
7version         0.10.25
8description     This is gst-plugins, a set of plug-ins for GStreamer.
9long_description        ${description}
10maintainers     rmsfisher openmaintainer
11categories      gnome
12platforms       darwin
13homepage        http://gstreamer.freedesktop.org/
14
15# port:liboil is not universal
16universal_variant no
17
18use_bzip2       yes
19master_sites    gnome:sources/gst-plugins-base/0.10/ http://gstreamer.freedesktop.org/src/${name}/
20
21checksums       md5     d29669dd79276c5cd94e1613c03cd9ab \
22                sha1    6057e6552c936f3dbe9ba01269bc0bcf8469ae0a \
23                rmd160  4d57f4c6e42a4bf006c1dff9d69c0bbc9bcde483
24
25depends_lib     \
26        port:gstreamer \
27        port:gnome-vfs \
28        port:liboil \
29        port:libogg \
30        port:libtheora \
31        port:libvorbis
32
33configure.args \
34        --enable-experimental \
35        --disable-libvisual\
36        --disable-gst_v4l \
37        --disable-alsa \
38        --disable-cdparanoia
39
40variant 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
50variant cdparanoia description {Enable (currently broken) cdparanoia plugin} {
51       depends_lib-append port:cdparanoia
52       configure.args-delete --disable-cdparanoia
53}
54
55variant 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
63livecheck.type  regex
64livecheck.url   http://gstreamer.freedesktop.org/src/${name}/
65livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
66
67platform darwin i386 {
68        configure.args-append --build=${build_arch}-apple-darwin${os.major}
69}