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/gkrellstock |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/gkrellstock')
-rw-r--r-- | x11-plugins/gkrellstock/Manifest | 6 | ||||
-rw-r--r-- | x11-plugins/gkrellstock/files/gkrellstock-0.5-ldflags.patch | 16 | ||||
-rw-r--r-- | x11-plugins/gkrellstock/gkrellstock-0.5.1-r1.ebuild | 43 | ||||
-rw-r--r-- | x11-plugins/gkrellstock/metadata.xml | 8 |
4 files changed, 73 insertions, 0 deletions
diff --git a/x11-plugins/gkrellstock/Manifest b/x11-plugins/gkrellstock/Manifest new file mode 100644 index 000000000000..d080e5a185c4 --- /dev/null +++ b/x11-plugins/gkrellstock/Manifest @@ -0,0 +1,6 @@ +AUX gkrellstock-0.5-ldflags.patch 412 SHA256 f54ecdd6dbcc485f269aae13b7996a7af0b04466ca2142d29efcc588b87f3a6c SHA512 626b1953988ce00d76270a779fcf7c5a2c0b599cd57ec0873ce2328c6cbbaaf7042cb8d608da9b0398205d29879c37ef9179edadf980ad5601b6eecac5fb7613 WHIRLPOOL e8f93a2dec5e95807fa24c153c513d7c5cadc2051fb90320e404b0bdbbcf02f8e288d2b92ecca5d1b10128a6e859f3b0611585174fc02a08fd6851b54e34369e +DIST gkrellstock-0.5.1.tar.gz 22385 SHA256 56711b5b19cb747dfc5fbb99c00a542a9df55959f88c9664edc2df3829115f61 SHA512 040e6271a0b0ca3f7be52cc64076a8d1b538fc7607a9ae54acf1c9dc176b094c1483b10c1813a929dcf47dff4fee8c18b7ca58472343c83edfa58a32edc7776c WHIRLPOOL 7ec087847de4c600110857fa4aea8f91a92f51e2ad0c88e8bd22741235a9247c68c72e454d385dcca104c56429f8c8e455bcb398f54ad57cc6a0270f7dfd7bf9 +EBUILD gkrellstock-0.5.1-r1.ebuild 818 SHA256 c4c427dbd9c934f6a04e161ef2f6a77d9e39b43499b0955c4aa5b3b6cef4f01e SHA512 50bdc6ec6c6bbe3ed687522049e7a6eb1f8320a3cc23d9cdd589e74dbfd6bbe00849c7fa7fc951cf444f2ebb5e484bdb175e64d6c8f7b02ae006ca8704abc2a7 WHIRLPOOL edb3b86fb9d48deedca814311950fd81971946693b72a6447af446700f58be5d084bc3fdd9c209f32be0f25245f43186aba7c68027e2a3f96e8b5bf917556e1e +MISC ChangeLog 2573 SHA256 5fef7a725de768c2dcfe6a3fbd95034e3eae474f900079fb6508f7ed5636554a SHA512 98683e65a131f1fa674ea6ed28960606f6c5865f0c82826021ec9b74651990f49f82c4eb581b2bf8b8a97700af59c03522b02ac3f7c305816358a8fba283862f WHIRLPOOL 530fffb7a50c6996b328e5ab60d0122d568e07b3dd0b8039fd80b1ee3cf1aed38720dadcedd0799e7d0831b4417fb406abde3444fc811c80106ff30e50d07b5b +MISC ChangeLog-2015 2611 SHA256 7e2d2d9fffcab09255d0983edf95c6984d0a5404c1c17352443f3b8468f8ef7c SHA512 56728473c17752690daed253f02629c70693a5220d7f157ed527ea5e6610c910fdd0dd3347ea7d40443806a7bf1008b073c4748a4c5b5fcc14bac92bdead1ce2 WHIRLPOOL 53ec8f3243dc0907f51cd635d1533af6d681c7844c9b4057b5ca65f169177b99f0f3eff84e54045966a3c00cd5154b43288012f5ae83550a6a715180cc116a20 +MISC metadata.xml 253 SHA256 6db5c4959e81cf917cff33986e7e5fa10749c1a5a9ebb74eff79bf8aafcb3bfc SHA512 e3035e8f82cfbe32727054a8ce727ffd771b4d908f78f6fa2f0e84ff82b0f9a6cf6c9abe2a32f148eeee28d2bf7c9cfc57d6b51b0860febdf6a640caa953827e WHIRLPOOL 03df460cbe277912c5b8d8a5f2a91e6ff609e2d27da6d6a42fa27705fc2c61de03fdb653b5a7a70a38092177a8ddc8b5adb7849f436e9c13b5c7de271a9195c9 diff --git a/x11-plugins/gkrellstock/files/gkrellstock-0.5-ldflags.patch b/x11-plugins/gkrellstock/files/gkrellstock-0.5-ldflags.patch new file mode 100644 index 000000000000..116e6ec3e4bd --- /dev/null +++ b/x11-plugins/gkrellstock/files/gkrellstock-0.5-ldflags.patch @@ -0,0 +1,16 @@ + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index eb26b17..79e4391 100644 +--- a/Makefile ++++ b/Makefile +@@ -10,7 +10,7 @@ CC = gcc $(CFLAGS) $(FLAGS) + OBJS = gkrellstock.o + + gkrellstock.so: $(OBJS) +- $(CC) $(OBJS) -o gkrellstock.so $(LFLAGS) $(LIBS) ++ $(CC) $(LDFLAGS) $(OBJS) -o gkrellstock.so $(LFLAGS) $(LIBS) + + clean: + rm -f *.o core *.so* *.bak *~ diff --git a/x11-plugins/gkrellstock/gkrellstock-0.5.1-r1.ebuild b/x11-plugins/gkrellstock/gkrellstock-0.5.1-r1.ebuild new file mode 100644 index 000000000000..adbd9c88ad4f --- /dev/null +++ b/x11-plugins/gkrellstock/gkrellstock-0.5.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit flag-o-matic gkrellm-plugin toolchain-funcs + +DESCRIPTION="Get Stock quotes plugin for Gkrellm2" +HOMEPAGE="http://gkrellstock.sourceforge.net/" +SRC_URI="mirror://sourceforge/gkrellstock/${P}.tar.gz" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RDEPEND=" + app-admin/gkrellm[X] + dev-libs/glib:2 + x11-libs/gtk+:2 + dev-perl/libwww-perl + dev-perl/Finance-Quote +" +DEPEND="${DEPEND} + virtual/pkgconfig +" + +S="${WORKDIR}/${P/s/S}" + +src_prepare() { + default + eapply "${FILESDIR}"/${PN}-0.5-ldflags.patch + append-cppflags $($(tc-getPKG_CONFIG) --cflags gtk+-2.0) + append-flags -fPIC +} + +src_compile() { + emake CC=$(tc-getCC) +} + +src_install () { + gkrellm-plugin_src_install + dobin GetQuote2 +} diff --git a/x11-plugins/gkrellstock/metadata.xml b/x11-plugins/gkrellstock/metadata.xml new file mode 100644 index 000000000000..4724cb4aafbc --- /dev/null +++ b/x11-plugins/gkrellstock/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">gkrellstock</remote-id> + </upstream> +</pkgmetadata> |