summaryrefslogtreecommitdiff
path: root/x11-misc/grabc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /x11-misc/grabc
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'x11-misc/grabc')
-rw-r--r--x11-misc/grabc/Manifest4
-rw-r--r--x11-misc/grabc/files/grabc-1.1-makefile.patch6
-rw-r--r--x11-misc/grabc/grabc-1.1-r2.ebuild9
3 files changed, 11 insertions, 8 deletions
diff --git a/x11-misc/grabc/Manifest b/x11-misc/grabc/Manifest
index 906eae6a98b1..72166cc4e979 100644
--- a/x11-misc/grabc/Manifest
+++ b/x11-misc/grabc/Manifest
@@ -1,4 +1,4 @@
-AUX grabc-1.1-makefile.patch 893 BLAKE2B 0a7738ada49d77f9907c61570cd7e2c1ec33c690e6d0dadd3bb48d8552a4d9d4cc1bd73b0416b35a3b553f27a11bd6606808750a1d0483d46a6540110f149398 SHA512 dabd881ff69c44550337ba75b1ea42490777cb6f5d7759da095e5445d68c3abab1b02601e64064d4b558c1136f7e777d7966e17ca37d9ec2f8257199416c559e
+AUX grabc-1.1-makefile.patch 806 BLAKE2B 6b63617e25cbec0080970d891cd359b639186dae8580f8f12c375512564519408554b9ec82bc3c124f1e2f0b704bb6f5d42dac0b0ab522ea02059c8200e0c38d SHA512 5e959bc3d3d6b743374b6651ce0e98fc510ad573c4ee7c922bae2e3b48415f85926bbfd4c553cd392ec2e954fdd74a14f905d79ae55fe7771eb34ac942af435b
DIST grabc1.1.tar.gz 2983 BLAKE2B 751d70fd1789e7b0cab8c8a9ac185c3f918de0a948f5514514dc0fe489cce0feb3fb9b17656cafb911735c84f5d8c990af571ed0ba454fb6021d4b6cd8a4aeee SHA512 9a2416fd0cda7bd6fb65092572e6ba932eeac33a8534efe53be8f4bac3576884003dd50075363acd2d8466a406ba8799a0cef51086700269728894913a748aeb
-EBUILD grabc-1.1-r2.ebuild 665 BLAKE2B 6cbbc1831c03c80be33f9c0154903c70bb30dffee84464c280a177fbff6c3700c1bbfdb37525235d06965174fcb44377f800683284c9e8e6c98896f9ba32fb85 SHA512 afeea8b62d56e187c19c9b2301b5114e7ee4f1119229e961b8e8bae00e95523a509ab198fad74f242903819b3f826ef22a4b20a6ab77d695a96c125ac9450998
+EBUILD grabc-1.1-r2.ebuild 694 BLAKE2B d2e1de5cb3bf579f8380e64ade7b193a81fc048b37e66f4cf5c70b3f6864fd3c7481e0cd5829ff22a9981920528a45ecea476571ae153c2d4f538e997e05b179 SHA512 bcf037e111902ef6cfbf421b2825f7e28d19c8e7de193a44e1dda3654cabf467a643aea21dcc625b706cffb769737916b08cb152ca00cc41448dda6801439865
MISC metadata.xml 276 BLAKE2B c4cbc92f4cc708c8a571df5735be5dc6d3b2b9d882265fbf398ca38a7c685a9da8d647e78d05a85edae0568f141b065edaa6ac6f6022106fabb8126740b1c60d SHA512 3497963f4fb51bb32521472b54a995091cb457d2cda65c786bd4b46e5af325caf8f6d5c969cefa0c09fe717df09fb015ec59b52f5571c3b2b9d4ea33e6c843ab
diff --git a/x11-misc/grabc/files/grabc-1.1-makefile.patch b/x11-misc/grabc/files/grabc-1.1-makefile.patch
index 4815ae5675c5..ef2968ba0e14 100644
--- a/x11-misc/grabc/files/grabc-1.1-makefile.patch
+++ b/x11-misc/grabc/files/grabc-1.1-makefile.patch
@@ -1,5 +1,5 @@
---- grabc1.1/Makefile.org 1997-03-17 06:51:39.000000000 +0100
-+++ grabc1.1/Makefile 2010-02-08 12:18:34.000000000 +0100
+--- a/Makefile
++++ b/Makefile
@@ -2,17 +2,15 @@
# Makefile automatically generated by genmake 1.0, Mar-16-97
# genmake 1.0 by ma_muquit@fccc.edu, RCS
@@ -8,7 +8,7 @@
DEFS=
PROGNAME= grabc
-LIBS= -L/usr/X11R6/lib -lX11
-+LIBS= $(shell pkg-config --libs x11)
++LIBS= $(shell ${PKG_CONFIG} --libs x11)
INCLUDES= -I.
diff --git a/x11-misc/grabc/grabc-1.1-r2.ebuild b/x11-misc/grabc/grabc-1.1-r2.ebuild
index 236e8510f814..847aacb19a8d 100644
--- a/x11-misc/grabc/grabc-1.1-r2.ebuild
+++ b/x11-misc/grabc/grabc-1.1-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
+
inherit toolchain-funcs
DESCRIPTION="Identify color of a pixel on the screen by clicking on a pixel on the screen"
@@ -15,13 +16,15 @@ IUSE=""
RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}
- x11-base/xorg-proto"
+ x11-base/xorg-proto
+ virtual/pkgconfig
+"
S="${WORKDIR}/${PN}${PV}"
PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
src_compile() {
- tc-export CC
+ tc-export CC PKG_CONFIG
default
}