mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user