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 girl |
---|
6 | version 9.9.2 |
---|
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 http://people.gnome.org/~ole/girl/ |
---|
16 | master_sites gnome:sources/${name}/${branch}/ |
---|
17 | |
---|
18 | use_xz yes |
---|
19 | |
---|
20 | checksums rmd160 8277d3335e2690045dbac0b530504303effc8c63 \ |
---|
21 | sha256 fe67b8efbe59703a2cb39438d47971c7998231b59147b3568afb2a8ff7fd4be4 |
---|
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:gtk2 \ |
---|
34 | port:gtk3 \ |
---|
35 | port:libchamplain \ |
---|
36 | path:lib/pkgconfig/glib-2.0.pc:glib2 \ |
---|
37 | port:libgnome \ |
---|
38 | port:libgnomeui \ |
---|
39 | port:libxml2 \ |
---|
40 | port:gnome-vfs \ |
---|
41 | port:gstreamer1 \ |
---|
42 | port:gstreamer1-gst-plugins-base \ |
---|
43 | port:pango \ |
---|
44 | port:zlib |
---|
45 | |
---|
46 | depends_run port:gstreamer1-gst-plugins-good \ |
---|
47 | port:gstreamer1-gst-plugins-bad \ |
---|
48 | port:gstreamer1-gst-plugins-ugly |
---|
49 | |
---|
50 | # reconfigure using autogen.sh from upstream git for intltool 0.51 compatibility |
---|
51 | |
---|
52 | post-patch { |
---|
53 | xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} |
---|
54 | } |
---|
55 | |
---|
56 | configure.cmd ./autogen.sh |
---|
57 | |
---|
58 | # building with optimization greater than -O0 causes crash on selecting station |
---|
59 | # https://trac.macports.org/ticket/52993 |
---|
60 | configure.optflags -O0 |
---|
61 | configure.args --disable-silent-rules |
---|
62 | |
---|
63 | variant debug description {Build with debug symbols and enable debug messages} { |
---|
64 | patchfiles-append patch-enable-debug.diff |
---|
65 | configure.optflags -O0 -g |
---|
66 | } |
---|
67 | |
---|
68 | post-activate { |
---|
69 | system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" |
---|
70 | system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" |
---|
71 | } |
---|
72 | |
---|
73 | livecheck.type gnome-with-unstable |
---|