media-plugins/gmpc-albumview: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Sun, 22 Dec 2019 11:52:04 +0000 (12:52 +0100)
committerDavid Seifert <soap@gentoo.org>
Sun, 22 Dec 2019 11:52:04 +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-albumview/gmpc-albumview-11.8.16.ebuild

index 002f45ed0e8fcf23ea9ad169b6330029ce225a20..fd03c1bb0fc87d8dd99900e7d39723b1427ec13b 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
 DESCRIPTION="This plugin shows your music collection in albums"
 HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_ALBUMVIEW"
@@ -13,10 +13,13 @@ KEYWORDS="amd64 x86"
 IUSE="nls"
 
 RDEPEND=">=media-sound/gmpc-${PV}"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
        virtual/pkgconfig
-       nls? ( dev-util/intltool
-               sys-devel/gettext )"
+       nls? (
+               dev-util/intltool
+               sys-devel/gettext
+       )"
 
 src_configure() {
        econf $(use_enable nls)
@@ -24,5 +27,7 @@ src_configure() {
 
 src_install() {
        default
-       find "${ED}" -name "*.la" -exec rm {} + || die
+
+       # plugins only
+       find "${D}" -name '*.la' -delete || die
 }