Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmacpimon/, x11-plugins/wmacpimon/files/
Date: Tue, 29 May 2018 13:18:11
Message-Id: 1527599870.3548c89fdb27f0282b96f2456e2a7a365f386814.bman@gentoo
1 commit: 3548c89fdb27f0282b96f2456e2a7a365f386814
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 28 23:46:21 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Tue May 29 13:17:50 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3548c89f
7
8 x11-plugins/wmacpimon: bump EAPI and drop eutils
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 x11-plugins/wmacpimon/files/Makefile.patch | 4 ++--
13 x11-plugins/wmacpimon/files/wmacpimon.c.patch | 4 ++--
14 x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild | 13 ++++++-------
15 3 files changed, 10 insertions(+), 11 deletions(-)
16
17 diff --git a/x11-plugins/wmacpimon/files/Makefile.patch b/x11-plugins/wmacpimon/files/Makefile.patch
18 index aab28fc8939..73646d10fa9 100644
19 --- a/x11-plugins/wmacpimon/files/Makefile.patch
20 +++ b/x11-plugins/wmacpimon/files/Makefile.patch
21 @@ -1,5 +1,5 @@
22 ---- Makefile 2010-09-06 11:33:16.000000000 +0200
23 -+++ Makefile.new 2010-09-06 11:36:28.000000000 +0200
24 +--- a/Makefile 2010-09-06 11:33:16.000000000 +0200
25 ++++ b/Makefile 2010-09-06 11:36:28.000000000 +0200
26 @@ -1,8 +1,5 @@
27 -OPT = -O3 -DACPI
28 -
29
30 diff --git a/x11-plugins/wmacpimon/files/wmacpimon.c.patch b/x11-plugins/wmacpimon/files/wmacpimon.c.patch
31 index 001c1d8c96b..adc03ce3fd0 100644
32 --- a/x11-plugins/wmacpimon/files/wmacpimon.c.patch
33 +++ b/x11-plugins/wmacpimon/files/wmacpimon.c.patch
34 @@ -1,5 +1,5 @@
35 ---- wmacpimon.c 2004-07-08 14:16:22.184359328 +0200
36 -+++ wmacpimon.c 2004-07-08 14:15:59.677780848 +0200
37 +--- a/wmacpimon.c 2004-07-08 14:16:22.184359328 +0200
38 ++++ b/wmacpimon.c 2004-07-08 14:15:59.677780848 +0200
39 @@ -314,7 +314,7 @@
40 acpinfo = calloc(1, sizeof(ACPInfo));
41 dockapp->blink = OFF;
42
43 diff --git a/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild b/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild
44 index d902e3de4a3..ffc03d2648b 100644
45 --- a/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild
46 +++ b/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild
47 @@ -1,8 +1,7 @@
48 # Copyright 1999-2018 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50
51 -EAPI=2
52 -inherit eutils
53 +EAPI=6
54
55 DESCRIPTION="DockApp monitors the temperature and Speedstep features in ACPI-based systems"
56 HOMEPAGE="http://www.vrlteam.org/wmacpimon/"
57 @@ -19,18 +18,18 @@ RDEPEND="x11-libs/libX11
58 DEPEND="${RDEPEND}
59 x11-base/xorg-proto"
60
61 -src_prepare() {
62 +PATCHES=(
63 # patch wmacpimon.c file to set default path for
64 # wmacpimon.prc to /var/tmp/
65 - epatch "${FILESDIR}"/wmacpimon.c.patch
66 + "${FILESDIR}/wmacpimon.c.patch"
67
68 # fix LDFLAGS ordering. See bug #248618.
69 # fix LDFLAGS ordering again and other stuff. See bug #336091.
70 - epatch "${FILESDIR}"/Makefile.patch
71 -}
72 + "${FILESDIR}/Makefile.patch"
73 +)
74
75 src_install() {
76 - dobin wmacpimond wmacpimon || die "dobin failed."
77 + dobin wmacpimond wmacpimon
78 dodoc AUTHORS ChangeLog README
79 newinitd "${FILESDIR}"/wmacpimon.initscript wmacpimon
80 }