1 |
commit: b63509b589c4ce92914865b4db422c0317fe4583 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jul 23 18:42:01 2018 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 2 20:17:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b63509b5 |
7 |
|
8 |
x11-plugins/wmrack: EAPI7, improve ebuild |
9 |
|
10 |
x11-plugins/wmrack/wmrack-1.4-r1.ebuild | 35 +++++++++++++++++++++++++++++++++ |
11 |
1 file changed, 35 insertions(+) |
12 |
|
13 |
diff --git a/x11-plugins/wmrack/wmrack-1.4-r1.ebuild b/x11-plugins/wmrack/wmrack-1.4-r1.ebuild |
14 |
new file mode 100644 |
15 |
index 00000000000..f40d1f91620 |
16 |
--- /dev/null |
17 |
+++ b/x11-plugins/wmrack/wmrack-1.4-r1.ebuild |
18 |
@@ -0,0 +1,35 @@ |
19 |
+# Copyright 1999-2018 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+ |
22 |
+EAPI=7 |
23 |
+inherit toolchain-funcs |
24 |
+ |
25 |
+DESCRIPTION="a sound mixer and CD player dockapp" |
26 |
+HOMEPAGE="http://wmrack.sourceforge.net" |
27 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
28 |
+ |
29 |
+LICENSE="GPL-2" |
30 |
+SLOT="0" |
31 |
+KEYWORDS="~amd64 ~ppc ~x86" |
32 |
+ |
33 |
+RDEPEND="x11-libs/libX11 |
34 |
+ x11-libs/libXpm |
35 |
+ x11-libs/libXext" |
36 |
+DEPEND="${RDEPEND} |
37 |
+ x11-base/xorg-proto" |
38 |
+ |
39 |
+DOCS=( CHANGES README TODO ) |
40 |
+ |
41 |
+src_prepare() { |
42 |
+ default |
43 |
+ sed -i \ |
44 |
+ -e 's:gcc:$(CC):' \ |
45 |
+ -e 's:$(OBJECTS) -o:$(OBJECTS) $(LDFLAGS) -o:' "${S}"/Makefile.in || die |
46 |
+} |
47 |
+ |
48 |
+src_install() { |
49 |
+ emake LIBDIR="${D}/usr/$(get_libdir)/WMRack" \ |
50 |
+ MANDIR="${D}/usr/share/man" BINDIR="${D}/usr/bin" \ |
51 |
+ install |
52 |
+ einstalldocs |
53 |
+} |