summaryrefslogtreecommitdiff
path: root/x11-misc/gromit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-16 17:51:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-16 17:51:01 +0100
commitd83532aee7e94505bf23da29e6224ca164aac759 (patch)
treefcd6dbea91816dd541b6c602b5fed02ca574a5f6 /x11-misc/gromit
parenta2844b413d00a2859401e017a0311986151e1594 (diff)
gentoo auto-resync : 16:04:2023 - 17:51:01
Diffstat (limited to 'x11-misc/gromit')
-rw-r--r--x11-misc/gromit/Manifest4
-rw-r--r--x11-misc/gromit/files/gromit-20041213-build.patch6
-rw-r--r--x11-misc/gromit/gromit-20041213-r2.ebuild (renamed from x11-misc/gromit/gromit-20041213-r1.ebuild)23
3 files changed, 14 insertions, 19 deletions
diff --git a/x11-misc/gromit/Manifest b/x11-misc/gromit/Manifest
index 9d7d2e1aff6a..b36bb1642d69 100644
--- a/x11-misc/gromit/Manifest
+++ b/x11-misc/gromit/Manifest
@@ -1,4 +1,4 @@
-AUX gromit-20041213-build.patch 873 BLAKE2B d8f88ec45871bfd7af5626107920683510be979c3c7557033208316f428c2470f3fe0ffe2b9bd58126ad61dcfc47e8ff1e93acbf4f3cbf332f2414b6a056090f SHA512 99f638750af04813495edfe0605e6213df30dd408d547964c82e349c0c3e023e12e4d5ea9ac60a2b428f1241b26c80565987d987ab77de2c802556c0048b9084
+AUX gromit-20041213-build.patch 949 BLAKE2B 77b65b01ba09e07e70c3a64f00970efc26952ecc229a4e0533f1d3dd1c9ae28872af35afff8b0e71429e4ebb14a51d16166fb51e3b9b43778f50864bf5425ddf SHA512 66aa7eb9d2be44dfe00847007b1282c1a8bb0d953249c83ae135a615db66b5811458bfea88f1859bc195261f40a419b016bf70fdb3953149afed66e793f4f81c
DIST gromit-20041213.tar.gz 21970 BLAKE2B 44740d29086bb5f7cfd11a882ffb8e89cd0ea87bd91c0017376b312211b64bd999f9dc81fce358b6a1d7d311f0a34940bd81b205ee2baa54112c930309109585 SHA512 8d10953bf0500e9b411ce6d7b6c43b295ab64113e8a873438409de8a1aad19b685483045341b0af889e7c833816f035c95dda90d3c201caf7c69ea7cbad57e42
-EBUILD gromit-20041213-r1.ebuild 633 BLAKE2B 9af003435ec8b3316171aba10b9340d5f30fd51ce5715e9fc198fde3d9d5a8ddb13d4071882cae8bb01b82a47842b45e22c31881039fe87c8fa88c46d02b835a SHA512 fd7e969e95a100fcb2f7a3681eb37ba3a48622877c87aee9052ac0b3a806fcb5ad4f860fad26033c95c31022c7c96d97c2615edda859db11aaa8a6ad502f8602
+EBUILD gromit-20041213-r2.ebuild 623 BLAKE2B 4b1317603f14136d1bae5d5c2283ea7fad6cfc2592e30e1fba52e1462a9a938bb91c6ff29753ed3171db53f6993a4bb2b00d490b5d2dcbb0f1ba8e372f0be1a2 SHA512 328b2abe98437c13958bdbb38554ea57a4e4eef3459ed34bd9b6248c815f6c18e4a1200f97471c1dfd801f0b118c8241628957fd1daa02fb91a1b41be6ad46dc
MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a
diff --git a/x11-misc/gromit/files/gromit-20041213-build.patch b/x11-misc/gromit/files/gromit-20041213-build.patch
index b539aa9e6dca..c32653410f5b 100644
--- a/x11-misc/gromit/files/gromit-20041213-build.patch
+++ b/x11-misc/gromit/files/gromit-20041213-build.patch
@@ -8,12 +8,12 @@ Fix underlinking for bug #369453.
proptest: proptest.c
- gcc -o proptest proptest.c `gtk-config --libs --cflags`
-+ $(CC) -o proptest proptest.c `gtk-config --libs --cflags`
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o proptest proptest.c `gtk-config --libs --cflags`
propertywatch: propertywatch.c
- gcc -o propertywatch propertywatch.c `gtk-config --libs --cflags`
-+ $(CC) -o propertywatch propertywatch.c `gtk-config --libs --cflags`
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o propertywatch propertywatch.c `gtk-config --libs --cflags`
gromit: gromit.c Makefile
- gcc -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c -Wall `pkg-config --libs --cflags gtk+-2.0`
-+ $(CC) -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c -Wall $(CFLAGS) $(LDFLAGS) `${PKG_CONFIG} --libs --cflags gtk+-2.0` -lX11 -lm
++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c -Wall `$(PKG_CONFIG) --libs --cflags gtk+-2.0 x11` -lm
diff --git a/x11-misc/gromit/gromit-20041213-r1.ebuild b/x11-misc/gromit/gromit-20041213-r2.ebuild
index 5c81d81cc756..a5597d8987db 100644
--- a/x11-misc/gromit/gromit-20041213-r1.ebuild
+++ b/x11-misc/gromit/gromit-20041213-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit toolchain-funcs
@@ -14,22 +14,17 @@ SLOT="0"
KEYWORDS="~amd64 ppc x86"
RDEPEND="x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
-PATCHES=(
- "${FILESDIR}"/${P}-build.patch
-)
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
-src_compile() {
- tc-export PKG_CONFIG
-
- emake CC="$(tc-getCC)"
+src_configure() {
+ tc-export CC PKG_CONFIG
}
src_install() {
- dobin ${PN}
- newdoc ${PN}rc ${PN}rc.example
+ dobin gromit
+ newdoc gromitrc gromitrc.example
einstalldocs
}