Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellmlaunch/, x11-plugins/gkrellmlaunch/files/
Date: Thu, 04 Jan 2018 09:17:10
Message-Id: 1515057338.d710e965c7156d4695d6e192c1e4a7350ad1f5d6.soap@gentoo
1 commit: d710e965c7156d4695d6e192c1e4a7350ad1f5d6
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 3 22:34:32 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 4 09:15:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d710e965
7
8 x11-plugins/gkrellmlaunch: Eclass update
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 .../files/gkrellmlaunch-0.5-makefile.patch | 4 ++--
13 x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5.ebuild | 19 +++++++++----------
14 2 files changed, 11 insertions(+), 12 deletions(-)
15
16 diff --git a/x11-plugins/gkrellmlaunch/files/gkrellmlaunch-0.5-makefile.patch b/x11-plugins/gkrellmlaunch/files/gkrellmlaunch-0.5-makefile.patch
17 index 31175b66483..8b0a4fee666 100644
18 --- a/x11-plugins/gkrellmlaunch/files/gkrellmlaunch-0.5-makefile.patch
19 +++ b/x11-plugins/gkrellmlaunch/files/gkrellmlaunch-0.5-makefile.patch
20 @@ -1,5 +1,5 @@
21 ---- Makefile 2002-09-26 15:56:06.000000000 +0200
22 -+++ Makefile_new 2013-03-15 17:26:19.398383410 +0100
23 +--- a/Makefile
24 ++++ b/Makefile
25 @@ -4,21 +4,25 @@
26 GTK_LIB = `pkg-config gtk+-2.0 --libs`
27
28
29 diff --git a/x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5.ebuild b/x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5.ebuild
30 index a0157f2e4b7..61650856846 100644
31 --- a/x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5.ebuild
32 +++ b/x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5.ebuild
33 @@ -1,25 +1,24 @@
34 -# Copyright 1999-2013 Gentoo Foundation
35 +# Copyright 1999-2018 Gentoo Foundation
36 # Distributed under the terms of the GNU General Public License v2
37
38 -EAPI=5
39 -inherit eutils gkrellm-plugin toolchain-funcs
40 +EAPI=6
41 +
42 +inherit gkrellm-plugin toolchain-funcs
43
44 DESCRIPTION="A Program-Launcher Plugin for GKrellM2"
45 SRC_URI="mirror://sourceforge/gkrellmlaunch/${P}.tar.gz"
46 HOMEPAGE="http://gkrellmlaunch.sourceforge.net/"
47 -IUSE=""
48
49 -SLOT="2"
50 LICENSE="GPL-2"
51 +SLOT="2"
52 KEYWORDS="x86 ppc sparc alpha amd64"
53 +IUSE=""
54
55 -RDEPEND="app-admin/gkrellm[X]"
56 +RDEPEND="app-admin/gkrellm:2[X]"
57 DEPEND="${RDEPEND}"
58
59 -src_prepare() {
60 - epatch "${FILESDIR}/${P}-makefile.patch"
61 -}
62 +PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
63
64 src_compile() {
65 - emake LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)"
66 + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
67 }