diff options
Diffstat (limited to 'x11-plugins/gkrellshoot')
-rw-r--r-- | x11-plugins/gkrellshoot/Manifest | 2 | ||||
-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 |
3 files changed, 58 insertions, 0 deletions
diff --git a/x11-plugins/gkrellshoot/Manifest b/x11-plugins/gkrellshoot/Manifest index a93b328d815f..0405b780b8be 100644 --- a/x11-plugins/gkrellshoot/Manifest +++ b/x11-plugins/gkrellshoot/Manifest @@ -1,4 +1,6 @@ +AUX gkrellshoot-0.4.4-r4-pkgconfig.patch 657 BLAKE2B 83d9168314c216241894fc7ef354c8e271d1a551d4809bb03aedc7265314778ec3ae08f9bcf5070742fe45e40b90769cf7691bc27223cca7facdc3fb429adfb1 SHA512 02afe801966bc62dbd90cf573a25c196e0b4f4b3c31c98a464214cdf52dd6b09d5e686e04226160c90dfc392005e0ba9d8e4b1beac83f54693d7af6c520a3f87 AUX makefile-respect-flags.patch 663 BLAKE2B 1129e147524560fd8a5ff2979453ed9aa0a8abb03b940d989106f18f887b571cd09a72454da05325b94c369ee72c4bfca2981945910ddd6e7c3e9ab1fe35b0cc SHA512 a58b16f0b95533be587f2fe1a63ba7c19ade8dfd9b432d2423aee3ff7b99789d662cb7ed0e04854ed1b315c106586c4cd527427b5ce395b3bbeffedf2c5fff80 DIST gkrellshoot-0.4.4.tar.gz 16556 BLAKE2B 417217ffa500d8b0cc4ddd80849b2da83e3e55bc489db83fd7c8992f42af9ebb385c1ece17cae65cb7393bffadaaffd70e11a4dea16aa4d2b2f19e0b828a6833 SHA512 9363c045a99c23f8fedf95ac82c7bab4ce21acb675fdabdd831f174d9816a14a22ed6d7048d475b4c4199b9e6a88f3f663702ac2f9304f08860339beb323322a EBUILD gkrellshoot-0.4.4-r3.ebuild 541 BLAKE2B 746f277ca038103ccb9c7b98c847491fe6e9f3ca6cda44cf90b4470bd7dc19bfbb20b6b773ada9aa8147fb12c45d4f75540fac087aac70bca0fb0bb895c157eb SHA512 8ea26318ee2156ec26d4cbe03bed76aa639440e02c1759a893328bbbdea0d45ccd79035ca915574369c9e8c5a9426f523ae0e3b5f2bbeec0930046a0a5f919e0 +EBUILD gkrellshoot-0.4.4-r4.ebuild 670 BLAKE2B 4ecf3398db9cadc52afd5a5065200f932127849a8a2ae597da7dd14a46729aa01ab7f53fcd35b9a699691f1e0a13746766b6cacda5f4c14adb65eedb0a5ec58c SHA512 f754d67d76029e16d7cbf4e9d335bcf467bdbed223ce9fe0209a28f45e2b16d905d7abc40839dcaac20b87cd2f2e1b4d82a4c0dd95f4141fca17814f9d1a506f MISC metadata.xml 249 BLAKE2B 3035b160871880c8efce1239c00a3560c8c7b2b8eda5ebe8dab078c77496de9815444cdb9e7440687681828490e7684c2794406444eedf71fa380f5cd3c35b05 SHA512 01584093d9f32130ab091c0101ca41fba98d46fc3670c9598f052ef4393659bc8fc964d4b6232c7724eb7d0e03e32901b231799a595fa7f6626b3367dd116a68 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 +} |