1 |
commit: e30ca5a5734f147863058c02f2e1eb41d137a308 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 17 05:45:15 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 18 04:48:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e30ca5a5 |
7 |
|
8 |
x11-wm/subtle: drop live ebuild for unmaintained package |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
x11-wm/subtle/subtle-9999.ebuild | 89 ---------------------------------------- |
14 |
1 file changed, 89 deletions(-) |
15 |
|
16 |
diff --git a/x11-wm/subtle/subtle-9999.ebuild b/x11-wm/subtle/subtle-9999.ebuild |
17 |
deleted file mode 100644 |
18 |
index ef71c3fce45..00000000000 |
19 |
--- a/x11-wm/subtle/subtle-9999.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,89 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI="7" |
26 |
-USE_RUBY="ruby24 ruby25 ruby26" |
27 |
- |
28 |
-inherit ruby-ng toolchain-funcs |
29 |
- |
30 |
-if [[ ${PV} == "9999" ]]; then |
31 |
- EHG_REPO_URI="https://hg.subforge.org/subtle" |
32 |
- EHG_CHECKOUT_DIR=${S}/all |
33 |
- inherit mercurial |
34 |
-else |
35 |
- SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.gz" |
36 |
- KEYWORDS="~amd64 ~x86" |
37 |
-fi |
38 |
- |
39 |
-DESCRIPTION="A manual tiling window manager" |
40 |
-HOMEPAGE="https://subforge.org/projects/subtle/wiki" |
41 |
- |
42 |
-LICENSE="GPL-2" |
43 |
-SLOT="0" |
44 |
-IUSE="debug doc +xft xinerama xpm +xrandr +xtest" |
45 |
-RESTRICT="!test? ( test )" |
46 |
- |
47 |
-RDEPEND="x11-libs/libX11 |
48 |
- xft? ( x11-libs/libXft ) |
49 |
- xinerama? ( x11-libs/libXinerama ) |
50 |
- xpm? ( x11-libs/libXpm ) |
51 |
- xtest? ( x11-libs/libXtst ) |
52 |
- xrandr? ( x11-libs/libXrandr )" |
53 |
-DEPEND="${RDEPEND}" |
54 |
-BDEPEND="virtual/pkgconfig" |
55 |
- |
56 |
-ruby_add_rdepend "dev-ruby/archive-tar-minitar" |
57 |
-ruby_add_bdepend "dev-ruby/rake doc? ( dev-ruby/rdoc )" |
58 |
- |
59 |
-all_ruby_unpack() { |
60 |
- if [[ ${PV} == "9999" ]]; then |
61 |
- mercurial_src_unpack |
62 |
- else |
63 |
- default |
64 |
- fi |
65 |
-} |
66 |
- |
67 |
-each_ruby_configure() { |
68 |
- local myconf |
69 |
- use debug && myconf+=" debug=yes" || myconf+=" debug=no" |
70 |
- use xft && myconf+=" xft=yes" || myconf+=" xft=no" |
71 |
- use xinerama && myconf+=" xinerama=yes" || myconf+=" xinerama=no" |
72 |
- use xpm && myconf+=" xpm=yes" || myconf+=" xpm=no" |
73 |
- use xtest && myconf+=" xtest=yes" || myconf+=" xtest=no" |
74 |
- use xrandr && myconf+=" xrandr=yes" || myconf+=" xrandr=no" |
75 |
- |
76 |
- ${RUBY} -S rake -v CC="$(tc-getCC)" destdir="${D}" ${myconf} config || die |
77 |
-} |
78 |
- |
79 |
-each_ruby_compile() { |
80 |
- ${RUBY} -S rake -v build || die |
81 |
-} |
82 |
- |
83 |
-all_ruby_compile() { |
84 |
- use doc && { rake rdoc || die ; } |
85 |
-} |
86 |
- |
87 |
-each_ruby_install() { |
88 |
- ${RUBY} -S rake -v install || die |
89 |
-} |
90 |
- |
91 |
-all_ruby_install() { |
92 |
- dodir /etc/X11/Sessions |
93 |
- cat <<-EOF > "${D}/etc/X11/Sessions/${PN}" |
94 |
- #!/bin/sh |
95 |
- exec /usr/bin/subtle |
96 |
- EOF |
97 |
- fperms a+x /etc/X11/Sessions/${PN} |
98 |
- |
99 |
- insinto /usr/share/xsessions |
100 |
- doins data/${PN}.desktop |
101 |
- |
102 |
- dodoc AUTHORS NEWS |
103 |
- |
104 |
- use doc && dodoc -r html |
105 |
-} |
106 |
- |
107 |
-pkg_postinst() { |
108 |
- elog "Note that surserver will currently not work since dev-ruby/datamapper" |
109 |
- elog "is not in the tree." |
110 |
-} |