commit:     52d0ed1bd08ca3b7c7b75fa1ac11d3744d14269b
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 26 00:07:50 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 00:08:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52d0ed1b

x11-plugins/gkrellmss: new EAPI=6 revision.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../{gkrellmss-2.6-r2.ebuild => gkrellmss-2.6-r3.ebuild}  | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/x11-plugins/gkrellmss/gkrellmss-2.6-r2.ebuild 
b/x11-plugins/gkrellmss/gkrellmss-2.6-r3.ebuild
similarity index 70%
rename from x11-plugins/gkrellmss/gkrellmss-2.6-r2.ebuild
rename to x11-plugins/gkrellmss/gkrellmss-2.6-r3.ebuild
index 63ab7460448..77f30cb2d16 100644
--- a/x11-plugins/gkrellmss/gkrellmss-2.6-r2.ebuild
+++ b/x11-plugins/gkrellmss/gkrellmss-2.6-r3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils gkrellm-plugin
+EAPI=6
+inherit gkrellm-plugin
 
 DESCRIPTION="A plugin for GKrellM2 that has a VU meter and a sound chart"
 HOMEPAGE="http://members.dslextreme.com/users/billw/gkrellmss/gkrellmss.html";
@@ -20,14 +20,9 @@ DEPEND="${RDEPEND}"
 PLUGIN_SO="src/gkrellmss.so"
 PLUGIN_DOCS="Themes"
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-Respect-LDFLAGS.patch
-}
+PATCHES=( "${FILESDIR}/${P}-Respect-LDFLAGS.patch" )
 
 src_compile() {
-       local myconf
-       use nls && myconf+=" enable_nls=1"
-
        addpredict /dev/snd
-       emake ${myconf}
+       emake enable_nls=$(usex nls 1 0)
 }

Reply via email to