diff --git a/gnome/girl/Portfile b/gnome/girl/Portfile
index ed68656..d161c45 100644
a
|
b
|
|
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | name girl |
6 | | version 9.5.1 |
| 6 | version 9.7.1 |
7 | 7 | set branch [join [lrange [split $version .] 0 1] .] |
8 | 8 | categories gnome |
9 | 9 | platforms darwin |
… |
… |
long_description Locate Internet Radio Stations |
15 | 15 | homepage http://people.gnome.org/~ole/girl/ |
16 | 16 | master_sites gnome:sources/${name}/${branch}/ |
17 | 17 | |
18 | | checksums rmd160 50f2554179325c7cb97eff1d9331424dd3661340 \ |
19 | | sha256 a18b1803600a7f94ff8577276dd7094b858af970262d67486eb8828d4d39bd87 |
20 | | |
21 | 18 | use_xz yes |
22 | 19 | |
| 20 | checksums rmd160 8f855ff39d1998cf53e76471d41a6b626e1f1704 \ |
| 21 | sha256 35cab81d5342b54d2c352d834c75aaea8b6bfbd6e6fe9a26b239a7d59c6f2af7 |
| 22 | |
23 | 23 | depends_build port:pkgconfig \ |
24 | 24 | port:intltool \ |
25 | 25 | port:gtk-doc \ |
… |
… |
depends_lib port:desktop-file-utils \ |
36 | 36 | port:libgnomeui \ |
37 | 37 | port:libxml2 \ |
38 | 38 | port:gnome-vfs \ |
39 | | port:totem \ |
| 39 | port:gstreamer1 \ |
| 40 | port:gstreamer1-gst-plugins-base \ |
40 | 41 | port:zlib |
41 | 42 | |
| 43 | depends_run port:gstreamer1-gst-plugins-good \ |
| 44 | port:gstreamer1-gst-plugins-bad \ |
| 45 | port:gstreamer1-gst-plugins-ugly |
| 46 | |
42 | 47 | # reconfigure using autogen.sh from upstream git for intltool 0.51 compatibility |
43 | 48 | |
44 | 49 | post-patch { |
… |
… |
post-patch { |
47 | 52 | |
48 | 53 | configure.cmd ./autogen.sh |
49 | 54 | |
| 55 | # building with optimization greater than -O0 causes crash on selecting station |
| 56 | # https://trac.macports.org/ticket/52993 |
| 57 | configure.optflags -O0 |
50 | 58 | configure.args --disable-silent-rules |
51 | 59 | |
52 | 60 | variant debug description {Build with debug symbols and enable debug messages} { |
… |
… |
variant debug description {Build with debug symbols and enable debug messages} { |
54 | 62 | configure.optflags -O0 -g |
55 | 63 | } |
56 | 64 | |
57 | | variant record description {Enable recording using external streamripper (broken)} { |
58 | | depends_lib-append port:streamripper |
59 | | configure.args-append --with-recording |
60 | | } |
61 | | |
62 | 65 | post-activate { |
63 | 66 | system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" |
64 | 67 | system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" |
diff --git a/gnome/girl/files/autogen.sh b/gnome/girl/files/autogen.sh
index 452c6c8..b579eac 100644
a
|
b
|
which gnome-autogen.sh || { |
18 | 18 | } |
19 | 19 | |
20 | 20 | REQUIRED_AUTOCONF_VERSION=2.59 |
21 | | REQUIRED_AUTOMAKE_VERSION=1.15 |
| 21 | REQUIRED_AUTOMAKE_VERSION=1.14 |
22 | 22 | REQUIRED_INTLTOOL_VERSION=0.40.0 |
23 | 23 | REQUIRED_PKG_CONFIG_VERSION=0.16.0 |
24 | 24 | REQUIRED_GTK_DOC_VERSION=1.9 |
diff --git a/gnome/girl/files/patch-enable-debug.diff b/gnome/girl/files/patch-enable-debug.diff
index f59a2ce..99a06b0 100644
a
|
b
|
|
1 | | --- src/Makefile.am.orig 2016-01-31 02:54:15.000000000 -0800 |
2 | | +++ src/Makefile.am 2016-01-31 02:54:38.000000000 -0800 |
3 | | @@ -36,7 +36,7 @@ |
| 1 | --- src/Makefile.am.orig 2017-01-17 09:45:54.000000000 -0800 |
| 2 | +++ src/Makefile.am 2017-01-18 15:50:48.000000000 -0800 |
| 3 | @@ -44,7 +44,7 @@ |
4 | 4 | girl_CFLAGS = $(GIRL_CFLAGS) \ |
5 | 5 | -DGIRL_DATADIR=\"$(datadir)/girl\" \ |
6 | 6 | -DDATADIR=\"$(datadir)\" \ |
7 | 7 | - -DGIRL_DEBUG=1 \ |
8 | 8 | + -DGIRL_DEBUG=0 \ |
9 | 9 | -DGIRL_CFG \ |
10 | | -DGIRL_HELPER_PLAYER=\"$(GIRL_HELPER_PLAYER)\" \ |
11 | | -DGIRL_HELPER_RECORD=\"$(GIRL_HELPER_RECORD)\" \ |
| 10 | -DGNOMELOCALEDIR=\"$(datadir)/locale\" |
| 11 | |