# -*- 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
name gnome-internet-radio-locator
set branch [join [lrange [split $version .] 0 1] .]
maintainers {gnome.org:ole @oleaamot} \
description GNOME Internet Radio Locator
long_description Locate Internet Radio Stations
homepage https://www.gnome.org/~ole/gnome-internet-radio-locator
master_sites gnome:sources/${name}/${branch}/
checksums rmd160 d8e90b9346816bff181a56be72d22643ccd6d0d2 \
sha256 12859a60086dedcfd9a49e3f5f947e11394ddbfe914a4ee8cc0a86492b4e46e7 \
depends_build port:autoconf \
port:gstreamer1-gst-plugins-bad \
port:gstreamer1-gst-plugins-good \
port:gstreamer1-gst-plugins-ugly \
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/pkgconfig/pango.pc:pango \
port:desktop-file-utils \
port:gstreamer1-gst-plugins-base \
depends_run port:adwaita-icon-theme \
port:gstreamer1-gst-plugins-bad \
port:gstreamer1-gst-plugins-good \
port:gstreamer1-gst-plugins-ugly
# reconfigure using autogen.sh from upstream git for intltool 0.51 compatibility
xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
configure.cmd ./autogen.sh
# building with optimization greater than -O0 causes crash on selecting station
# https://trac.macports.org/ticket/52993