media-sound/gimmix: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Tue, 10 Dec 2019 23:48:55 +0000 (00:48 +0100)
committerDavid Seifert <soap@gentoo.org>
Tue, 10 Dec 2019 23:48:55 +0000 (00:48 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
media-sound/gimmix/files/gimmix-0.5.7.2-QA-desktop-file.patch [new file with mode: 0644]
media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild

diff --git a/media-sound/gimmix/files/gimmix-0.5.7.2-QA-desktop-file.patch b/media-sound/gimmix/files/gimmix-0.5.7.2-QA-desktop-file.patch
new file mode 100644 (file)
index 0000000..1a0b3d0
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/data/gimmix.desktop
++++ b/data/gimmix.desktop
+@@ -5,6 +5,6 @@
+ Terminal=false
+ Type=Application
+ StartupNotify=true
+-Icon=gimmix.png
+-Categories=Application;GTK;AudioVideo;
++Icon=gimmix
++Categories=GTK;AudioVideo;
+ MimeType=
index 0b9ae98c4bb228fcac6b69d7d2579efaa6fd5302..7d875e3d3fd6b8694aab82d8e17f0409be426aa4 100644 (file)
@@ -1,8 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-inherit autotools eutils
+EAPI=7
+
+inherit autotools
 
 DESCRIPTION="a graphical music player daemon (MPD) client using GTK+2"
 HOMEPAGE="https://launchpad.net/gimmix"
@@ -13,25 +14,32 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
 IUSE="cover lyrics taglib"
 
-RDEPEND=">=media-libs/libmpd-0.17
-       gnome-base/libglade
+RDEPEND="
+       media-libs/libmpd:=
+       gnome-base/libglade:=
        x11-libs/gtk+:2
-       cover? ( net-libs/libnxml net-misc/curl )
-       lyrics? ( net-libs/libnxml net-misc/curl )
-       taglib? ( >=media-libs/taglib-1.5 )"
-DEPEND="${RDEPEND}
+       cover? (
+               net-libs/libnxml:=
+               net-misc/curl:=
+       )
+       lyrics? (
+               net-libs/libnxml:=
+               net-misc/curl:=
+       )
+       taglib? ( media-libs/taglib:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="
        virtual/pkgconfig
        dev-util/intltool"
 
-DOCS=( AUTHORS ChangeLog README TODO )
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.5.7.1-curl-headers.patch
+       "${FILESDIR}"/${P}-format-security.patch
+       "${FILESDIR}"/${PN}-0.5.7.2-QA-desktop-file.patch
+)
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-0.5.7.1-curl-headers.patch \
-               "${FILESDIR}"/${P}-format-security.patch
-       sed -i -e "/^Icon/s/\.png$//" \
-               -e "/^Categories/s/Application;//" data/gimmix.desktop
-
-       # broken build system in tarball
+       default
        eautoreconf
 }