1 |
commit: 33e3b1279edee0329f02c129165b278c22918433 |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 5 13:11:29 2016 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 5 13:13:42 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e3b127 |
7 |
|
8 |
x11-wm/spectrwm: Fix library path (bug 580452, thanks sdoubleyou). |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
x11-wm/spectrwm/spectrwm-2.7.2-r1.ebuild | 51 ++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 51 insertions(+) |
14 |
|
15 |
diff --git a/x11-wm/spectrwm/spectrwm-2.7.2-r1.ebuild b/x11-wm/spectrwm/spectrwm-2.7.2-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..f07f74f |
18 |
--- /dev/null |
19 |
+++ b/x11-wm/spectrwm/spectrwm-2.7.2-r1.ebuild |
20 |
@@ -0,0 +1,51 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+ |
27 |
+inherit eutils multilib toolchain-funcs |
28 |
+ |
29 |
+DESCRIPTION="Small dynamic tiling window manager for X11" |
30 |
+HOMEPAGE="https://opensource.conformal.com/wiki/spectrwm" |
31 |
+SRC_URI="http://opensource.conformal.com/snapshots/${PN}/${P}.tgz" |
32 |
+ |
33 |
+LICENSE="ISC" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+IUSE="" |
37 |
+ |
38 |
+RDEPEND="x11-misc/dmenu" |
39 |
+DEPEND="${DEPEND} |
40 |
+ x11-libs/libX11 |
41 |
+ x11-libs/libXcursor |
42 |
+ x11-libs/libXrandr |
43 |
+ x11-libs/libXtst |
44 |
+ x11-libs/xcb-util |
45 |
+ !x11-wm/scrotwm" |
46 |
+ |
47 |
+S=${WORKDIR}/${P}/linux |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ epatch "${FILESDIR}"/${PN}-2.6.2-Makefile.patch |
51 |
+ tc-export CC |
52 |
+} |
53 |
+ |
54 |
+src_compile() { |
55 |
+ emake PREFIX="${EROOT}usr" LIBDIR="${EROOT}usr/$(get_libdir)" |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ emake PREFIX="${EROOT}usr" DESTDIR="${D}" install |
60 |
+ |
61 |
+ cd "${WORKDIR}"/${P} || die |
62 |
+ |
63 |
+ insinto /etc |
64 |
+ doins ${PN}.conf |
65 |
+ dodoc ${PN}_*.conf {initscreen,screenshot}.sh |
66 |
+ |
67 |
+ make_session_desktop ${PN} ${PN} |
68 |
+ |
69 |
+ elog "Example keyboard config and helpful scripts can be found" |
70 |
+ elog "in ${ROOT}usr/share/doc/${PF}" |
71 |
+} |