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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup active_variants 1.1 |
---|
5 | |
---|
6 | name gnome-internet-radio-locator |
---|
7 | version 1.1.0 |
---|
8 | set branch [join [lrange [split $version .] 0 1] .] |
---|
9 | categories gnome |
---|
10 | platforms darwin |
---|
11 | license GPL-3+ |
---|
12 | maintainers {gnome.org:ole @oleaamot} \ |
---|
13 | openmaintainer |
---|
14 | description GNOME Internet Radio Locator |
---|
15 | long_description Locate Internet Radio Stations |
---|
16 | homepage https://people.gnome.org/~ole/gnome-internet-radio-locator |
---|
17 | master_sites gnome:sources/${name}/${branch}/ |
---|
18 | |
---|
19 | use_xz yes |
---|
20 | |
---|
21 | checksums rmd160 bc6b8a67862ae993911b5a0efa079fed0f34fbad \ |
---|
22 | sha256 63b4147f99f47d8fd8e424583e958ca459b92152bb329ef69f4d888eec9dae39 \ |
---|
23 | size 539096 |
---|
24 | |
---|
25 | depends_build port:autoconf \ |
---|
26 | port:automake \ |
---|
27 | port:geocode-glib \ |
---|
28 | port:gnome-common \ |
---|
29 | port:gstreamer1-gst-plugins-bad \ |
---|
30 | port:gstreamer1-gst-plugins-good \ |
---|
31 | port:gstreamer1-gst-plugins-ugly \ |
---|
32 | port:gtk-doc \ |
---|
33 | port:intltool \ |
---|
34 | port:itstool \ |
---|
35 | port:pkgconfig \ |
---|
36 | port:yelp-tools |
---|
37 | |
---|
38 | depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ |
---|
39 | path:lib/pkgconfig/pango.pc:pango \ |
---|
40 | port:desktop-file-utils \ |
---|
41 | port:geocode-glib \ |
---|
42 | port:gstreamer1 \ |
---|
43 | port:gstreamer1-gst-plugins-base \ |
---|
44 | port:gtk3 \ |
---|
45 | port:libchamplain \ |
---|
46 | port:libxml2 \ |
---|
47 | port:zlib |
---|
48 | |
---|
49 | depends_run port:gstreamer1-gst-plugins-bad \ |
---|
50 | port:gstreamer1-gst-plugins-good \ |
---|
51 | port:gstreamer1-gst-plugins-ugly |
---|
52 | |
---|
53 | # reconfigure using autogen.sh from upstream git for intltool 0.51 compatibility |
---|
54 | |
---|
55 | post-patch { |
---|
56 | xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} |
---|
57 | } |
---|
58 | |
---|
59 | configure.cmd ./autogen.sh |
---|
60 | |
---|
61 | # building with optimization greater than -O0 causes crash on selecting station |
---|
62 | # https://trac.macports.org/ticket/52993 |
---|
63 | configure.optflags -O0 |
---|
64 | configure.args --disable-silent-rules |
---|
65 | |
---|
66 | post-activate { |
---|
67 | system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" |
---|
68 | system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" |
---|
69 | } |
---|
70 | |
---|
71 | variant debug description {Build with debug symbols and enable debug messages} { |
---|
72 | patchfiles-append patch-enable-debug.diff |
---|
73 | configure.optflags -O0 -g |
---|
74 | } |
---|
75 | |
---|
76 | livecheck.type gnome-with-unstable |
---|