Skip to content

Commit

Permalink
x11-plugins/wmnetload: EAPI bump, fix compilation with new libdockapp
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
  • Loading branch information
voyageur committed Aug 23, 2015
1 parent ce5bec3 commit 2591f48
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
Binary file not shown.
4 changes: 2 additions & 2 deletions x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand All @@ -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}
Expand Down
30 changes: 30 additions & 0 deletions x11-plugins/wmnetload/wmnetload-1.3-r4.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 2591f48

Please sign in to comment.