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/wmcms/
Date: Thu, 26 Jul 2018 20:30:34
Message-Id: 1532636917.57cdaa39ecbff31b9ac959e65a12536edf565247.voyageur@gentoo
1 commit: 57cdaa39ecbff31b9ac959e65a12536edf565247
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Jul 22 10:48:35 2018 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 26 20:28:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57cdaa39
7
8 x11-plugins/wmcms: add EAPI7 ebuild
9
10 x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild | 32 ++++++++++++++++++++++++++++++++
11 1 file changed, 32 insertions(+)
12
13 diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild b/x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild
14 new file mode 100644
15 index 00000000000..3c00c746459
16 --- /dev/null
17 +++ b/x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild
18 @@ -0,0 +1,32 @@
19 +# Copyright 1999-2018 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +
22 +EAPI=7
23 +
24 +DESCRIPTION="WindowMaker CPU and Memory Usage Monitor Dock App"
25 +HOMEPAGE="https://www.geocities.ws/neofpo/wmcms.html"
26 +SRC_URI="https://www.geocities.ws/neofpo/files/${P}.tar.gz"
27 +
28 +LICENSE="GPL-2"
29 +SLOT="0"
30 +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
31 +
32 +DEPEND=">=x11-libs/libdockapp-0.7:="
33 +
34 +src_prepare() {
35 + default
36 + eapply "${FILESDIR}"/wmcms-0.3.5-s4t4n.patch
37 +
38 + # Respect LDFLAGS, see bug #335031
39 + sed -e 's/ -o wmcms/ ${LDFLAGS} -o wmcms/' -i Makefile || die
40 +
41 + sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die
42 +}
43 +
44 +src_compile() {
45 + emake CFLAGS="${CFLAGS}"
46 +}
47 +
48 +src_install() {
49 + dobin wmcms
50 +}