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

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
David Seifert
2018-01-03 19:37:57 +01:00
parent bd6ecb94de
commit e3e6610783

View 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
}