1 |
commit: 08732702b792b2a51a0ccab1a2fed6d3ffe8c83d |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jun 23 18:10:04 2018 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 26 21:53:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08732702 |
7 |
|
8 |
x11-plugins/docker: EAPI7, improve ebuild |
9 |
|
10 |
x11-plugins/docker/docker-1.5-r2.ebuild | 29 ++++++++++++++++++++++ |
11 |
.../docker/files/docker-1.5-makefile_rename.patch | 4 +-- |
12 |
2 files changed, 31 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/x11-plugins/docker/docker-1.5-r2.ebuild b/x11-plugins/docker/docker-1.5-r2.ebuild |
15 |
new file mode 100644 |
16 |
index 00000000000..8999156d944 |
17 |
--- /dev/null |
18 |
+++ b/x11-plugins/docker/docker-1.5-r2.ebuild |
19 |
@@ -0,0 +1,29 @@ |
20 |
+# Copyright 1999-2018 Gentoo Foundation |
21 |
+# Distributed under the terms of the GNU General Public License v2 |
22 |
+ |
23 |
+EAPI=7 |
24 |
+inherit toolchain-funcs |
25 |
+ |
26 |
+DESCRIPTION="Openbox app which acts as a system tray for KDE and GNOME2" |
27 |
+HOMEPAGE="https://icculus.org/openbox/2/docker/" |
28 |
+SRC_URI="https://icculus.org/openbox/2/${PN}/${P}.tar.gz" |
29 |
+ |
30 |
+LICENSE="GPL-2" |
31 |
+SLOT="0" |
32 |
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
33 |
+IUSE="" |
34 |
+ |
35 |
+RDEPEND=">=dev-libs/glib-2.0.4 |
36 |
+ x11-libs/libX11" |
37 |
+DEPEND="${RDEPEND} |
38 |
+ virtual/pkgconfig" |
39 |
+ |
40 |
+PATCHES=( "${FILESDIR}/${P}-makefile_rename.patch" ) |
41 |
+ |
42 |
+src_compile() { |
43 |
+ emake CC="$(tc-getCC)" |
44 |
+} |
45 |
+ |
46 |
+pkg_postinst() { |
47 |
+ einfo "To avoid collision with app-emulation/docker, binary was renamed to wmdocker" |
48 |
+} |
49 |
|
50 |
diff --git a/x11-plugins/docker/files/docker-1.5-makefile_rename.patch b/x11-plugins/docker/files/docker-1.5-makefile_rename.patch |
51 |
index 2e742661b11..cf20a9135aa 100644 |
52 |
--- a/x11-plugins/docker/files/docker-1.5-makefile_rename.patch |
53 |
+++ b/x11-plugins/docker/files/docker-1.5-makefile_rename.patch |
54 |
@@ -1,5 +1,5 @@ |
55 |
---- Makefile.orig 2015-01-19 20:10:47.762522964 +0100 |
56 |
-+++ Makefile 2015-01-19 20:11:11.463545692 +0100 |
57 |
+--- a/Makefile 2015-01-19 20:10:47.762522964 +0100 |
58 |
++++ b/Makefile 2015-01-19 20:11:11.463545692 +0100 |
59 |
@@ -5,12 +5,10 @@ |
60 |
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# |