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/wmload/files/, x11-plugins/wmload/
Date: Thu, 02 Aug 2018 20:14:36
Message-Id: 1533240773.0196b7f60f4c131dda29d77cc70c7d84d887ed66.voyageur@gentoo
1 commit: 0196b7f60f4c131dda29d77cc70c7d84d887ed66
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Jul 22 15:43:03 2018 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 2 20:12:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0196b7f6
7
8 x11-plugins/wmload: EAPI7, improve ebuild
9
10 .../wmload/files/wmload-0.9.6-solaris.patch | 4 +--
11 x11-plugins/wmload/wmload-0.9.7-r1.ebuild | 33 ++++++++++++++++++++++
12 2 files changed, 35 insertions(+), 2 deletions(-)
13
14 diff --git a/x11-plugins/wmload/files/wmload-0.9.6-solaris.patch b/x11-plugins/wmload/files/wmload-0.9.6-solaris.patch
15 index 210b28419fa..ec5e4c84abb 100644
16 --- a/x11-plugins/wmload/files/wmload-0.9.6-solaris.patch
17 +++ b/x11-plugins/wmload/files/wmload-0.9.6-solaris.patch
18 @@ -1,7 +1,7 @@
19 * original: http://www.rampant.org/~dp/software/wmload.solaris.patch
20
21 ---- wmload.c
22 -+++ wmload.c
23 +--- a/wmload.c
24 ++++ b/wmload.c
25 @@ -6,6 +6,11 @@
26 #include <math.h>
27 #include <fcntl.h>
28
29 diff --git a/x11-plugins/wmload/wmload-0.9.7-r1.ebuild b/x11-plugins/wmload/wmload-0.9.7-r1.ebuild
30 new file mode 100644
31 index 00000000000..167a3e4ade6
32 --- /dev/null
33 +++ b/x11-plugins/wmload/wmload-0.9.7-r1.ebuild
34 @@ -0,0 +1,33 @@
35 +# Copyright 1999-2018 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +inherit desktop toolchain-funcs
41 +
42 +DESCRIPTION="yet another dock application showing a system load gauge"
43 +HOMEPAGE="https://www.dockapps.net/wmload"
44 +SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
45 +
46 +LICENSE="GPL-2"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~amd64-linux ~ppc ~sparc ~sparc-solaris ~x86 ~x86-linux ~x64-solaris ~x86-solaris"
49 +
50 +RDEPEND="x11-libs/libX11
51 + x11-libs/libXext
52 + x11-libs/libXpm"
53 +DEPEND="${RDEPEND}
54 + x11-base/xorg-proto"
55 +
56 +PATCHES=( "${FILESDIR}"/${PN}-0.9.6-solaris.patch )
57 +
58 +src_compile() {
59 + emake CC="$(tc-getCC)"
60 +}
61 +
62 +src_install() {
63 + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
64 +
65 + dodoc README
66 + domenu "${FILESDIR}"/${PN}.desktop
67 +}