x11-plugins/gkrellmss: new EAPI=6 revision.
authorMichael Orlitzky <mjo@gentoo.org>
Sun, 26 Mar 2017 00:07:50 +0000 (20:07 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Sun, 26 Mar 2017 00:08:06 +0000 (20:08 -0400)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

x11-plugins/gkrellmss/gkrellmss-2.6-r3.ebuild [moved from x11-plugins/gkrellmss/gkrellmss-2.6-r2.ebuild with 70% similarity]

similarity index 70%
rename from x11-plugins/gkrellmss/gkrellmss-2.6-r2.ebuild
rename to x11-plugins/gkrellmss/gkrellmss-2.6-r3.ebuild
index 63ab74604481a80c43ca2aaa6332800a34ee8952..77f30cb2d16f4bab35763467e69b0e6526a3a9ac 100644 (file)
@@ -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)
 }