* [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellmlaunch/files/, x11-plugins/gkrellmlaunch/
@ 2022-04-21 19:55 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2022-04-21 19:55 UTC (permalink / raw
To: gentoo-commits
commit: f1b13d98cc927be8c6540fc5076555687bdd20c1
Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Thu Mar 24 21:20:00 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 19:54:31 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b13d98
x11-plugins/gkrellmlaunch: update EAPI 6 -> 8
Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/gkrellmlaunch-0.5-r1-pkgconfig.patch | 20 ++++++++++++++++
.../gkrellmlaunch/gkrellmlaunch-0.5-r1.ebuild | 28 ++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/x11-plugins/gkrellmlaunch/files/gkrellmlaunch-0.5-r1-pkgconfig.patch b/x11-plugins/gkrellmlaunch/files/gkrellmlaunch-0.5-r1-pkgconfig.patch
new file mode 100644
index 000000000000..be77d1619c8b
--- /dev/null
+++ b/x11-plugins/gkrellmlaunch/files/gkrellmlaunch-0.5-r1-pkgconfig.patch
@@ -0,0 +1,20 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,8 @@
+ # Sample Makefile for a GKrellM plugin
+
+-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
+-GTK_LIB = `pkg-config gtk+-2.0 --libs`
++PKG_CONFIG ?= pkg-config
++GTK_INCLUDE = $(shell ${PKG_CONFIG} gtk+-2.0 --cflags)
++GTK_LIB = $(shell ${PKG_CONFIG} gtk+-2.0 --libs)
+
+
+ FLAGS = -fPIC $(GTK_INCLUDE)
+@@ -25,4 +26,4 @@ gkrellmlaunch.so: $(OBJS)
+ clean:
+ rm -f *.o core *.so* *.bak *~
+
+-gkrellmlaunch.o: gkrellmlaunch.c
+\ No newline at end of file
++gkrellmlaunch.o: gkrellmlaunch.c
diff --git a/x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5-r1.ebuild b/x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5-r1.ebuild
new file mode 100644
index 000000000000..a3f3ab6d277b
--- /dev/null
+++ b/x11-plugins/gkrellmlaunch/gkrellmlaunch-0.5-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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/"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+RDEPEND="app-admin/gkrellm:2[X]"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-makefile.patch
+ "${FILESDIR}"/${P}-r1-pkgconfig.patch
+)
+
+src_compile() {
+ tc-export PKG_CONFIG
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-21 19:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21 19:55 [gentoo-commits] repo/gentoo:master commit in: x11-plugins/gkrellmlaunch/files/, x11-plugins/gkrellmlaunch/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox