media-plugins/gmpc-jamendo: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Sun, 22 Dec 2019 11:52:10 +0000 (12:52 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 22 Dec 2019 11:52:10 +0000 (12:52 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
media-plugins/gmpc-jamendo/gmpc-jamendo-11.8.16.ebuild

index bf20216ce05aaaf3f60e2827265816e4f34366e7..fc37e3e4d09a66ba645aba8c1000870ea5f24ae3 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 DESCRIPTION="Plugin allows you to browse and preview music available on jamendo"
 HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_JAMENDO"
@@ -12,14 +12,18 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="nls"
 
-RDEPEND=">=media-sound/gmpc-${PV}
+RDEPEND="
+       >=media-sound/gmpc-${PV}
        dev-db/sqlite:3
        dev-libs/libxml2:2"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
        virtual/pkgconfig
        dev-util/gob
-       nls? ( dev-util/intltool
-               sys-devel/gettext )"
+       nls? (
+               dev-util/intltool
+               sys-devel/gettext
+       )"
 
 src_configure() {
        econf $(use_enable nls)
@@ -27,5 +31,7 @@ src_configure() {
 
 src_install() {
        default
-       find "${ED}" -name "*.la" -exec rm {} + || die
+
+       # plugins only
+       find "${D}" -name '*.la' -delete || die
 }