commit:     fab779f57996de19dbe3b846408972aded436c8e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  3 18:38:07 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Jan  3 18:38:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab779f5

media-plugins/gmpc-mdcover: Port to EAPI 6

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../gmpc-mdcover/gmpc-mdcover-0.20.0.ebuild        | 30 ++++++++++++----------
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/media-plugins/gmpc-mdcover/gmpc-mdcover-0.20.0.ebuild 
b/media-plugins/gmpc-mdcover/gmpc-mdcover-0.20.0.ebuild
index cd59cfee0f9..148b866d37b 100644
--- a/media-plugins/gmpc-mdcover/gmpc-mdcover-0.20.0.ebuild
+++ b/media-plugins/gmpc-mdcover/gmpc-mdcover-0.20.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=3
+EAPI=6
 
-DESCRIPTION="This plugin fetches cover art, artist art, album and artist 
information from the file system"
+DESCRIPTION="Plugin for fetching cover art, artist art, album and artist 
information"
 HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_MDCOVER";
 SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz"
 
@@ -12,21 +12,25 @@ SLOT="0"
 KEYWORDS="amd64 ppc x86"
 IUSE="nls"
 
-RDEPEND=">=media-sound/gmpc-${PV}
-       dev-libs/libxml2
-       || ( x11-libs/gdk-pixbuf:2[jpeg] x11-libs/gtk+:2[jpeg] )"
+RDEPEND="
+       >=media-sound/gmpc-${PV}
+       dev-libs/libxml2:=
+       || (
+               x11-libs/gdk-pixbuf:2[jpeg]
+               x11-libs/gtk+:2[jpeg]
+       )"
 DEPEND="${RDEPEND}
        virtual/pkgconfig
-       nls? ( dev-util/intltool
-               sys-devel/gettext )"
+       nls? (
+               dev-util/intltool
+               sys-devel/gettext
+       )"
 
 src_configure() {
-       econf \
-               $(use_enable nls) \
-               --disable-dependency-tracking
+       econf $(use_enable nls)
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die
-       find "${ED}" -name "*.la" -delete || die
+       default
+       find "${D}" -name '*.la' -delete || die
 }

Reply via email to