diff options
author | Thomas Bracht Laumann Jespersen <t@laumann.xyz> | 2022-03-24 21:22:33 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-21 20:54:29 +0100 |
commit | c4a5fe089e964db669c527c85ef106884bca4be7 (patch) | |
tree | 296e88ad7313eb4a8614bfd1a973db4f9dbca8a7 /x11-plugins/gkrellshoot | |
parent | x11-plugins/gkrellm-cpupower: update EAPI 6 -> 8 (diff) | |
download | gentoo-c4a5fe089e964db669c527c85ef106884bca4be7.tar.gz gentoo-c4a5fe089e964db669c527c85ef106884bca4be7.tar.bz2 gentoo-c4a5fe089e964db669c527c85ef106884bca4be7.zip |
x11-plugins/gkrellshoot: update EAPI 6 -> 8
Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-plugins/gkrellshoot')
-rw-r--r-- | x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch | 25 | ||||
-rw-r--r-- | x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild | 31 |
2 files changed, 56 insertions, 0 deletions
diff --git a/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch new file mode 100644 index 000000000000..d6dfb54e4354 --- /dev/null +++ b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch @@ -0,0 +1,25 @@ +From 47a80a178b4ab0225ff0540376be5b5c740530a7 Mon Sep 17 00:00:00 2001 +From: Thomas Bracht Laumann Jespersen <t@laumann.xyz> +Date: Sat, 26 Mar 2022 10:32:18 +0100 +Subject: [PATCH] pkgconfig + +--- + Makefile | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index e5a4895..296f807 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,6 @@ +-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) + LIBS = $(GTK_LIB) +-- +2.34.1 + diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild new file mode 100644 index 000000000000..d5bff5dbad4b --- /dev/null +++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gkrellm-plugin toolchain-funcs + +DESCRIPTION="GKrellm2 plugin to take screen shots and lock screen" +HOMEPAGE="http://gkrellshoot.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellshoot/${P}.tar.gz" +S="${WORKDIR}/${P/s/S}" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +DEPEND="app-admin/gkrellm:2[X]" +RDEPEND=" + ${DEPEND} + virtual/imagemagick-tools" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/makefile-respect-flags.patch + "${FILESDIR}/${P}"-r4-pkgconfig.patch +) + +src_compile() { + tc-export PKG_CONFIG + default +} |