summaryrefslogtreecommitdiff
path: root/x11-plugins/bfm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/bfm
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/bfm')
-rw-r--r--x11-plugins/bfm/Manifest7
-rw-r--r--x11-plugins/bfm/bfm-0.6.4-r1.ebuild49
-rw-r--r--x11-plugins/bfm/bfm-0.6.4-r2.ebuild42
-rw-r--r--x11-plugins/bfm/files/bfm-0.6.4-makefile.patch66
-rw-r--r--x11-plugins/bfm/metadata.xml13
5 files changed, 177 insertions, 0 deletions
diff --git a/x11-plugins/bfm/Manifest b/x11-plugins/bfm/Manifest
new file mode 100644
index 000000000000..57ad860dbd10
--- /dev/null
+++ b/x11-plugins/bfm/Manifest
@@ -0,0 +1,7 @@
+AUX bfm-0.6.4-makefile.patch 1772 SHA256 f7b1eb0ccc8c4034bf672e0cc480192fbea65868690b4269e92386e0dab40bcc SHA512 9b419e95357d6d70fd8c6dc6c36823351906bddc80815e08e991e5fd32a4bd68ee70937679fd244df8facfe1dd3bbe9ccfbc96c6fe301d04b7ab8da9815afae6 WHIRLPOOL d32659d06e19f5a56284b90d2a2b198943f389932bdbf66bc48755aee9852c5c93b92a7282e77999da7c8af30ca96304faa119da429c45c8faf4adce9fd27cfe
+DIST bfm-0.6.4.tar.bz2 50634 SHA256 e5afb9eaebb67428c441c1eb0a98e5ad1aae46d2dcfe36567f9151c763ca04f9 SHA512 4255e31d1e04bbcd007be7a616184f97b2fb73711c2070859919666685848d75d5641396f206a6a6d70c656cbf8e97357aed3d663dc6d63ed1e7eb426d13f81c WHIRLPOOL 44b73dfe07d30f83aadd9e919dcdc004e60583e00d28df4b6c202db746b571c34cfb0c854536672338e614c61cc9e789b2adc0877bfd45d975b997a7d60f07f2
+EBUILD bfm-0.6.4-r1.ebuild 1245 SHA256 0629f4747df8f0a5e3829c10cb57aba2221925c8eaa6ebe58006a6c94c001f2c SHA512 6ed66cf3e45d72acd79ae5f94c00d8109e11ecfe82924f84bf701fe0b9c4ff17fd2858b1d5593a50773e722edf3aa4d6d02701fc2482e99f2592699d66001926 WHIRLPOOL 05208e9f64975967466098c3f5120f19c8baf73dc264d2165f05eadf5159c202f37891ccbd99e1cbfc85abd23250d354020f0fed74c461faa3009cc3b9923493
+EBUILD bfm-0.6.4-r2.ebuild 964 SHA256 62dd2ba9972819b6dce0960b80c58669f04591d19968c189eca9dc8893b9bcfc SHA512 6d4b8cd180a3a54c1570431dbd3c9f9dd8fc8181d1ab0f3f4f7e4c0de8d36abcd778a02672ad1c90a89104ad18a33668aa578fb190178725aeee7fdb7153eff1 WHIRLPOOL 296f4cd958c750e558473e7175ea5006bd1f62e3c243d05c84204dee41abed8d99e409e60896cd262a10f234c43c7bde08a9783f2f324f560dcb0b6a617e8c5c
+MISC ChangeLog 3358 SHA256 2a234dc1d554ee85266f07b00a690a64e5c4e4f84e3b50015db69b80414e6b40 SHA512 477928faacff891f0d7cd073591afa297fa7b32338f4fb13e5c3a858b69a22a7e6d6c20fd17a59405fd0ab34f266df4a51aeb9e4415696e1762644b6fbcae20e WHIRLPOOL 1bfa7dc14406f977879b793361cbc8ee5a1855e5e49e5a26323741550d3f88e13f56aabd0ae552cca70f28aaf732d7c6619b5b811cd001bb5a964969a599446c
+MISC ChangeLog-2015 2913 SHA256 211e49e97b6e87e804e9d2ea288ff4bf2e38e34aadfb2485b2cd23fc64b056fd SHA512 0c8e121f425a902750973cb870c9157ec577d81115bed99b0b8892ac43aa2aa3ae470ae31e91e73b6f0095542c7fb9af7ea8d0ee3c714637e6b7a208d10119a0 WHIRLPOOL c8c2c5af72b1329b27206b531fe7f792f2649de6eb76f1bde08fa70ee9bf20a6b079bdd3eb9b684bcf672c5330db498f4260b4d2d30bb194e38469248126eaee
+MISC metadata.xml 348 SHA256 0ab777b8b0cbe0c2cf6d18bc64941790c3616034e564e417aba35ca915316bc2 SHA512 fe0a9044c9c8d839007a04e0ed0012da1d22df3435f237620d49b0d1efa4bce533b116f15e6fa34d1c494d65729d0667ac29a2e06a4b2009ba24510b97f4f93f WHIRLPOOL 71ef84aa386f69dac652f9584eb1fc15a61d1396f266ea3792174bee25aba226560c3668458459983b8eab66b8763984c9d45f6d8f39e535abc01aa8ddd56423
diff --git a/x11-plugins/bfm/bfm-0.6.4-r1.ebuild b/x11-plugins/bfm/bfm-0.6.4-r1.ebuild
new file mode 100644
index 000000000000..7c79d6369157
--- /dev/null
+++ b/x11-plugins/bfm/bfm-0.6.4-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit multilib toolchain-funcs
+
+DESCRIPTION="a dockapp and gkrellm plug-in combining timecop's bubblemon and wmfishtime"
+HOMEPAGE="http://www.jnrowe.ukfsn.org/projects/bfm.html"
+SRC_URI="http://www.jnrowe.ukfsn.org/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86 ~amd64-linux ~x86-linux"
+IUSE="gkrellm"
+
+RDEPEND="x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ gkrellm? ( >=app-admin/gkrellm-2 )"
+
+src_prepare() {
+ sed -i \
+ -e 's:CFLAGS =:CFLAGS +=:' \
+ -e 's:LDFLAGS =:LDFLAGS +=:' \
+ -e 's:strip:true:' \
+ -e 's:$(CFLAGS) -o $(BUBBLEFISHYMON):$(CFLAGS) $(SRCS) -o $(BUBBLEFISHYMON):' \
+ -e 's:$(LIBS) $(GTK2_LIBS) $(SRCS):$(LIBS) $(GTK2_LIBS):' \
+ -e 's:-o $(BUBBLEFISHYMON):$(GENTOO_LDFLAGS) -o $(BUBBLEFISHYMON):' \
+ Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" GENTOO_LDFLAGS="${LDFLAGS}"
+ use gkrellm && emake gkrellm CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin bubblefishymon
+
+ doman doc/*.1
+ dodoc ChangeLog* README* doc/*.sample
+
+ if use gkrellm; then
+ insinto /usr/$(get_libdir)/gkrellm2/plugins
+ doins gkrellm-bfm.so
+ fi
+}
diff --git a/x11-plugins/bfm/bfm-0.6.4-r2.ebuild b/x11-plugins/bfm/bfm-0.6.4-r2.ebuild
new file mode 100644
index 000000000000..0c803374a220
--- /dev/null
+++ b/x11-plugins/bfm/bfm-0.6.4-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="a dockapp and gkrellm plug-in combining timecop's bubblemon and wmfishtime"
+HOMEPAGE="http://www.jnrowe.ukfsn.org/projects/bfm.html"
+SRC_URI="http://www.jnrowe.ukfsn.org/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux"
+IUSE="gkrellm"
+
+RDEPEND="x11-libs/gtk+:2
+ x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ gkrellm? ( >=app-admin/gkrellm-2 )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" GENTOO_LDFLAGS="${LDFLAGS}"
+ use gkrellm && emake gkrellm CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin bubblefishymon
+
+ doman doc/*.1
+ dodoc ChangeLog* README* doc/*.sample
+
+ if use gkrellm; then
+ insinto /usr/$(get_libdir)/gkrellm2/plugins
+ doins gkrellm-bfm.so
+ fi
+}
diff --git a/x11-plugins/bfm/files/bfm-0.6.4-makefile.patch b/x11-plugins/bfm/files/bfm-0.6.4-makefile.patch
new file mode 100644
index 000000000000..ef47930c5dc5
--- /dev/null
+++ b/x11-plugins/bfm/files/bfm-0.6.4-makefile.patch
@@ -0,0 +1,66 @@
+--- Makefile.orig 2015-01-20 10:56:34.791157688 +0100
++++ Makefile 2015-01-20 10:56:48.135154215 +0100
+@@ -26,21 +26,21 @@
+ EXTRA += $(WMAN)
+
+ # gtk cflags and gtk lib flags
+-GTK_CFLAGS = $(shell gtk-config --cflags)
++GTK_CFLAGS += $(shell gtk-config --cflags)
+ GTK_LIBS = $(shell gtk-config --libs)
+
+-GTK2_CFLAGS = $(shell pkg-config gtk+-2.0 --cflags)
++GTK2_CFLAGS += $(shell pkg-config gtk+-2.0 --cflags)
+ GTK2_LIBS = $(shell pkg-config gtk+-2.0 --libs)
+
+
+ # optimization cflags
+-#CFLAGS = -O3 -Wall ${EXTRA}
+-CFLAGS = ${EXTRA}
++#CFLAGS += -O3 -Wall ${EXTRA}
++CFLAGS += ${EXTRA}
+
+ # profiling cflags
+-# CFLAGS = -ansi -Wall -pg -O3 ${EXTRA} -DPRO
++# CFLAGS += -ansi -Wall -pg -O3 ${EXTRA} -DPRO
+ # test coverage cflags
+-# CFLAGS = -fprofile-arcs -ftest-coverage -Wall -ansi -g ${EXTRA} -DPRO
++# CFLAGS += -fprofile-arcs -ftest-coverage -Wall -ansi -g ${EXTRA} -DPRO
+
+
+ SHELL = sh
+@@ -53,9 +53,9 @@
+ GKRELLM_SRCS = gkrellm-bfm.c
+ GKRELLM_OBJS = gkrellm-bfm.o
+ GKRELLM_BFM = gkrellm-bfm.so
+-LDFLAGS = -shared -Wl
++LDFLAGS += -shared -Wl
+
+-STRIP = strip
++STRIP = true
+
+ CC = gcc
+
+@@ -70,6 +70,7 @@
+ else
+ CFLAGS+=-DNET_DEVICE=\"$(NET_DEVICE)\"
+ endif
++ LIBS = -lm -lX11
+ SRCS += sys_linux.c
+ OBJS += sys_linux.o
+ INSTALL = -m 755
+@@ -129,12 +130,12 @@
+ $(STRIP) $(GKRELLM_BFM)
+
+ bubblefishymon: clean_obj
+- $(CC) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEFISHYMON) \
+- $(LIBS) $(GTK2_LIBS) $(SRCS)
++ $(CC) $(GTK2_CFLAGS) $(CFLAGS) $(SRCS) $(GENTOO_LDFLAGS) -o $(BUBBLEFISHYMON) \
++ $(LIBS) $(GTK2_LIBS)
+ $(STRIP) $(BUBBLEFISHYMON)
+
+ bubblefishymon1: clean_obj
+- $(CC) $(GTK_CFLAGS) $(CFLAGS) -o $(BUBBLEFISHYMON) \
++ $(CC) $(GTK_CFLAGS) $(CFLAGS) $(SRCS) $(GENTOO_LDFLAGS) -o $(BUBBLEFISHYMON) \
+ $(LIBS) $(GTK_LIBS) $(SRCS)
+ $(STRIP) $(BUBBLEFISHYMON)
+
diff --git a/x11-plugins/bfm/metadata.xml b/x11-plugins/bfm/metadata.xml
new file mode 100644
index 000000000000..5861b1f014e6
--- /dev/null
+++ b/x11-plugins/bfm/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+</maintainer>
+
+<use>
+ <flag name="gkrellm">Enable building of <pkg>app-admin/gkrellm</pkg>
+ module</flag>
+</use>
+</pkgmetadata>