summaryrefslogtreecommitdiff
path: root/x11-plugins/gkrellm-imonc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /x11-plugins/gkrellm-imonc
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'x11-plugins/gkrellm-imonc')
-rw-r--r--x11-plugins/gkrellm-imonc/Manifest2
-rw-r--r--x11-plugins/gkrellm-imonc/files/gkrellm-imonc-0.2-r2-pkgconfig.patch15
-rw-r--r--x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2-r2.ebuild32
3 files changed, 49 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-imonc/Manifest b/x11-plugins/gkrellm-imonc/Manifest
index e440f3b85897..89e4766ee713 100644
--- a/x11-plugins/gkrellm-imonc/Manifest
+++ b/x11-plugins/gkrellm-imonc/Manifest
@@ -1,4 +1,6 @@
+AUX gkrellm-imonc-0.2-r2-pkgconfig.patch 401 BLAKE2B e9d194209da9648d17ce606ed09379025d01f83154c5fa2c9b36da9adbb32904cdc7472b8ea8c1d306e86da49f6666621591df140d300f628c3a2affa015264c SHA512 ebef200c5371f9f478a85ef68417db66d9f3dde2df141cf4f53b9ca550a7ff86f389e6fcc3bf63e23ce001a6c68021df133d3671d0c3285356eeb2411669bb60
AUX gkrellm-imonc-makefile.patch 672 BLAKE2B f29982a0461ae9ffd8b6c1cec43a220ea06d2d39397746cc4cee4140ca5a678dbf95ec3079465cbb26a16d91f64e789fc483ab0c64981fa1380090d7a21559d2 SHA512 76919a21b7dc38b56d31f94e718a5e66125712ebf70551c1ae522da23689bb9d6a5086010fbd3b072ae8612a878d8f32f0c621ef09ece2f3d44ad1d026656f59
DIST gkrellm-imonc-src-0.2.tar.bz2 19189 BLAKE2B a0a2e48eca12dcdccedbc347e15f3cf72ae7be050e8f4b1ff71a48a2f53b6991119b413333620e9544f25337f966dd16742b280990364a69f9ef45a1a141cbaa SHA512 b6f5d8cfa90c708ed6e43d676c965ef0d850d12497adae35122fe07ac4ea235dd024b8415fbc40cf153e1bbcbeed1e632984b6f1e5ec9079a1fcfce915ace36e
EBUILD gkrellm-imonc-0.2-r1.ebuild 670 BLAKE2B f6e7af7868efbd91ccb9576af79991f056d131486b8364ce2ce449d8bf380617a8b1ca34bb25f23729a31fc15f73520306f146d4084c3849b6084353ca380487 SHA512 b531895e7813ccb426ff4c0b7a6e15d240847bb499d6cf17bb0e7d0c837ce04e6b167fe8efc861362843fe53e2552de3fd7d07e49906b01db4eddba553d1a546
+EBUILD gkrellm-imonc-0.2-r2.ebuild 733 BLAKE2B 3331538c4ef7292835b481d7c45fcbd7e66a3de45012b6bf33c51d771745b0f182a068ece6ef260d7f0f9a433a1c9a485cfcf9216a865e55c01e438b563326e6 SHA512 0d16e49caba8ed78f3d0682ba512145c9f8baf0c911e16beaf5fd43927c4c12d1d0b0affd462a681ce683074d48e735811ea04521a1122e236243c4eba6cbffd
MISC metadata.xml 251 BLAKE2B c569e245a84951e1da3acf2bc7bd4fddff868eb57c521be45f4437bb6aa834c7ff2a265d2fbaf841346a0c24f9addd1d196d8108fc877bd0eb9f3914f0f21f99 SHA512 912f4e9536eb42b728644472bdb0ac3ab585d97d67d256c1a305a92b69bd582bc4682df888aa393930a3a35e85db663a0cc5618a9163729434c7275fa71184cc
diff --git a/x11-plugins/gkrellm-imonc/files/gkrellm-imonc-0.2-r2-pkgconfig.patch b/x11-plugins/gkrellm-imonc/files/gkrellm-imonc-0.2-r2-pkgconfig.patch
new file mode 100644
index 000000000000..c8c1d8fe46ff
--- /dev/null
+++ b/x11-plugins/gkrellm-imonc/files/gkrellm-imonc-0.2-r2-pkgconfig.patch
@@ -0,0 +1,15 @@
+Respect user's pkg-config
+--- a/Makefile
++++ b/Makefile
+@@ -6,8 +6,9 @@ DISTRIB_DIR= gkrellm-imonc-$(VERSION)
+ #
+ #
+
+-GTK_INCLUDE = $(shell pkg-config gtk+-2.0 --cflags)
+-GTK_LIB = $(shell 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)
diff --git a/x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2-r2.ebuild b/x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2-r2.ebuild
new file mode 100644
index 000000000000..a06fa4d4fd66
--- /dev/null
+++ b/x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gkrellm-plugin toolchain-funcs
+
+DESCRIPTION="A GKrellM2 plugin to control a fli4l router"
+HOMEPAGE="http://gkrellm-imonc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tar.bz2"
+S="${WORKDIR}/${PN}-src-${PV}"
+
+# The COPYING file contains the GPLv2, but the file headers say GPLv2+.
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="app-admin/gkrellm:2[X]"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-makefile.patch
+ "${FILESDIR}"/${P}-r2-pkgconfig.patch
+)
+
+src_compile() {
+ tc-export PKG_CONFIG
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}