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