diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/gkrellkam |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/gkrellkam')
-rw-r--r-- | x11-plugins/gkrellkam/Manifest | 6 | ||||
-rw-r--r-- | x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch | 25 | ||||
-rw-r--r-- | x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild | 35 | ||||
-rw-r--r-- | x11-plugins/gkrellkam/metadata.xml | 8 |
4 files changed, 74 insertions, 0 deletions
diff --git a/x11-plugins/gkrellkam/Manifest b/x11-plugins/gkrellkam/Manifest new file mode 100644 index 000000000000..341c7dc01bae --- /dev/null +++ b/x11-plugins/gkrellkam/Manifest @@ -0,0 +1,6 @@ +AUX gkrellkam-2.0.0-makefile.patch 736 SHA256 5a38d7858940ca436713fabd77a3cb9c61db98a75723bab4cba1cd24777cd75a SHA512 2f1e9d506bdd56413ef3dd15c3525adb2dc33ddf3304bbb7c0a64e38a027f5aa3e79304448fd301eef8aa031630b8d45d295a01ff3c0a16cff51b1ed8bbfddf3 WHIRLPOOL 76ba3ba398e79535dfacd555ddf5e1119e26bc276b71feccc49a994a3516a24c7283660fe9f755c5ae2fb110623da538bd0f4a758b62329e4b915832cf55825f +DIST gkrellkam_2.0.0.tar.gz 27028 SHA256 4d0c208c3654f54c0ff6b3e87d1f046d21415b73266e5aa053a77173507e460f SHA512 a5a5d0a41de37b006c42150f0388ba573c968679f3f15c6b1d4837361d136cb529c2152723382e99bb46a76be5f1bde641137cea22e07a502402560dcd18699f WHIRLPOOL c1e8c6a6728b7eeff80d00b8c8596817065469e3da0631b761e9aa4b105bd04331f0c07ceb0dedc9af4acd9f70583ffc2355f8e9824a8efa2bbfbca960bd9f43 +EBUILD gkrellkam-2.0.0.ebuild 717 SHA256 548788c7990bb05eb7bd5cb4c06cce0d8cbf5497c834f5779634ce0994af046d SHA512 67affe4426f96d539ceab1005a9a05e8fb1fb47b5f5bc31b2e59b5a0cff17587e154cf44e42b6907d3fcc7b21d45205ce01d7cda4b2958d0e642834b86453a51 WHIRLPOOL 04788eb75cd0936c47b2c87f3cd31ef54423ceeb3387c4f53ad1612a23a5d4a7ccdc2210809250672f6019b191d8166b79de4f6602f2b686fd9b1577af4e37ef +MISC ChangeLog 2506 SHA256 cf20483dd90bc3f30eb0c7cc7ddddedbce41212789d486136992b9389c7f2b37 SHA512 4f461dafdbe68b347214caf648623524ea18666f0f478970a3a6bde1c684537fa87a897c5d099c437b98290cc080294df4eb17c280f538d77af1d51bffc393d6 WHIRLPOOL 927f40d473fae1282475c3bc18a07104ebd0a5aec5ac5ce2597e20e697afe6d9888227c463d8b73e71735b522a78d851af089a69355746d6aa93987c24517d9f +MISC ChangeLog-2015 2436 SHA256 e622e307a1f09772132569e8ad0840c38f78ed9541268df5758bb126d6073cb1 SHA512 5148209da5790a4d3d0e3e9acd0b2de22969255052f60e1b7e7ed0752ec9bb1b3738693bb4d5bf15562100ca9d39d244d45146488f6859d8d3a9c367b8d1f001 WHIRLPOOL c517002b9cba6227583ba623b4ddb5248ebc239ff05789edb2a1bf5aa4c8bf0ead75ed35e39cddb1f15d2869c7330e45068d069fceb3fe28a50d0b1eb0315705 +MISC metadata.xml 246 SHA256 18c52fed3637fdb570e5796ad28563ecf9d7ba8a0a3b5b620b96174489e39171 SHA512 d2f8e92a8d448540a85d35b296a7946560b91b984662eb6a955180874cc4219b7ac35294da7384525d59e743808beec95ffbf6aa343cb9304a4e7179b136276e WHIRLPOOL 812732430fc32e8ecfadf94ef066f760b7617c831640726557b8fd8996953b6ddaa5f84ea767f09655bacc50d4bd4bce3ae998c47566e2a455e1807c894bf097 diff --git a/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch b/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch new file mode 100644 index 000000000000..83178b4b0ff8 --- /dev/null +++ b/x11-plugins/gkrellkam/files/gkrellkam-2.0.0-makefile.patch @@ -0,0 +1,25 @@ +--- Makefile 2002-10-23 18:36:20.000000000 +0200 ++++ Makefile_new 2013-03-16 14:02:42.979029588 +0100 +@@ -12,10 +12,10 @@ + # This should point to the GKrellM headers + GKRELLM_HDRS = /usr/include + +-CC := gcc ++CC = $(CC) + GTKFLAGS := $(shell pkg-config gtk+-2.0 --cflags) +-CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) -I$(GKRELLM_HDRS) +-LDFLAGS := -shared -Wl ++CFLAGS := $(CFLAGS) -fPIC $(GTKFLAGS) -I$(GKRELLM_HDRS) ++LFLAGS = -shared + INST_DIR := $(DESTDIR)/usr/lib/gkrellm2/plugins + USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm2/plugins + MANPAGES := gkrellkam-list.5 +@@ -26,7 +26,7 @@ + all: $(TARGET).so + + %.so: %.o +- $(CC) $(LDFLAGS) -o $@ $< ++ $(CC) $(CFLAGS) $(LDFLAGS) $(LFLAGS) -o $@ $< + + clean: + -rm -f $(TARGET).so $(TARGET).o diff --git a/x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild b/x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild new file mode 100644 index 000000000000..ae3ad974d5de --- /dev/null +++ b/x11-plugins/gkrellkam/gkrellkam-2.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +inherit eutils gkrellm-plugin toolchain-funcs + +MY_P=${P/-/_} + +DESCRIPTION="an Image-Watcher-Plugin for GKrellM2" +SRC_URI="mirror://sourceforge/gkrellkam/${MY_P}.tar.gz" +HOMEPAGE="http://gkrellkam.sourceforge.net" +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="x86 ppc sparc alpha amd64" + +RDEPEND="net-misc/wget + app-admin/gkrellm[X]" +DEPEND="${RDEPEND}" + +PLUGIN_SO=gkrellkam2.so +PLUGIN_DOCS="example.list" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +} + +src_install () { + gkrellm-plugin_src_install + doman gkrellkam-list.5 +} diff --git a/x11-plugins/gkrellkam/metadata.xml b/x11-plugins/gkrellkam/metadata.xml new file mode 100644 index 000000000000..f95fb95de88a --- /dev/null +++ b/x11-plugins/gkrellkam/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">gkrellkam</remote-id> + </upstream> +</pkgmetadata> |