media-plugins/gmpc-mdcover: Port to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Wed, 3 Jan 2018 18:38:07 +0000 (19:38 +0100)
committerDavid Seifert <soap@gentoo.org>
Wed, 3 Jan 2018 18:38:07 +0000 (19:38 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

media-plugins/gmpc-mdcover/gmpc-mdcover-0.20.0.ebuild

index cd59cfee0f9ca0ee39f2bc9bd9749c361fe855ac..148b866d37b17c36822aeeb9d5c9b5c30ab892f3 100644 (file)
@@ -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
 }