commit:     c73383474e4815b02ca3feea76b35512b88371f3
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 10 23:48:55 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Dec 10 23:48:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7338347

media-sound/gimmix: Port to EAPI 7

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../files/gimmix-0.5.7.2-QA-desktop-file.patch     | 11 ++++++
 media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild        | 40 +++++++++++++---------
 2 files changed, 35 insertions(+), 16 deletions(-)

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
index 00000000000..1a0b3d0105a
--- /dev/null
+++ b/media-sound/gimmix/files/gimmix-0.5.7.2-QA-desktop-file.patch
@@ -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=

diff --git a/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild 
b/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild
index 0b9ae98c4bb..7d875e3d3fd 100644
--- a/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild
+++ b/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild
@@ -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
 }
 

Reply via email to