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

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

index 91c37e6e93fb6a41c0302313b57fb763d4ad9e8d..92daba83f203e49a7610354d0bcbf0c6eb89b6ad 100644 (file)
@@ -1,7 +1,7 @@
-# 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 artist and album images from discogs"
 HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_DISCOGS"
@@ -12,13 +12,17 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-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"
 
-src_install () {
-       emake DESTDIR="${D}" install || die "emake install failed"
-       find "${ED}" -name "*.la" -delete || die
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
 }