summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/gqradio')
-rw-r--r--media-sound/gqradio/Manifest1
-rw-r--r--media-sound/gqradio/files/gqradio-1.9.2-underlinking.patch19
-rw-r--r--media-sound/gqradio/gqradio-1.9.2.ebuild27
-rw-r--r--media-sound/gqradio/metadata.xml14
4 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/gqradio/Manifest b/media-sound/gqradio/Manifest
new file mode 100644
index 000000000000..2ae483d7c902
--- /dev/null
+++ b/media-sound/gqradio/Manifest
@@ -0,0 +1 @@
+DIST gqradio-1.9.2.tar.gz 444114 SHA256 8c00b589c2faab3fdb5053f8d47abc883ee9fc44702a34bd049ebde8a1adcfef SHA512 7b749f03ff110b78a644fc6b574f5a9d9d3a6db22976c4c8871b8f5c781515d29112745df5b5a4a70e4c48ba3cc9fd4921af64de39415ac179f57a26d33a4e5a WHIRLPOOL 4589bec806e43290eb0efda1038afec69b27d9c71f517bd8c0fdae0d99477f335282b017deccac023e63f0adf46b4a12ceb11f38477983b115e179c20f351ac7
diff --git a/media-sound/gqradio/files/gqradio-1.9.2-underlinking.patch b/media-sound/gqradio/files/gqradio-1.9.2-underlinking.patch
new file mode 100644
index 000000000000..bcedc3e40f10
--- /dev/null
+++ b/media-sound/gqradio/files/gqradio-1.9.2-underlinking.patch
@@ -0,0 +1,19 @@
+--- configure.in
++++ configure.in
+@@ -30,6 +30,16 @@
+ AC_DEFINE_UNQUOTED(GQRADIO_SKINDIR, "$prefix/share/gqradio/skins", [Location of skins])
+ AC_DEFINE_UNQUOTED(GQRADIO_HELPDIR, "$prefix/share/doc/gqradio-$VERSION", [Location of documentation files])
+
++dnl Check for XInternAtom() in libX11 in order to prevent underlinking #492764
++AC_SEARCH_LIBS([XInternAtom], [X11], [], [
++ AC_MSG_ERROR([unable to find the XInternAtom() function])
++])
++
++dnl Check for rintf() in libm
++AC_SEARCH_LIBS([rintf], [m], [], [
++ AC_MSG_ERROR([unable to find the rintf() function])
++])
++
+ ALL_LINGUAS="fr"
+ GETTEXT_PACKAGE=$PACKAGE
+ AC_SUBST(GETTEXT_PACKAGE)
diff --git a/media-sound/gqradio/gqradio-1.9.2.ebuild b/media-sound/gqradio/gqradio-1.9.2.ebuild
new file mode 100644
index 000000000000..f1f8084020d1
--- /dev/null
+++ b/media-sound/gqradio/gqradio-1.9.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="An FM radio tuner app from the people who brought you GQmpeg"
+HOMEPAGE="http://gqmpeg.sourceforge.net/radio.html"
+SRC_URI="mirror://sourceforge/gqmpeg/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.4:2"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+DOCS="AUTHORS ChangeLog README SKIN-SPECS TODO"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-underlinking.patch
+ eautoreconf
+}
diff --git a/media-sound/gqradio/metadata.xml b/media-sound/gqradio/metadata.xml
new file mode 100644
index 000000000000..2946d7c23fef
--- /dev/null
+++ b/media-sound/gqradio/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+ <longdescription>
+ GQradio interfaces with radio cards through the video4linux API.
+ Stations can be tuned manually, set to presets, or auto seek can find
+ the next available frequency. The application supports theming (skins),
+ and includes a built-in skin editor. Skin formats are similar to GQmpeg.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">gqmpeg</remote-id>
+ </upstream>
+</pkgmetadata>