Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmnetload/, x11-plugins/wmnetload/files/
Date: Thu, 02 Aug 2018 20:19:45
Message-Id: 1533241075.eb23d7bbd0e253025f287da406a87b81015faea5.voyageur@gentoo
1 commit: eb23d7bbd0e253025f287da406a87b81015faea5
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Mon Jul 23 18:26:58 2018 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 2 20:17:55 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb23d7bb
7
8 x11-plugins/wmnetload: EAPI7, improve ebuild
9
10 .../files/wmnetload-1.3-r4-configure.patch | 8 ++++----
11 x11-plugins/wmnetload/wmnetload-1.3-r5.ebuild | 24 ++++++++++++++++++++++
12 2 files changed, 28 insertions(+), 4 deletions(-)
13
14 diff --git a/x11-plugins/wmnetload/files/wmnetload-1.3-r4-configure.patch b/x11-plugins/wmnetload/files/wmnetload-1.3-r4-configure.patch
15 index c385787df28..1c8a5a73221 100644
16 --- a/x11-plugins/wmnetload/files/wmnetload-1.3-r4-configure.patch
17 +++ b/x11-plugins/wmnetload/files/wmnetload-1.3-r4-configure.patch
18 @@ -1,6 +1,6 @@
19 diff -Naur wmnetload-1.3.orig/configure.in wmnetload-1.3/configure.in
20 ---- wmnetload-1.3.orig/configure.in 2003-02-23 10:07:39.000000000 +0100
21 -+++ wmnetload-1.3/configure.in 2015-08-23 22:26:30.221448648 +0200
22 +--- a/configure.in 2003-02-23 10:07:39.000000000 +0100
23 ++++ b/configure.in 2015-08-23 22:26:30.221448648 +0200
24 @@ -102,7 +102,6 @@
25 [inc_search_path=" -I $withval $inc_search_path"])
26
27 @@ -57,8 +57,8 @@ diff -Naur wmnetload-1.3.orig/configure.in wmnetload-1.3/configure.in
28 exit 1
29 fi
30 diff -Naur wmnetload-1.3.orig/src/Makefile.am wmnetload-1.3/src/Makefile.am
31 ---- wmnetload-1.3.orig/src/Makefile.am 2003-02-18 07:30:48.000000000 +0100
32 -+++ wmnetload-1.3/src/Makefile.am 2015-08-23 22:20:16.599704945 +0200
33 +--- a/src/Makefile.am 2003-02-18 07:30:48.000000000 +0100
34 ++++ b/src/Makefile.am 2015-08-23 22:20:16.599704945 +0200
35 @@ -25,8 +25,6 @@
36 EXTRA_wmnetload_SOURCES = ifstat_linux.c ifstat_netbsd.c ifstat_solaris.c \
37 ifstat_freebsd.c
38
39 diff --git a/x11-plugins/wmnetload/wmnetload-1.3-r5.ebuild b/x11-plugins/wmnetload/wmnetload-1.3-r5.ebuild
40 new file mode 100644
41 index 00000000000..c6acb168176
42 --- /dev/null
43 +++ b/x11-plugins/wmnetload/wmnetload-1.3-r5.ebuild
44 @@ -0,0 +1,24 @@
45 +# Copyright 1999-2018 Gentoo Foundation
46 +# Distributed under the terms of the GNU General Public License v2
47 +
48 +EAPI=7
49 +
50 +inherit autotools
51 +
52 +DESCRIPTION="Network interface monitor dockapp"
53 +HOMEPAGE="https://github.com/bbidulock/wmnetload"
54 +SRC_URI="https://github.com/bbidulock/wmnetload/releases/download/${PV}/${P}.tar.gz"
55 +
56 +LICENSE="GPL-2"
57 +SLOT="0"
58 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
59 +
60 +DEPEND=">=x11-libs/libdockapp-0.7:="
61 +
62 +PATCHES=( "${FILESDIR}/${P}-r4-configure.patch" )
63 +
64 +src_prepare() {
65 + default
66 + sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i src/*.c || die
67 + eautoreconf
68 +}