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/wmfire/, x11-plugins/wmfire/files/
Date: Thu, 26 Jul 2018 20:30:35
Message-Id: 1532636918.4a58e16fba5c8a1fad064af132e69ce881f0f4b4.voyageur@gentoo
1 commit: 4a58e16fba5c8a1fad064af132e69ce881f0f4b4
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Jul 22 11:06:19 2018 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 26 20:28:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a58e16f
7
8 x11-plugins/wmfire: EAPI7, improve ebuild
9
10 .../wmfire/files/wmfire-1.2.4-no_display.patch | 4 +--
11 x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild | 40 ++++++++++++++++++++++
12 2 files changed, 42 insertions(+), 2 deletions(-)
13
14 diff --git a/x11-plugins/wmfire/files/wmfire-1.2.4-no_display.patch b/x11-plugins/wmfire/files/wmfire-1.2.4-no_display.patch
15 index a2540a247cf..d69e6c38633 100644
16 --- a/x11-plugins/wmfire/files/wmfire-1.2.4-no_display.patch
17 +++ b/x11-plugins/wmfire/files/wmfire-1.2.4-no_display.patch
18 @@ -1,5 +1,5 @@
19 ---- src/wmfire.c.orig 2010-06-28 23:53:35.000000000 +0200
20 -+++ src/wmfire.c 2010-06-28 23:54:35.000000000 +0200
21 +--- a/src/wmfire.c 2010-06-28 23:53:35.000000000 +0200
22 ++++ b/src/wmfire.c 2010-06-28 23:54:35.000000000 +0200
23 @@ -150,6 +150,8 @@
24 int
25 main(int argc, char **argv)
26
27 diff --git a/x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild b/x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild
28 new file mode 100644
29 index 00000000000..64ca328dbf7
30 --- /dev/null
31 +++ b/x11-plugins/wmfire/wmfire-1.2.4-r3.ebuild
32 @@ -0,0 +1,40 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit autotools
39 +
40 +DESCRIPTION="Load monitoring dockapp displaying dancing flame"
41 +HOMEPAGE="http://www.improbability.net/#wmfire"
42 +SRC_URI="http://www.improbability.net/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~ppc ~x86"
47 +IUSE="session"
48 +
49 +RDEPEND="x11-libs/gtk+:2
50 + gnome-base/libgtop:2
51 + x11-libs/libX11
52 + x11-libs/libXext
53 + session? ( x11-libs/libSM
54 + x11-libs/libICE )"
55 +DEPEND="${RDEPEND}"
56 +BDEPEND="virtual/pkgconfig"
57 +
58 +DOCS=( ALL_I_GET_IS_A_GREY_BOX AUTHORS ChangeLog NEWS README )
59 +
60 +src_prepare() {
61 + default
62 + eapply "${FILESDIR}"/${PN}-1.2.3-stringh.patch
63 + eapply "${FILESDIR}"/${P}-no_display.patch
64 + eapply "${FILESDIR}"/${P}-lastprocessor_SMP.patch
65 + eautoreconf
66 +}
67 +
68 +src_configure() {
69 + econf \
70 + --disable-dependency-tracking \
71 + $(use_enable session)
72 +}