Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/gmpc-last-fm/
Date: Wed, 03 Jan 2018 18:39:22
Message-Id: 1515004684.1e156d1c479d83a4d9613bace6bd05f5ae8da24f.soap@gentoo
1 commit: 1e156d1c479d83a4d9613bace6bd05f5ae8da24f
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 3 18:38:04 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 18:38:04 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e156d1c
7
8 media-plugins/gmpc-last-fm: Port to EAPI 6
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 .../gmpc-last-fm/gmpc-last-fm-0.20.0.ebuild | 20 ++++++++++++--------
13 1 file changed, 12 insertions(+), 8 deletions(-)
14
15 diff --git a/media-plugins/gmpc-last-fm/gmpc-last-fm-0.20.0.ebuild b/media-plugins/gmpc-last-fm/gmpc-last-fm-0.20.0.ebuild
16 index 8e16910403b..f486656601f 100644
17 --- a/media-plugins/gmpc-last-fm/gmpc-last-fm-0.20.0.ebuild
18 +++ b/media-plugins/gmpc-last-fm/gmpc-last-fm-0.20.0.ebuild
19 @@ -1,7 +1,7 @@
20 -# Copyright 1999-2012 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=3
25 +EAPI=6
26
27 DESCRIPTION="This plugin fetches artist art from last.fm"
28 HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_LASTFM"
29 @@ -12,13 +12,17 @@ SLOT="0"
30 KEYWORDS="amd64 ppc x86"
31 IUSE=""
32
33 -RDEPEND=">=media-sound/gmpc-${PV}
34 - dev-libs/libxml2
35 - || ( x11-libs/gdk-pixbuf:2[jpeg] x11-libs/gtk+:2[jpeg] )"
36 +RDEPEND="
37 + >=media-sound/gmpc-${PV}
38 + dev-libs/libxml2:=
39 + || (
40 + x11-libs/gdk-pixbuf:2[jpeg]
41 + x11-libs/gtk+:2[jpeg]
42 + )"
43 DEPEND="${RDEPEND}
44 virtual/pkgconfig"
45
46 -src_install () {
47 - emake DESTDIR="${D}" install || die "emake install failed"
48 - find "${ED}" -name "*.la" -delete || die
49 +src_install() {
50 + default
51 + find "${D}" -name '*.la' -delete || die
52 }