<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/185a1c9dc1624e4d9ee6082f47e18566f94b9c23">https://github.com/macports/macports-ports/commit/185a1c9dc1624e4d9ee6082f47e18566f94b9c23</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 185a1c9dc1624e4d9ee6082f47e18566f94b9c23
</span>Author: Frank Schima <mf2k@macports.org>
AuthorDate: Fri Jun 23 09:15:30 2017 -0600
<span style='display:block; white-space:pre;color:#404040;'> gnome-internet-radio-locator: New port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/54355
</span>---
gnome/gnome-internet-radio-locator/Portfile | 72 ++++++++++++++++++++++
.../gnome-internet-radio-locator/files/autogen.sh | 25 ++++++++
2 files changed, 97 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gnome-internet-radio-locator/Portfile b/gnome/gnome-internet-radio-locator/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..394e9bc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gnome-internet-radio-locator/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,72 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name gnome-internet-radio-locator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.3.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch [join [lrange [split $version .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories gnome
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gnome.org:ole @oleaamot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description GNOME Internet Radio Locator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Locate Internet Radio Stations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://people.gnome.org/~ole/gnome-internet-radio-locator
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites gnome:sources/${name}/${branch}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 56a9a44d8883ebd252611812a84ba2705ffbbb55 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4c9884ec348a4e3ed305d2bfa39a3413a35d4bc0863b0a53f73d9163c920cf36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:automake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gnome-common \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtk-doc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:intltool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:itstool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:yelp-tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:desktop-file-utils \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtk3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libchamplain \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgnome \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libgnomeui \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libxml2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gnome-vfs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gstreamer1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gstreamer1-gst-plugins-base \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/pango.pc:pango \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:gstreamer1-gst-plugins-bad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gstreamer1-gst-plugins-good \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gstreamer1-gst-plugins-ugly
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# reconfigure using autogen.sh from upstream git for intltool 0.51 compatibility
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cmd ./autogen.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# building with optimization greater than -O0 causes crash on selecting station
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/52993
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.optflags -O0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant debug description {Build with debug symbols and enable debug messages} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-enable-debug.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.optflags -O0 -g
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type gnome-with-unstable
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gnome-internet-radio-locator/files/autogen.sh b/gnome/gnome-internet-radio-locator/files/autogen.sh
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..9fd2a1c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gnome-internet-radio-locator/files/autogen.sh
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#!/bin/sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Run this to generate all the initial makefiles, etc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+srcdir=`dirname $0`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test -z "$srcdir" && srcdir=.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PKG_NAME="gnome-internet-radio-locator"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+(test -f $srcdir/src/gnome-internet-radio-locator.c) || {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo " top-level $PKG_NAME directory"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+which gnome-autogen.sh || {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "You need to install gnome-common from the GNOME CVS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exit 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+REQUIRED_AUTOCONF_VERSION=2.59
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+REQUIRED_AUTOMAKE_VERSION=1.14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+REQUIRED_INTLTOOL_VERSION=0.40.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+REQUIRED_PKG_CONFIG_VERSION=0.16.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+REQUIRED_GTK_DOC_VERSION=1.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+USE_GNOME2_MACROS=1 . gnome-autogen.sh
</span></pre><pre style='margin:0'>
</pre>