source: trunk/dports/audio/libcanberra/Portfile

Last change on this file was 139037, checked in by devans@…, 2 years ago

libcanberra: update dependencies, configuration to build with pulseaudio backend rather than gstreamer per GNOME recommendations, increment revision, requires at least sound-theme-freedesktop at run time to do anything useful.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
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 139037 2015-07-30 09:29:13Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libcanberra
7version             0.30
8revision            5
9license             LGPL-2.1+
10categories          audio devel
11maintainers         nomaintainer
12description         XDG sound theme and naming implementation
13long_description    libcanberra is an implementation of the XDG Sound Theme \
14                    and Name Specifications, for generating event sounds on \
15                    free desktops, such as GNOME.
16homepage            http://0pointer.de/lennart/projects/libcanberra/
17platforms           darwin
18master_sites        ${homepage}
19use_xz              yes
20
21checksums           rmd160  f5a800f50ae185d9ec12c284298c20fd60f70a8c \
22                    sha256  c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72
23
24depends_build       port:pkgconfig
25
26depends_lib         port:pulseaudio \
27                    port:libvorbis
28
29depends_run         port:sound-theme-freedesktop
30
31patchfiles          patch-configure.diff \
32                    patch-gtkquartz.diff \
33                    LC_CTYPE.patch
34
35configure.args      --disable-alsa \
36                    --disable-gtk-doc \
37                    --disable-oss \
38                    --disable-lynx \
39                    --disable-null \
40                    --disable-gstreamer \
41                    --disable-silent-rules \
42                    --disable-tdb \
43                    --disable-udev \
44                    --disable-gtk \
45                    --disable-gtk3
46
47variant x11 {
48    depends_lib-append  port:xorg-libX11 \
49                        port:gtk2 \
50                        port:gtk3
51    configure.args-replace  --disable-gtk --enable-gtk
52    configure.args-replace  --disable-gtk3 --enable-gtk3
53}
54
55default_variants +x11
56
57livecheck.type      regex
58livecheck.regex     libcanberra-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.