-# 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"
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
}