diff options
Diffstat (limited to 'x11-plugins/gkrellkam')
-rw-r--r-- | x11-plugins/gkrellkam/Manifest | 2 | ||||
-rw-r--r-- | x11-plugins/gkrellkam/files/gkrellkam-2.0.0-r1-pkgconfig.patch | 13 | ||||
-rw-r--r-- | x11-plugins/gkrellkam/gkrellkam-2.0.0-r1.ebuild | 40 |
3 files changed, 55 insertions, 0 deletions
diff --git a/x11-plugins/gkrellkam/Manifest b/x11-plugins/gkrellkam/Manifest index 2d1c588a1a3b..20624411b4f0 100644 --- a/x11-plugins/gkrellkam/Manifest +++ b/x11-plugins/gkrellkam/Manifest @@ -1,4 +1,6 @@ AUX gkrellkam-2.0.0-makefile.patch 664 BLAKE2B 314b6971723bd4342aa4640d685eecf3e247d43849d3d9d05fc8acfbf8c4eb5f0a04d35eb054bd5d35103d195c3f4e3486469023234414fd8070921fa2d36acd SHA512 0bd0cfb320119eb32019616f4e52a1c821116b6abfd0b0d45c7fa06a642cb980fd6f0e62769388885691e5a4ecb06d812541b7b7b6ac37c9dd2042fdc6fd3898 +AUX gkrellkam-2.0.0-r1-pkgconfig.patch 400 BLAKE2B 9c65c7d9e0eee676151a7d00559fddbb847e88926d6f09f87f646f3d326be3dd677dde1a86e502a0e5ba6dcd9afeb0fe89078b8d1b2d48f2dafc18c49d53ef48 SHA512 9abc516f95037de9d6591d1a4b774d04b50953ece4a384a1f03193261c4cf9b7e46741aab0ce4e180a4f98b929ebf61c63b491514341d9f0e4f0a44f62ef70a8 DIST gkrellkam_2.0.0.tar.gz 27028 BLAKE2B 4bdfb89e2aa0f9001fbaedacb095e868497564612982cd3743547e1070bfbf173be5a441339d32e1be5146a511b840f6fd9a5450edad641895630d33eb5eb554 SHA512 a5a5d0a41de37b006c42150f0388ba573c968679f3f15c6b1d4837361d136cb529c2152723382e99bb46a76be5f1bde641137cea22e07a502402560dcd18699f +EBUILD gkrellkam-2.0.0-r1.ebuild 809 BLAKE2B 7f5f41c5d8b9f1b39897b6934e33d0e9f00aa55405586b03cd56807ca76195e333aceafda5cb7d478056917b16781531d0e47eee26450d3905ee588366b1dfa1 SHA512 6ed25649d1387c6358dbf9ab861eed76d810aeffc8f2d64f563c88f2b6e5b296dacab4f64e90d8380153a4bc7ca02caad50a97348bf1fb372ab4c03144ffe5b3 EBUILD gkrellkam-2.0.0.ebuild 726 BLAKE2B a9b1714fa15f12a2c930af5a659cca8b7b071b206dd33987ea5f7a81904f36253c57fd92496c199963fd17b77df2eea46a0c8ac55e5b49ffe05cf98e2dfdf8c6 SHA512 57ed198e4ddf418706cc3c200be753116b1e1ba3c4f3b34448b33ebb0f389189b91c1b1756366c931fbe36c851578c81045252c4abc33fda42926054980fb0b3 MISC metadata.xml 247 BLAKE2B bc8a671dda571420b2fe59f271b65f7467459e7dc02f13c2c3d4ddbc2c9385473f6ebb735b90dffd21a4e2eb3d2035d34e23b0c01c621b724d5183eb4e34165f SHA512 5abf93f2dc4d80fecfce931af945e3c45fd7fc7e4e84ccf238a6aa8b2ff0d60e6ccd7b943d32613bdfdf3a9fdaef9aad7a4dbfe9f8040b6045134b003bd7e407 diff --git a/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-r1-pkgconfig.patch b/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-r1-pkgconfig.patch new file mode 100644 index 000000000000..c5993890fe6e --- /dev/null +++ b/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-r1-pkgconfig.patch @@ -0,0 +1,13 @@ +--- a/Makefile ++++ b/Makefile +@@ -12,8 +12,9 @@ DESTDIR = + # This should point to the GKrellM headers + GKRELLM_HDRS = /usr/include + ++PKG_CONFIG ?= pkg-config + CC = $(CC) +-GTKFLAGS := $(shell pkg-config gtk+-2.0 --cflags) ++GTKFLAGS := $(shell ${PKG_CONFIG} gtk+-2.0 --cflags) + CFLAGS := $(CFLAGS) -fPIC $(GTKFLAGS) -I$(GKRELLM_HDRS) + LFLAGS = -shared + INST_DIR := $(DESTDIR)/usr/lib/gkrellm2/plugins diff --git a/x11-plugins/gkrellkam/gkrellkam-2.0.0-r1.ebuild b/x11-plugins/gkrellkam/gkrellkam-2.0.0-r1.ebuild new file mode 100644 index 000000000000..951eb4818034 --- /dev/null +++ b/x11-plugins/gkrellkam/gkrellkam-2.0.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gkrellm-plugin toolchain-funcs + +MY_P=${P/-/_} + +DESCRIPTION="an Image-Watcher-Plugin for GKrellM2" +HOMEPAGE="http://gkrellkam.sourceforge.net" +SRC_URI="mirror://sourceforge/gkrellkam/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND=" + app-admin/gkrellm:2[X] + net-misc/wget" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${P}-r1-pkgconfig.patch +) + +src_compile() { + tc-export PKG_CONFIG + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +} + +src_install() { + local PLUGIN_SO=( ${PN}2$(get_modname) ) + local PLUGIN_DOCS=( example.list ) + + gkrellm-plugin_src_install + doman gkrellkam-list.5 +} |