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/cputnik/, x11-plugins/cputnik/files/
Date: Tue, 26 Jun 2018 21:53:23
Message-Id: 1530049986.12c00150130c3b91e443d7ada3a009d1146c2be6.voyageur@gentoo
1 commit: 12c00150130c3b91e443d7ada3a009d1146c2be6
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sat Jun 23 18:04:44 2018 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 26 21:53:06 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c00150
7
8 x11-plugins/cputnik: EAPI7, improve ebuild
9
10 x11-plugins/cputnik/cputnik-0.2.0-r1.ebuild | 34 ++++++++++++++++++++++
11 .../cputnik/files/cputnik-0.2.0-makefile.patch | 4 +--
12 2 files changed, 36 insertions(+), 2 deletions(-)
13
14 diff --git a/x11-plugins/cputnik/cputnik-0.2.0-r1.ebuild b/x11-plugins/cputnik/cputnik-0.2.0-r1.ebuild
15 new file mode 100644
16 index 00000000000..5c123773ab9
17 --- /dev/null
18 +++ b/x11-plugins/cputnik/cputnik-0.2.0-r1.ebuild
19 @@ -0,0 +1,34 @@
20 +# Copyright 1999-2018 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +
23 +EAPI=7
24 +
25 +inherit toolchain-funcs
26 +
27 +DESCRIPTION="cputnik is a simple cpu monitor dockapp"
28 +HOMEPAGE="https://www.dockapps.net/cputnik"
29 +SRC_URI="https://www.dockapps.net/download/${P}.tar.gz"
30 +
31 +LICENSE="GPL-2"
32 +SLOT="0"
33 +KEYWORDS="~amd64 ~ppc ~x86"
34 +IUSE=""
35 +
36 +RDEPEND="x11-libs/libX11
37 + x11-libs/libXext
38 + x11-libs/libXpm"
39 +DEPEND="${RDEPEND}
40 + x11-base/xorg-proto"
41 +
42 +S=${WORKDIR}/${P}/src
43 +
44 +PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
45 +
46 +src_compile() {
47 + emake CC="$(tc-getCC)"
48 +}
49 +
50 +src_install() {
51 + dobin cputnik
52 + dodoc ../{AUTHORS,NEWS,README}
53 +}
54
55 diff --git a/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch b/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch
56 index 1eb1279b3bb..b0c39ef2898 100644
57 --- a/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch
58 +++ b/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch
59 @@ -1,5 +1,5 @@
60 ---- Makefile.orig 2005-03-26 22:29:48.000000000 +0100
61 -+++ Makefile 2008-01-27 19:43:33.000000000 +0100
62 +--- a/Makefile 2005-03-26 22:29:48.000000000 +0100
63 ++++ b/Makefile 2008-01-27 19:43:33.000000000 +0100
64 @@ -1,15 +1,15 @@
65
66 -CFLAGS = -Wall -Os