1 |
commit: a1f690a936492d650e80e9bbddaa387be8e157a9 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jul 22 17:27:03 2018 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 2 20:15:40 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f690a9 |
7 |
|
8 |
x11-plugins/wmmenu: EAPI7, improve ebuild |
9 |
|
10 |
x11-plugins/wmmenu/files/wmmenu-1.3-Makefile.patch | 4 +-- |
11 |
x11-plugins/wmmenu/wmmenu-1.3-r2.ebuild | 38 ++++++++++++++++++++++ |
12 |
2 files changed, 40 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/x11-plugins/wmmenu/files/wmmenu-1.3-Makefile.patch b/x11-plugins/wmmenu/files/wmmenu-1.3-Makefile.patch |
15 |
index a6fc4c7ec43..bbf18433480 100644 |
16 |
--- a/x11-plugins/wmmenu/files/wmmenu-1.3-Makefile.patch |
17 |
+++ b/x11-plugins/wmmenu/files/wmmenu-1.3-Makefile.patch |
18 |
@@ -1,5 +1,5 @@ |
19 |
---- Makefile.orig 2015-04-17 13:43:08.122972280 +0200 |
20 |
-+++ Makefile 2015-04-17 13:43:11.569975854 +0200 |
21 |
+--- a/Makefile 2015-04-17 13:43:08.122972280 +0200 |
22 |
++++ b/Makefile 2015-04-17 13:43:11.569975854 +0200 |
23 |
@@ -14,12 +14,12 @@ |
24 |
PIXBUF_LIB := -rdynamic -L$(shell $(PIXBUF_CFG) --variable=prefix)/lib -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 |
25 |
endif |
26 |
|
27 |
diff --git a/x11-plugins/wmmenu/wmmenu-1.3-r2.ebuild b/x11-plugins/wmmenu/wmmenu-1.3-r2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..ab02ed5b392 |
30 |
--- /dev/null |
31 |
+++ b/x11-plugins/wmmenu/wmmenu-1.3-r2.ebuild |
32 |
@@ -0,0 +1,38 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+inherit toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="a popup menu of icons like in AfterStep, as a dockapp" |
40 |
+HOMEPAGE="https://www.dockapps.net/wmmenu" |
41 |
+SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+RDEPEND="x11-libs/gdk-pixbuf[X] |
48 |
+ >=x11-libs/libdockapp-0.7:=" |
49 |
+DEPEND="${RDEPEND}" |
50 |
+ |
51 |
+S="${WORKDIR}/dockapps" |
52 |
+ |
53 |
+PATCHES=( "${FILESDIR}"/${P}-Makefile.patch ) |
54 |
+ |
55 |
+DOCS=( README TODO example/{apps,defaults,extract_icon_back} ) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die |
60 |
+} |
61 |
+ |
62 |
+src_compile() { |
63 |
+ emake CC="$(tc-getCC)" |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ dobin wmmenu |
68 |
+ doman wmmenu.1 |
69 |
+ einstalldocs |
70 |
+} |