* [gentoo-commits] repo/gentoo:master commit in: media-sound/gqradio/, media-sound/gqradio/files/
@ 2020-11-14 15:06 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2020-11-14 15:06 UTC (permalink / raw
To: gentoo-commits
commit: 2c2f573a7425dbe0d399d1d8b03dd219db2797f6
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 14 15:05:09 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 15:05:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2f573a
media-sound/gqradio: Port to EAPI 7
* Fix broken .desktop file
Closes: https://bugs.gentoo.org/740360
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../gqradio/files/gqradio-1.9.2-desktop-QA.patch | 20 ++++++++++++++++++++
.../gqradio/files/gqradio-1.9.2-underlinking.patch | 4 ++--
media-sound/gqradio/gqradio-1.9.2.ebuild | 19 ++++++++++++-------
3 files changed, 34 insertions(+), 9 deletions(-)
diff --git a/media-sound/gqradio/files/gqradio-1.9.2-desktop-QA.patch b/media-sound/gqradio/files/gqradio-1.9.2-desktop-QA.patch
new file mode 100644
index 00000000000..b9ec631f59f
--- /dev/null
+++ b/media-sound/gqradio/files/gqradio-1.9.2-desktop-QA.patch
@@ -0,0 +1,20 @@
+--- a/gqradio.desktop
++++ b/gqradio.desktop
+@@ -3,12 +3,12 @@
+ Comment=Radio tuner
+ Comment[fr]=Tuner radio
+ Exec=gqradio
+-Icon=gqradio.png
+-Info=Radio tuner app.
+-Info[fr]=Application tuner radio
+-Terminal=0
++Icon=gqradio
++X-Info=Radio tuner app.
++X-Info[fr]=Application tuner radio
++Terminal=false
+ Type=Application
+ StartupNotify=false
+ StartupWMClass=gqradio
+ Encoding=UTF-8
+-Categories=Application;AudioVideo;
++Categories=AudioVideo;
diff --git a/media-sound/gqradio/files/gqradio-1.9.2-underlinking.patch b/media-sound/gqradio/files/gqradio-1.9.2-underlinking.patch
index bcedc3e40f1..f6e75954607 100644
--- a/media-sound/gqradio/files/gqradio-1.9.2-underlinking.patch
+++ b/media-sound/gqradio/files/gqradio-1.9.2-underlinking.patch
@@ -1,5 +1,5 @@
---- configure.in
-+++ configure.in
+--- a/configure.in
++++ b/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])
diff --git a/media-sound/gqradio/gqradio-1.9.2.ebuild b/media-sound/gqradio/gqradio-1.9.2.ebuild
index 7f87210ea6e..235f711463f 100644
--- a/media-sound/gqradio/gqradio-1.9.2.ebuild
+++ b/media-sound/gqradio/gqradio-1.9.2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils
+EAPI=7
+
+inherit autotools
DESCRIPTION="An FM radio tuner app from the people who brought you GQmpeg"
HOMEPAGE="http://gqmpeg.sourceforge.net/radio.html"
@@ -11,16 +12,20 @@ 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}
+DEPEND="${RDEPEND}"
+BDEPEND="
sys-devel/gettext
virtual/pkgconfig"
-DOCS="AUTHORS ChangeLog README SKIN-SPECS TODO"
+PATCHES=(
+ "${FILESDIR}"/${P}-underlinking.patch
+ "${FILESDIR}"/${P}-desktop-QA.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${P}-underlinking.patch
+ default
+ mv configure.{in,ac} || die
eautoreconf
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-14 15:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-14 15:06 [gentoo-commits] repo/gentoo:master commit in: media-sound/gqradio/, media-sound/gqradio/files/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox