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/gkwebmon |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/gkwebmon')
-rw-r--r-- | x11-plugins/gkwebmon/Manifest | 6 | ||||
-rw-r--r-- | x11-plugins/gkwebmon/files/respect-cc-cflags-ldflags.patch | 48 | ||||
-rw-r--r-- | x11-plugins/gkwebmon/gkwebmon-0.2-r2.ebuild | 28 | ||||
-rw-r--r-- | x11-plugins/gkwebmon/metadata.xml | 8 |
4 files changed, 90 insertions, 0 deletions
diff --git a/x11-plugins/gkwebmon/Manifest b/x11-plugins/gkwebmon/Manifest new file mode 100644 index 000000000000..912c6cd735f1 --- /dev/null +++ b/x11-plugins/gkwebmon/Manifest @@ -0,0 +1,6 @@ +AUX respect-cc-cflags-ldflags.patch 1232 SHA256 901e22d81ddb44eef6e473e4816368e67588313ede8dc5204f352861409471d6 SHA512 0ce0b0ed7832ede335447d4abb7cf3904e97f9dff334aeb14a03e09cfe042de47bca456b7fc38bd7171440bcefd0da8a17cc01f1d540b84ffbf644e216f273a2 WHIRLPOOL 27e9871ea13187de52d95f07ae5ed3cbd77a0e8710fa109075b03d8fa8316b21544d94782dbbded076e6d32bea270d5e3582d92b1191f47aaa16f96c29d8fdbd +DIST gkwebmon-0.2.tgz 14163 SHA256 994fb242dfca89ed710bfb35ec8de384d202274332943f870b3f72e73d97ae09 SHA512 0af4eaa8636b43232e209e6381a3852eb92b9505da4b19e31137766f4bee7977bf4e4bed40518df0fcc3aef2dc62767c85169e70f1fbfc738bb428ae8affac63 WHIRLPOOL 1b7f4d288eb5be01a1048b3f22bcf9acf399da65e377018a856d1fa29a5907723b8aed7bef27c976d96c7dc3a5817920652ec99edc645e65164b5c77d1311c11 +EBUILD gkwebmon-0.2-r2.ebuild 615 SHA256 72fa1c9bd1f93fdba468a1a9f9f68c7b3d658262f8ff1521857d224eff0fe821 SHA512 431ce8dfc2a878d67a5c8c93e78e4e22b86abd0d88669396d2886d132a6e48c9c68e50e7f70c10c27699f0efa7b5f54b6e5edda44d86af8c93d8d257bd8a95b0 WHIRLPOOL ad76b8020fa05cee88f81a2e65420049535b9adf823fd7d52c9c7bc627c9e4da20034f9a2735183d5e1c101d60e14e5a5f9a89e7ceb301a8e4191588bfb52ef0 +MISC ChangeLog 3176 SHA256 ec6a081dad984d9ee18164cc3fa06207152e9484da8d5a27da4cc4f915216194 SHA512 95b6e8f7abd501f5235a23966604d4f6a9b3e143a726e6101b9c7a62dfdb576deb1ec01cb55e6ccf99b4e106a6d45ac4ec8808f20d9f1b8ebd27d83515e7bd67 WHIRLPOOL 622511e26efcee54cc9f584d421ea08458325065cf838b3325646047eb94663a385e6254a0f07ba4bd993403bacaabd445e7d833b97d143770757ef3f521dd08 +MISC ChangeLog-2015 1531 SHA256 01fd68f1a2f9def1d620cb076929ce7d3a6b69f8f1f5037fbcf61755649c32c9 SHA512 7e9889079b06449a8c96c82bdeeea7782e5644a895231092cd60453d417e4bb2fe3ee026f57b37e7ac66261968e11df098a17249e1fa74cfce67918df0e5bf46 WHIRLPOOL 4252c96c2501b0f20c8ea857a5d81fe69bcaed45975257555d9c5395ac5bb1a9329ff698d35c95273d08d9eee6f2b8ca6ccd96f03cca8860fc18bb4f1609f48d +MISC metadata.xml 245 SHA256 5449722c785cfec83360755b6afa069e0970ca61378ff66f4a1f9584c4e5108e SHA512 9059fda6f95a78a0bb5334c05a118b9159d8dd28701bf6986574bb95ba897f1ff03257a8a939c6353136e5ab28f4614cd927cc593c41558ec8826b9c1ca1a015 WHIRLPOOL ae422fefc9588c8b735a010bf800971fd7b6b50f5c6cb65047a8b4bf5072eadd56262263b3c94d2790b01820979a65efdbe77586698ad51e5619e919a6c86372 diff --git a/x11-plugins/gkwebmon/files/respect-cc-cflags-ldflags.patch b/x11-plugins/gkwebmon/files/respect-cc-cflags-ldflags.patch new file mode 100644 index 000000000000..7b3ee50f5321 --- /dev/null +++ b/x11-plugins/gkwebmon/files/respect-cc-cflags-ldflags.patch @@ -0,0 +1,48 @@ +From ef7dcbf8495d03c8cf96d4fb30adf38b15e1ca74 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Mon, 29 Aug 2016 20:44:45 -0400 +Subject: [PATCH 1/1] Clean up variable usage in Makefile to support LDFLAGS + and friends. + +--- + Makefile | 18 +++++++----------- + 1 file changed, 7 insertions(+), 11 deletions(-) + +diff --git a/Makefile b/Makefile +index b422e79..d89977f 100644 +--- a/Makefile ++++ b/Makefile +@@ -3,23 +3,19 @@ + + PLUGIN_DIR = /usr/local/lib/gkrellm2/plugins + +-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags` +-GTK_LIB = `pkg-config gtk+-2.0 --libs` ++GTK_INCLUDE = $(shell pkg-config gtk+-2.0 --cflags) ++GTK_LIB = $(shell pkg-config gtk+-2.0 --libs) + + +-#FLAGS = -O2 -Wall -fPIC -std=c99 -pedantic $(GTK_INCLUDE) +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) +-LIBS = $(GTK_LIB) +- +-LFLAGS = -shared -lssl -lpthread +- +-CC = gcc $(CFLAGS) $(FLAGS) +-#CC = gcc -DDEBUG $(CFLAGS) $(FLAGS) ++CFLAGS += -Wall -fPIC ++CPPFLAGS += $(GTK_INCLUDE) ++LDLIBS += $(GTK_LIB) -lssl -lpthread ++LDFLAGS += -shared + + OBJS = webmon.o gk.o + + gkwebmon.so: $(OBJS) +- $(CC) $(OBJS) -o gkwebmon.so $(LFLAGS) $(LIBS) ++ $(CC) $(OBJS) -o $(@) $(LDFLAGS) $(LDLIBS) + + install: gkwebmon.so + install gkwebmon.so $(PLUGIN_DIR) +-- +2.7.3 + diff --git a/x11-plugins/gkwebmon/gkwebmon-0.2-r2.ebuild b/x11-plugins/gkwebmon/gkwebmon-0.2-r2.ebuild new file mode 100644 index 000000000000..ee1350023bac --- /dev/null +++ b/x11-plugins/gkwebmon/gkwebmon-0.2-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gkrellm-plugin toolchain-funcs + +DESCRIPTION="A web monitor plugin for GKrellM2" +HOMEPAGE="http://${PN}.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha ~amd64 ppc ~sparc x86" +IUSE="" + +# The Makefile links with -lssl. +COMMON_DEPEND="app-admin/gkrellm[X] + dev-libs/openssl:0" + +DEPEND+=" ${COMMON_DEPEND}" +RDEPEND+=" ${COMMON_DEPEND}" + +PATCHES=( "${FILESDIR}/respect-cc-cflags-ldflags.patch" ) + +src_compile() { + emake CC="$(tc-getCC)" +} diff --git a/x11-plugins/gkwebmon/metadata.xml b/x11-plugins/gkwebmon/metadata.xml new file mode 100644 index 000000000000..ee5ac534419d --- /dev/null +++ b/x11-plugins/gkwebmon/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">gkwebmon</remote-id> + </upstream> +</pkgmetadata> |