x11-plugins/gkrellmlaunch: Eclass update
authorDavid Seifert <soap@gentoo.org>
Wed, 3 Jan 2018 22:34:32 +0000 (23:34 +0100)
committerDavid Seifert <soap@gentoo.org>
Thu, 4 Jan 2018 09:15:38 +0000 (10:15 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

x11-plugins/gkrellmlaunch/files/gkrellmlaunch-0.5-makefile.patch
x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5.ebuild

index 31175b66483796272bbc4b53c04ca9ed32548b13..8b0a4fee6669b070b986520838436d1c1920b846 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile   2002-09-26 15:56:06.000000000 +0200
-+++ Makefile_new       2013-03-15 17:26:19.398383410 +0100
+--- a/Makefile
++++ b/Makefile
 @@ -4,21 +4,25 @@
  GTK_LIB = `pkg-config gtk+-2.0 --libs`
  
index a0157f2e4b7155514fb6245f6b9c00950d42af3c..6165085684609410af000459f4846b1ebf8d5f88 100644 (file)
@@ -1,25 +1,24 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils gkrellm-plugin toolchain-funcs
+EAPI=6
+
+inherit gkrellm-plugin toolchain-funcs
 
 DESCRIPTION="A Program-Launcher Plugin for GKrellM2"
 SRC_URI="mirror://sourceforge/gkrellmlaunch/${P}.tar.gz"
 HOMEPAGE="http://gkrellmlaunch.sourceforge.net/"
-IUSE=""
 
-SLOT="2"
 LICENSE="GPL-2"
+SLOT="2"
 KEYWORDS="x86 ppc sparc alpha amd64"
+IUSE=""
 
-RDEPEND="app-admin/gkrellm[X]"
+RDEPEND="app-admin/gkrellm:2[X]"
 DEPEND="${RDEPEND}"
 
-src_prepare() {
-       epatch "${FILESDIR}/${P}-makefile.patch"
-}
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
 
 src_compile() {
-       emake LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
+       emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
 }