summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-plugins/wmhdplop/Manifest1
-rw-r--r--x11-plugins/wmhdplop/files/wmhdplop-0.9.12-configure.patch14
-rw-r--r--x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild36
3 files changed, 51 insertions, 0 deletions
diff --git a/x11-plugins/wmhdplop/Manifest b/x11-plugins/wmhdplop/Manifest
index 8e39b34be7c2..78fb53a7de16 100644
--- a/x11-plugins/wmhdplop/Manifest
+++ b/x11-plugins/wmhdplop/Manifest
@@ -1 +1,2 @@
DIST wmhdplop-0.9.11.tar.gz 163931 BLAKE2B 9a30f0ea11fd9abd5419612a413187299945b415ed9231e878aeea5a395627b21d77b99bbac3bd8d2b0673069c2011974355c9056d2dbe46688ed7606e8f9b8c SHA512 e77802945b0c4213212922307416e8f99f1fe99de4ade6200bdd9cd8687926ddc7e67b437109174fb8544eebd8a6aea22ba685624842b54134bff48ea8aaa540
+DIST wmhdplop-0.9.12.tar.gz 168047 BLAKE2B b0c675f3a32e94407e0fb7d4cd724907e57b04057705819f3892f8c35ca0651e98303b51203bc663814894533a1ac84295b8763a5ee16eada130eab62d8939d3 SHA512 d86ebfcc96669cd743c25c4513c00bff8208442e088b141ac3a5313948d928c5fb29644ef7cd4880a438e7b713382c5a009769b7bddfcabf28fd6799c14c298c
diff --git a/x11-plugins/wmhdplop/files/wmhdplop-0.9.12-configure.patch b/x11-plugins/wmhdplop/files/wmhdplop-0.9.12-configure.patch
new file mode 100644
index 000000000000..89718de34818
--- /dev/null
+++ b/x11-plugins/wmhdplop/files/wmhdplop-0.9.12-configure.patch
@@ -0,0 +1,14 @@
+diff -Naur wmhdplop-0.9.12.orig/configure.ac wmhdplop-0.9.12/configure.ac
+--- wmhdplop-0.9.12.orig/configure.ac 2022-08-26 11:38:06.000000000 +0200
++++ wmhdplop-0.9.12/configure.ac 2022-09-14 13:47:56.531041828 +0200
+@@ -18,10 +18,6 @@
+ AC_DEFINE(_GNU_SOURCE,[],[uses GNU extensions])
+
+
+-if test x$GCC = xyes; then
+- CFLAGS="-O3 -fomit-frame-pointer -ffast-math -Wall -W";
+-fi
+-
+ dnl check for X
+ AC_PATH_X
+ AC_PATH_XTRA
diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild b/x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild
new file mode 100644
index 000000000000..2bb210461885
--- /dev/null
+++ b/x11-plugins/wmhdplop/wmhdplop-0.9.12.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit autotools
+
+DESCRIPTION="a dockapp for monitoring disk activities with fancy visuals"
+HOMEPAGE="https://www.dockapps.net/wmhdplop"
+SRC_URI="https://www.dockapps.net/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/imlib2[X]
+ x11-libs/libX11
+ x11-libs/libXext
+ media-fonts/corefonts
+ >=media-libs/freetype-2"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-configure.patch
+)
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-gkrellm
+}