1 |
commit: 651b2a52bd15250200b98db54b2d3b75e6112d23 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 12 19:52:57 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 12 20:14:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=651b2a52 |
7 |
|
8 |
x11-wm/ratpoison: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
x11-wm/ratpoison/ratpoison-1.4.8.ebuild | 91 --------------------------------- |
13 |
1 file changed, 91 deletions(-) |
14 |
|
15 |
diff --git a/x11-wm/ratpoison/ratpoison-1.4.8.ebuild b/x11-wm/ratpoison/ratpoison-1.4.8.ebuild |
16 |
deleted file mode 100644 |
17 |
index 51e563da08d..00000000000 |
18 |
--- a/x11-wm/ratpoison/ratpoison-1.4.8.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,91 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-inherit elisp-common eutils toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="an extremely light-weight and barebones wm modelled after screen" |
29 |
-HOMEPAGE="http://www.nongnu.org/ratpoison/" |
30 |
-SRC_URI="https://savannah.nongnu.org/download/${PN}/${P}.tar.xz" |
31 |
- |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="amd64 hppa ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
35 |
-IUSE="debug emacs +history sloppy +xft" |
36 |
- |
37 |
-RDEPEND=" |
38 |
- emacs? ( virtual/emacs ) |
39 |
- history? ( sys-libs/readline ) |
40 |
- virtual/perl-Pod-Parser |
41 |
- x11-libs/libXinerama |
42 |
- x11-libs/libXtst |
43 |
- xft? ( x11-libs/libXft ) |
44 |
-" |
45 |
-DEPEND=" |
46 |
- ${RDEPEND} |
47 |
- app-arch/xz-utils |
48 |
- virtual/pkgconfig |
49 |
-" |
50 |
- |
51 |
-SITEFILE=50ratpoison-gentoo.el |
52 |
-DOCS=( AUTHORS ChangeLog NEWS README TODO ) |
53 |
- |
54 |
-src_prepare() { |
55 |
- epatch "${FILESDIR}/ratpoison.el-gentoo.patch" |
56 |
-} |
57 |
- |
58 |
-src_configure() { |
59 |
- econf \ |
60 |
- $(use_enable debug) \ |
61 |
- $(use_enable history) \ |
62 |
- $(use_with xft) |
63 |
-} |
64 |
- |
65 |
-src_compile() { |
66 |
- emake CFLAGS="${CFLAGS}" |
67 |
- if use emacs; then |
68 |
- elisp-compile contrib/ratpoison.el || die "elisp-compile failed" |
69 |
- fi |
70 |
- |
71 |
- if use sloppy; then |
72 |
- pushd contrib |
73 |
- $(tc-getCC) \ |
74 |
- ${CFLAGS} \ |
75 |
- ${LDFLAGS} \ |
76 |
- -o sloppy{,.c} \ |
77 |
- $( $(tc-getPKG_CONFIG) --libs x11) \ |
78 |
- || die |
79 |
- fi |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- default |
84 |
- |
85 |
- exeinto /etc/X11/Sessions |
86 |
- newexe "${FILESDIR}"/ratpoison.xsession ratpoison |
87 |
- |
88 |
- insinto /usr/share/xsessions |
89 |
- doins "${FILESDIR}"/${PN}.desktop |
90 |
- |
91 |
- use sloppy && dobin contrib/sloppy |
92 |
- |
93 |
- docinto example |
94 |
- dodoc contrib/{genrpbindings,split.sh} \ |
95 |
- doc/{ipaq.ratpoisonrc,sample.ratpoisonrc} |
96 |
- |
97 |
- rm -rf "${ED}/usr/share/"{doc/ratpoison,ratpoison} |
98 |
- |
99 |
- if use emacs; then |
100 |
- elisp-install ${PN} contrib/ratpoison.* |
101 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
102 |
- fi |
103 |
-} |
104 |
- |
105 |
-pkg_postinst() { |
106 |
- use emacs && elisp-site-regen |
107 |
-} |
108 |
- |
109 |
-pkg_postrm() { |
110 |
- use emacs && elisp-site-regen |
111 |
-} |