Gentoo Archives: gentoo-commits

From: "Jim Ramsay (lack)" <lack@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/gkrelltop: ChangeLog gkrelltop-2.2.11-r1.ebuild
Date: Mon, 24 Jan 2011 16:48:40
Message-Id: 20110124164828.B4D9820054@flycatcher.gentoo.org
1 lack 11/01/24 16:48:28
2
3 Modified: ChangeLog
4 Added: gkrelltop-2.2.11-r1.ebuild
5 Log:
6 Applied user patch to fix CFLAGS and LDFLAGS (Bug #333989)
7
8 (Portage version: 2.1.9.34/cvs/Linux i686)
9
10 Revision Changes Path
11 1.33 x11-plugins/gkrelltop/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/gkrelltop/ChangeLog?rev=1.33&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/gkrelltop/ChangeLog?rev=1.33&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/gkrelltop/ChangeLog?r1=1.32&r2=1.33
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/gkrelltop/ChangeLog,v
20 retrieving revision 1.32
21 retrieving revision 1.33
22 diff -u -r1.32 -r1.33
23 --- ChangeLog 5 Sep 2009 22:35:12 -0000 1.32
24 +++ ChangeLog 24 Jan 2011 16:48:28 -0000 1.33
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-plugins/gkrelltop
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrelltop/ChangeLog,v 1.32 2009/09/05 22:35:12 maekke Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrelltop/ChangeLog,v 1.33 2011/01/24 16:48:28 lack Exp $
31 +
32 +*gkrelltop-2.2.11-r1 (24 Jan 2011)
33 +
34 + 24 Jan 2011; Jim Ramsay <lack@g.o> +gkrelltop-2.2.11-r1.ebuild:
35 + Applied user patch to fix CFLAGS and LDFLAGS (Bug #333989)
36
37 05 Sep 2009; Markus Meier <maekke@g.o> gkrelltop-2.2.11.ebuild:
38 amd64 stable, bug #271463
39
40
41
42 1.1 x11-plugins/gkrelltop/gkrelltop-2.2.11-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/gkrelltop/gkrelltop-2.2.11-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/gkrelltop/gkrelltop-2.2.11-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gkrelltop-2.2.11-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrelltop/gkrelltop-2.2.11-r1.ebuild,v 1.1 2011/01/24 16:48:28 lack Exp $
52
53 EAPI=2
54 inherit gkrellm-plugin toolchain-funcs
55
56 DESCRIPTION="a GKrellM2 plugin which displays the top three processes"
57 SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz"
58 HOMEPAGE="http://sourceforge.net/projects/gkrelltop"
59
60 SLOT="0"
61 LICENSE="GPL-2"
62 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
63 IUSE="X"
64
65 PLUGIN_SERVER_SO=gkrelltopd.so
66 PLUGIN_SO=gkrelltop.so
67
68 S="${WORKDIR}/${P}.orig"
69
70 RDEPEND="=app-admin/gkrellm-2*[X=]"
71 DEPEND="${RDEPEND}
72 =dev-libs/glib-2*
73 X? ( =x11-libs/gtk+-2* )"
74
75 src_prepare() {
76 sed -i \
77 -e "s:/usr/bin/gcc:$(tc-getCC) \$(CFLAGS):" \
78 -e 's/-shared/$(LDFLAGS) &/' \
79 Makefile || die
80 }
81
82 src_compile() {
83 use X || TARGET="server"
84 emake ${TARGET}
85 }
86
87 pkg_postinst() {
88 einfo "To enable the gkrelltopd server plugin, you must add the following"
89 einfo "line to /etc/gkrellmd.conf:"
90 einfo "\tplugin-enable gkrelltopd"
91 }