Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkwebmon/
Date: Thu, 31 Mar 2022 11:46:03
Message-Id: 1648727156.444d977c050910702fa3a6f0ffb3e6ba1800a291.juippis@gentoo
1 commit: 444d977c050910702fa3a6f0ffb3e6ba1800a291
2 Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
3 AuthorDate: Sat Mar 19 19:06:55 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 31 11:45:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=444d977c
7
8 x11-plugins/gkwebmon: update EAPI 6 -> 8
9
10 Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
11 Closes: https://github.com/gentoo/gentoo/pull/24724
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 x11-plugins/gkwebmon/gkwebmon-0.2-r3.ebuild | 32 +++++++++++++++++++++++++++++
15 1 file changed, 32 insertions(+)
16
17 diff --git a/x11-plugins/gkwebmon/gkwebmon-0.2-r3.ebuild b/x11-plugins/gkwebmon/gkwebmon-0.2-r3.ebuild
18 new file mode 100644
19 index 000000000000..83494004e3b5
20 --- /dev/null
21 +++ b/x11-plugins/gkwebmon/gkwebmon-0.2-r3.ebuild
22 @@ -0,0 +1,32 @@
23 +# Copyright 1999-2022 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=8
27 +
28 +inherit gkrellm-plugin toolchain-funcs
29 +
30 +DESCRIPTION="A web monitor plugin for GKrellM2"
31 +HOMEPAGE="http://gkwebmon.sourceforge.net/"
32 +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
33 +
34 +LICENSE="GPL-2"
35 +SLOT="0"
36 +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
37 +
38 +# The Makefile links with -lssl.
39 +RDEPEND="
40 + app-admin/gkrellm:2[X]
41 + dev-libs/openssl"
42 +DEPEND="${RDEPEND}"
43 +BDEPEND="virtual/pkgconfig"
44 +
45 +PATCHES=(
46 + "${FILESDIR}"/${P}-cc-cflags-ldflags.patch
47 + "${FILESDIR}"/${P}-fno-common.patch
48 +)
49 +
50 +src_compile() {
51 + tc-export PKG_CONFIG
52 +
53 + emake CC="$(tc-getCC)"
54 +}