Skip to content

Commit

Permalink
x11-plugins/wmDownload: EAPI bump, fix compilation with new libdockapp
Browse files Browse the repository at this point in the history
Fixes bug #558488 by Toralf Förster <[email protected]>

Package-Manager: portage-2.2.20.1
  • Loading branch information
voyageur committed Aug 23, 2015
1 parent 798f3ba commit 7f682ba
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x11-plugins/wmDownload/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST wmDownload-0.1.2a.tar.gz 11449 SHA256 77178290b9ac6e6b590280c8a9c6494fbe7853fff453e37651dd2ef9915c7213
DIST wmDownload-0.1.2a.tar.gz 11449 SHA256 77178290b9ac6e6b590280c8a9c6494fbe7853fff453e37651dd2ef9915c7213 SHA512 95bc3f7c9be344d88146fd0b2407afe43f5975bbf2158fc54c9d9200a7f09b53af3a8cae790b2e26f8e34792317a28524422e0d4f96e0e603e05af92d6354752 WHIRLPOOL 765c7332623951fda1bd8e299c2e62a718df0b4b40b5f6a1a1575ad4adfca9213d5b15b5bbc7a9cc4478257cf0c7074634c0b949b7bca2bffc1995acc80f5211
4 changes: 2 additions & 2 deletions x11-plugins/wmDownload/wmDownload-0.1.2a-r1.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 sparc x86"
IUSE=""

DEPEND="x11-libs/libdockapp
DEPEND="<x11-libs/libdockapp-0.7
x11-libs/libX11
x11-libs/libXext
x11-libs/libXpm"
Expand Down
37 changes: 37 additions & 0 deletions x11-plugins/wmDownload/wmDownload-0.1.2a-r2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit eutils multilib toolchain-funcs

DESCRIPTION="dockapp that displays how much data you've received on each eth and ppp device"
SRC_URI="mirror://sourceforge/wmdownload/${P}.tar.gz"
HOMEPAGE="http://wmdownload.sourceforge.net/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

RDEPEND=">=x11-libs/libdockapp-0.7:=
x11-libs/libX11
x11-libs/libXext
x11-libs/libXpm"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${PN}"

src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die
}

src_compile() {
emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)"
}

src_install () {
emake DESTDIR="${D}" install
dodoc CHANGELOG CREDITS HINTS README TODO
}

0 comments on commit 7f682ba

Please sign in to comment.