diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2015-08-23 21:56:12 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2015-08-23 21:56:12 +0200 |
commit | 7f682ba5796bccf17a149e540fb35d94f1e35e67 (patch) | |
tree | ac2e0c151e530b95f02108c72626863efdc6df2a /x11-plugins | |
parent | games-fps/duke3d-data: revbump to update gog file (diff) | |
download | gentoo-7f682ba5796bccf17a149e540fb35d94f1e35e67.tar.gz gentoo-7f682ba5796bccf17a149e540fb35d94f1e35e67.tar.bz2 gentoo-7f682ba5796bccf17a149e540fb35d94f1e35e67.zip |
x11-plugins/wmDownload: EAPI bump, fix compilation with new libdockapp
Fixes bug #558488 by Toralf Förster <toralf.foerster@gmx.de>
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/wmDownload/Manifest | 2 | ||||
-rw-r--r-- | x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild | 4 | ||||
-rw-r--r-- | x11-plugins/wmDownload/wmDownload-0.1.2a-r2.ebuild | 37 |
3 files changed, 40 insertions, 3 deletions
diff --git a/x11-plugins/wmDownload/Manifest b/x11-plugins/wmDownload/Manifest index 92ffc8c4dc21..97730d6bcafb 100644 --- a/x11-plugins/wmDownload/Manifest +++ b/x11-plugins/wmDownload/Manifest @@ -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 diff --git a/x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild b/x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild index 0b04d0aa0a1c..71f33537e2e4 100644 --- a/x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild +++ b/x11-plugins/wmDownload/wmDownload-0.1.2a-r1.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 sparc x86" IUSE="" -DEPEND="x11-libs/libdockapp +DEPEND="<x11-libs/libdockapp-0.7 x11-libs/libX11 x11-libs/libXext x11-libs/libXpm" diff --git a/x11-plugins/wmDownload/wmDownload-0.1.2a-r2.ebuild b/x11-plugins/wmDownload/wmDownload-0.1.2a-r2.ebuild new file mode 100644 index 000000000000..3050af33fa1c --- /dev/null +++ b/x11-plugins/wmDownload/wmDownload-0.1.2a-r2.ebuild @@ -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 +} |