summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-07-23 20:26:58 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2018-08-02 22:17:55 +0200
commiteb23d7bbd0e253025f287da406a87b81015faea5 (patch)
treeb9f06cee7d3b6d6d013a262234f6636a38afc2bf /x11-plugins/wmnetload
parentx11-plugins/wmnd: EAPI7, improve ebuild (diff)
downloadgentoo-eb23d7bbd0e253025f287da406a87b81015faea5.tar.gz
gentoo-eb23d7bbd0e253025f287da406a87b81015faea5.tar.bz2
gentoo-eb23d7bbd0e253025f287da406a87b81015faea5.zip
x11-plugins/wmnetload: EAPI7, improve ebuild
Diffstat (limited to 'x11-plugins/wmnetload')
-rw-r--r--x11-plugins/wmnetload/files/wmnetload-1.3-r4-configure.patch8
-rw-r--r--x11-plugins/wmnetload/wmnetload-1.3-r5.ebuild24
2 files changed, 28 insertions, 4 deletions
diff --git a/x11-plugins/wmnetload/files/wmnetload-1.3-r4-configure.patch b/x11-plugins/wmnetload/files/wmnetload-1.3-r4-configure.patch
index c385787df28d..1c8a5a732212 100644
--- a/x11-plugins/wmnetload/files/wmnetload-1.3-r4-configure.patch
+++ b/x11-plugins/wmnetload/files/wmnetload-1.3-r4-configure.patch
@@ -1,6 +1,6 @@
diff -Naur wmnetload-1.3.orig/configure.in wmnetload-1.3/configure.in
---- wmnetload-1.3.orig/configure.in 2003-02-23 10:07:39.000000000 +0100
-+++ wmnetload-1.3/configure.in 2015-08-23 22:26:30.221448648 +0200
+--- a/configure.in 2003-02-23 10:07:39.000000000 +0100
++++ b/configure.in 2015-08-23 22:26:30.221448648 +0200
@@ -102,7 +102,6 @@
[inc_search_path=" -I $withval $inc_search_path"])
@@ -57,8 +57,8 @@ diff -Naur wmnetload-1.3.orig/configure.in wmnetload-1.3/configure.in
exit 1
fi
diff -Naur wmnetload-1.3.orig/src/Makefile.am wmnetload-1.3/src/Makefile.am
---- wmnetload-1.3.orig/src/Makefile.am 2003-02-18 07:30:48.000000000 +0100
-+++ wmnetload-1.3/src/Makefile.am 2015-08-23 22:20:16.599704945 +0200
+--- a/src/Makefile.am 2003-02-18 07:30:48.000000000 +0100
++++ b/src/Makefile.am 2015-08-23 22:20:16.599704945 +0200
@@ -25,8 +25,6 @@
EXTRA_wmnetload_SOURCES = ifstat_linux.c ifstat_netbsd.c ifstat_solaris.c \
ifstat_freebsd.c
diff --git a/x11-plugins/wmnetload/wmnetload-1.3-r5.ebuild b/x11-plugins/wmnetload/wmnetload-1.3-r5.ebuild
new file mode 100644
index 000000000000..c6acb1681762
--- /dev/null
+++ b/x11-plugins/wmnetload/wmnetload-1.3-r5.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Network interface monitor dockapp"
+HOMEPAGE="https://github.com/bbidulock/wmnetload"
+SRC_URI="https://github.com/bbidulock/wmnetload/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+DEPEND=">=x11-libs/libdockapp-0.7:="
+
+PATCHES=( "${FILESDIR}/${P}-r4-configure.patch" )
+
+src_prepare() {
+ default
+ sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i src/*.c || die
+ eautoreconf
+}