summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2015-08-23 22:34:49 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2015-08-23 22:35:02 +0200
commit2591f483d6f750afb8e57201b98136bbcb43b084 (patch)
treef929e90ff8c95f02ba9001c3dd02d8523091444f
parentx11-plugins/wmlpq: EAPI bump, fix compilation with new libdockapp (diff)
downloadgentoo-2591f483d6f750afb8e57201b98136bbcb43b084.tar.gz
gentoo-2591f483d6f750afb8e57201b98136bbcb43b084.tar.bz2
gentoo-2591f483d6f750afb8e57201b98136bbcb43b084.zip
x11-plugins/wmnetload: EAPI bump, fix compilation with new libdockapp
Package-Manager: portage-2.2.20.1
-rw-r--r--x11-plugins/wmnetload/files/wmnetload-1.3-r4-configure.patchbin0 -> 18891 bytes
-rw-r--r--x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild4
-rw-r--r--x11-plugins/wmnetload/wmnetload-1.3-r4.ebuild30
3 files changed, 32 insertions, 2 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
new file mode 100644
index 000000000000..3b26aca89fc9
--- /dev/null
+++ b/x11-plugins/wmnetload/files/wmnetload-1.3-r4-configure.patch
Binary files differ
diff --git a/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild b/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild
index a1884858490f..325c93098bde 100644
--- a/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild
+++ b/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE=""
-RDEPEND=">=x11-libs/libdockapp-0.6.1"
+RDEPEND="<x11-libs/libdockapp-0.7"
src_unpack() {
unpack ${A}
diff --git a/x11-plugins/wmnetload/wmnetload-1.3-r4.ebuild b/x11-plugins/wmnetload/wmnetload-1.3-r4.ebuild
new file mode 100644
index 000000000000..c6bdb6495085
--- /dev/null
+++ b/x11-plugins/wmnetload/wmnetload-1.3-r4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+DESCRIPTION="Network interface monitor dockapp"
+HOMEPAGE="http://freshmeat.net/projects/wmnetload/"
+SRC_URI="ftp://truffula.com/pub/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND=">=x11-libs/libdockapp-0.7:="
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-${PVR}-configure.patch"
+ sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i src/*.c || die
+
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS README NEWS
+}