commit:     7446ae698d90df5d1d7d26a1e5da0a56b5ac8b4c
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 11:52:02 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 11:52:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7446ae69

media-plugins/gmpc-alarm: Port to EAPI 7

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-plugins/gmpc-alarm/gmpc-alarm-11.8.16.ebuild | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/media-plugins/gmpc-alarm/gmpc-alarm-11.8.16.ebuild 
b/media-plugins/gmpc-alarm/gmpc-alarm-11.8.16.ebuild
index 7a00add6813..e50d034f819 100644
--- a/media-plugins/gmpc-alarm/gmpc-alarm-11.8.16.ebuild
+++ b/media-plugins/gmpc-alarm/gmpc-alarm-11.8.16.ebuild
@@ -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
 }

Reply via email to