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

index 7a00add6813d334fd8d90a3da05c8dad53deb3e5..e50d034f819111847ff4ac89047d1e2ddc7ba9e7 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 can start/stop/pause your music at a preset time"
 HOMEPAGE="http://gmpc.wikia.com/wiki/GMPC_PLUGIN_ALARM"
@@ -13,17 +13,21 @@ KEYWORDS="amd64 ppc 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)
+       econf $(use_enable nls)
 }
 
 src_install() {
        default
-       find "${ED}" -name "*.la" -exec rm {} + || die
+
+       # plugins only
+       find "${D}" -name '*.la' -delete || die
 }