1 |
commit: 54dad47e478953c0eb8d892682aa39cf7039f500 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 29 12:18:00 2017 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 29 12:19:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54dad47e |
7 |
|
8 |
x11-plugins/wmdrawer: decompress manpage, bug #619980 |
9 |
|
10 |
Also update EAPI |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
13 |
|
14 |
x11-plugins/wmdrawer/wmdrawer-0.10.5-r3.ebuild | 46 ++++++++++++++++++++++++++ |
15 |
1 file changed, 46 insertions(+) |
16 |
|
17 |
diff --git a/x11-plugins/wmdrawer/wmdrawer-0.10.5-r3.ebuild b/x11-plugins/wmdrawer/wmdrawer-0.10.5-r3.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..b27b454cb21 |
20 |
--- /dev/null |
21 |
+++ b/x11-plugins/wmdrawer/wmdrawer-0.10.5-r3.ebuild |
22 |
@@ -0,0 +1,46 @@ |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+inherit eutils |
28 |
+ |
29 |
+DESCRIPTION="dockapp which provides a drawer (retractable button bar) to launch applications" |
30 |
+HOMEPAGE="http://people.easter-eggs.org/~valos/wmdrawer/" |
31 |
+SRC_URI="http://people.easter-eggs.org/~valos/wmdrawer/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-2" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
36 |
+IUSE="" |
37 |
+ |
38 |
+RDEPEND="x11-libs/gtk+:2" |
39 |
+DEPEND="${RDEPEND} |
40 |
+ virtual/pkgconfig" |
41 |
+ |
42 |
+DOCS=( README TODO AUTHORS ChangeLog wmdrawerrc.example ) |
43 |
+PATCHES=( "${FILESDIR}"/${P}-gtk+-2.patch ) |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ default |
47 |
+ |
48 |
+ gunzip doc/wmdrawer.1x.gz || die |
49 |
+ |
50 |
+ # Honour Gentoo CFLAGS |
51 |
+ sed -i -e "s|-O3|${CFLAGS}|" Makefile || die |
52 |
+ # Fix LDFLAGS ordering per bug #248640 |
53 |
+ sed -i -e 's/$(CC) $(LDFLAGS) -o $@ $(OBJS)/$(CC) -o $@ $(OBJS) $(LDFLAGS)/' Makefile || die |
54 |
+ # Do not auto-strip binaries |
55 |
+ sed -i -e 's/ strip $@//' Makefile || die |
56 |
+ # Honour Gentoo LDFLAGS |
57 |
+ sed -i -e 's/$(CC) -o/$(CC) $(REAL_LDFLAGS) -o/' Makefile || die |
58 |
+} |
59 |
+ |
60 |
+src_compile() { |
61 |
+ emake REAL_LDFLAGS="${LDFLAGS}" |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ dobin wmdrawer |
66 |
+ doman doc/wmdrawer.1x |
67 |
+ einstalldocs |
68 |
+} |