Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xsensors/, x11-misc/xsensors/files/
Date: Sun, 05 Feb 2017 19:08:10
Message-Id: 1486321616.d37d3680c8cf9b457b6bf643a48ad135c2e3414d.soap@gentoo
1 commit: d37d3680c8cf9b457b6bf643a48ad135c2e3414d
2 Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 5 13:32:46 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 5 19:06:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d37d3680
7
8 x11-misc/xsensors: EAPI bump 2 -> 6, rename configure.in to .ac
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11 Closes: https://github.com/gentoo/gentoo/pull/3827
12
13 x11-misc/xsensors/files/xsensors-0.70-gtk220.patch | 4 +--
14 x11-misc/xsensors/xsensors-0.70-r1.ebuild | 36 ++++++++++++++++++++++
15 2 files changed, 38 insertions(+), 2 deletions(-)
16
17 diff --git a/x11-misc/xsensors/files/xsensors-0.70-gtk220.patch b/x11-misc/xsensors/files/xsensors-0.70-gtk220.patch
18 index 0aaf2c8..2f36cfb 100644
19 --- a/x11-misc/xsensors/files/xsensors-0.70-gtk220.patch
20 +++ b/x11-misc/xsensors/files/xsensors-0.70-gtk220.patch
21 @@ -1,5 +1,5 @@
22 ---- src/gui.c
23 -+++ src/gui.c
24 +--- a/src/gui.c
25 ++++ b/src/gui.c
26 @@ -84,7 +84,7 @@
27 while ( *digit ) {
28 get_pm_location( *digit, &x, &y, &w );
29
30 diff --git a/x11-misc/xsensors/xsensors-0.70-r1.ebuild b/x11-misc/xsensors/xsensors-0.70-r1.ebuild
31 new file mode 100644
32 index 00000000..f66b915
33 --- /dev/null
34 +++ b/x11-misc/xsensors/xsensors-0.70-r1.ebuild
35 @@ -0,0 +1,36 @@
36 +# Copyright 1999-2017 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +# $Id$
39 +
40 +EAPI=6
41 +
42 +inherit autotools
43 +
44 +DESCRIPTION="A hardware health information viewer, interface to lm-sensors"
45 +HOMEPAGE="http://www.linuxhardware.org/xsensors/"
46 +SRC_URI="http://www.linuxhardware.org/xsensors/${P}.tar.gz"
47 +
48 +LICENSE="GPL-2"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~ppc ~x86"
51 +IUSE=""
52 +
53 +RDEPEND="x11-libs/gtk+:2
54 + >=sys-apps/lm_sensors-3"
55 +DEPEND="${RDEPEND}
56 + virtual/pkgconfig"
57 +
58 +PATCHES=( "${FILESDIR}"/${P}-gtk220.patch )
59 +
60 +src_prepare() {
61 + default
62 +
63 + sed -i \
64 + -e '/-DG.*_DISABLE_DEPRECATED/d' \
65 + -e 's:-Werror:-Wall:' \
66 + src/Makefile.am configure.in || die
67 +
68 + mv configure.{in,ac} || die #426262
69 +
70 + eautoreconf
71 +}