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/wmmisc/, x11-plugins/wmmisc/files/
Date: Thu, 02 Aug 2018 20:17:05
Message-Id: 1533240941.58646bc05dc1086028ce88ed4a50415473512eb7.voyageur@gentoo
1 commit: 58646bc05dc1086028ce88ed4a50415473512eb7
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Jul 22 17:34:41 2018 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 2 20:15:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58646bc0
7
8 x11-plugins/wmmisc: EAPI7, improve ebuild
9
10 x11-plugins/wmmisc/files/wmmisc-1.1-build.patch | 8 +++---
11 x11-plugins/wmmisc/wmmisc-1.1-r1.ebuild | 34 +++++++++++++++++++++++++
12 2 files changed, 38 insertions(+), 4 deletions(-)
13
14 diff --git a/x11-plugins/wmmisc/files/wmmisc-1.1-build.patch b/x11-plugins/wmmisc/files/wmmisc-1.1-build.patch
15 index d42400ab013..28979642dcb 100644
16 --- a/x11-plugins/wmmisc/files/wmmisc-1.1-build.patch
17 +++ b/x11-plugins/wmmisc/files/wmmisc-1.1-build.patch
18 @@ -1,6 +1,6 @@
19 diff -ur wmmisc-1.1.orig/src/general.mk wmmisc-1.1/src/general.mk
20 ---- wmmisc-1.1.orig/src/general.mk 2006-01-07 19:50:31.000000000 +0200
21 -+++ wmmisc-1.1/src/general.mk 2008-01-16 20:44:59.000000000 +0200
22 +--- a/general.mk 2006-01-07 19:50:31.000000000 +0200
23 ++++ b/general.mk 2008-01-16 20:44:59.000000000 +0200
24 @@ -16,7 +16,7 @@
25 MANDIR = $(PREFIX)/share/man
26 # Set some destination locations.
27 @@ -35,8 +35,8 @@ diff -ur wmmisc-1.1.orig/src/general.mk wmmisc-1.1/src/general.mk
28 INCLUDES += -I.
29 # Set the include locations.
30 diff -ur wmmisc-1.1.orig/src/Makefile wmmisc-1.1/src/Makefile
31 ---- wmmisc-1.1.orig/src/Makefile 2006-01-07 20:45:59.000000000 +0200
32 -+++ wmmisc-1.1/src/Makefile 2008-01-16 20:43:31.000000000 +0200
33 +--- a/Makefile 2006-01-07 20:45:59.000000000 +0200
34 ++++ b/Makefile 2008-01-16 20:43:31.000000000 +0200
35 @@ -23,7 +23,7 @@
36
37 $(package): $(objects)
38
39 diff --git a/x11-plugins/wmmisc/wmmisc-1.1-r1.ebuild b/x11-plugins/wmmisc/wmmisc-1.1-r1.ebuild
40 new file mode 100644
41 index 00000000000..dfcf13a8c09
42 --- /dev/null
43 +++ b/x11-plugins/wmmisc/wmmisc-1.1-r1.ebuild
44 @@ -0,0 +1,34 @@
45 +# Copyright 1999-2018 Gentoo Foundation
46 +# Distributed under the terms of the GNU General Public License v2
47 +
48 +EAPI=7
49 +
50 +inherit toolchain-funcs
51 +
52 +DESCRIPTION="a monitoring dockapp for system load, user amount, fork amount and processes"
53 +HOMEPAGE="https://packages.qa.debian.org/w/wmmisc.html"
54 +SRC_URI="mirror://debian/pool/main/w/${PN}/${PN}_${PV}.orig.tar.gz"
55 +
56 +LICENSE="GPL-2"
57 +SLOT="0"
58 +KEYWORDS="~amd64 ~ppc ~x86"
59 +
60 +S="${WORKDIR}/${P}/src"
61 +
62 +RDEPEND="x11-libs/libX11
63 + x11-libs/libXext
64 + x11-libs/libXpm"
65 +DEPEND="${RDEPEND}
66 + x11-base/xorg-proto"
67 +
68 +PATCHES=( "${FILESDIR}"/${P}-build.patch )
69 +
70 +src_compile() {
71 + tc-export CC
72 + emake
73 +}
74 +
75 +src_install() {
76 + dobin ${PN}
77 + dodoc ../{ChangeLog,README}
78 +}