1 |
commit: 99fa00081acb2e1d398c5114229b0777e9362d46 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 24 06:55:08 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 24 06:55:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99fa0008 |
7 |
|
8 |
x11-wm/icewm: Bump to version 2.9.0 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
x11-wm/icewm/Manifest | 1 + |
13 |
x11-wm/icewm/icewm-2.9.0.ebuild | 153 ++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 154 insertions(+) |
15 |
|
16 |
diff --git a/x11-wm/icewm/Manifest b/x11-wm/icewm/Manifest |
17 |
index 6cce5207a8cf..d081664744e1 100644 |
18 |
--- a/x11-wm/icewm/Manifest |
19 |
+++ b/x11-wm/icewm/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST icewm-2.7.0.tar.lz 1738471 BLAKE2B 407f5290329de99519b806db4bbc8895623d2930f37912db701170145579a1c2819b7ae2576b0aee146e8b006a12c78f7344224dd407ed7e8a1eba1cffc43ced SHA512 829673a3f7aa26fd7f74a9a8ab220548b6bb7724026517fa7ec1d5705fca2c0aa9339078d603242dbb2209c194a7a64aebcf55454aea5f8a20c4785e63e8cc3f |
22 |
DIST icewm-2.8.0.tar.lz 1745937 BLAKE2B dc5c4c6e4b5f067881176a0f72914f971dbae3daa475ed7ca00dbf3f687aae97874a0cf2e94b0d22d45f7dc221390c0658674e9aad3ea19d21a171b6d478c4be SHA512 552d1da9ceb96c6c14a0dfd596656a56fb289716a787fb75e54b49ef6df84747a4999ce733a6ffb9ff7a1e4c0243253fc3f2fa7a2251e7f3987ab9f33c0a1b30 |
23 |
+DIST icewm-2.9.0.tar.lz 1745872 BLAKE2B 6a37894f51adc29e73a9edb74e6b5e1cdc9f93cd2dc2a28cd456ecd574f29b985a87395c1f12fd9265d4d9cd5c55749f59b4cef711daf8d8a638c5f98669a7bf SHA512 9db1c5c5a277a55b256cd9be4a964639b24cee49e809c56a772ac2501ab96acbf0c0268609e241c800fbaa566b96585b5b67642908a1c244091683c2f8cda92b |
24 |
|
25 |
diff --git a/x11-wm/icewm/icewm-2.9.0.ebuild b/x11-wm/icewm/icewm-2.9.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..6d9fc5f765eb |
28 |
--- /dev/null |
29 |
+++ b/x11-wm/icewm/icewm-2.9.0.ebuild |
30 |
@@ -0,0 +1,153 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit autotools unpacker |
37 |
+ |
38 |
+DESCRIPTION="Ice Window Manager with Themes" |
39 |
+HOMEPAGE="https://ice-wm.org/ https://github.com/ice-wm/icewm" |
40 |
+LICENSE="GPL-2" |
41 |
+SRC_URI="https://github.com/ice-wm/icewm/releases/download/${PV}/${P}.tar.lz" |
42 |
+ |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
45 |
+IUSE="+alsa ao bidi debug +gdk-pixbuf imlib nls truetype uclibc xinerama" |
46 |
+ |
47 |
+# Tests broken in all versions, patches welcome, bug #323907, #389533 |
48 |
+RESTRICT="test" |
49 |
+ |
50 |
+REQUIRED_USE="|| ( alsa ao )" |
51 |
+#?? ( gdk-pixbuf imlib ) |
52 |
+ |
53 |
+#fix for icewm preversion package names |
54 |
+S="${WORKDIR}/${P/_}" |
55 |
+ |
56 |
+# These are the core dependencies of icewm. |
57 |
+# Look into configure.ac and search for PKG_CHECK_MODULES([CORE] |
58 |
+CORE_DEPEND=" |
59 |
+ media-libs/fontconfig |
60 |
+ x11-libs/libX11 |
61 |
+ x11-libs/libXcomposite |
62 |
+ x11-libs/libXdamage |
63 |
+ x11-libs/libXext |
64 |
+ x11-libs/libXfixes |
65 |
+ x11-libs/libXrender |
66 |
+" |
67 |
+ |
68 |
+RDEPEND=" |
69 |
+ ${CORE_DEPEND} |
70 |
+ dev-libs/glib:2 |
71 |
+ x11-libs/libICE |
72 |
+ x11-libs/libSM |
73 |
+ x11-libs/libXft |
74 |
+ x11-libs/libXpm |
75 |
+ x11-libs/libXrandr |
76 |
+ alsa? ( |
77 |
+ media-libs/alsa-lib |
78 |
+ media-libs/libsndfile[alsa] |
79 |
+ ) |
80 |
+ ao? ( |
81 |
+ media-libs/libao |
82 |
+ media-libs/libsndfile |
83 |
+ ) |
84 |
+ bidi? ( dev-libs/fribidi ) |
85 |
+ gdk-pixbuf? ( |
86 |
+ x11-libs/gdk-pixbuf-xlib |
87 |
+ >=x11-libs/gdk-pixbuf-2.42.0:2 |
88 |
+ ) |
89 |
+ !gdk-pixbuf? ( |
90 |
+ imlib? ( |
91 |
+ gnome-base/librsvg:2 |
92 |
+ media-libs/imlib2 |
93 |
+ ) |
94 |
+ !imlib? ( |
95 |
+ media-libs/libpng:0= |
96 |
+ virtual/jpeg |
97 |
+ ) |
98 |
+ ) |
99 |
+ xinerama? ( x11-libs/libXinerama ) |
100 |
+" |
101 |
+DEPEND=" |
102 |
+ ${RDEPEND} |
103 |
+ $(unpacker_src_uri_depends) |
104 |
+ x11-base/xorg-proto |
105 |
+ gdk-pixbuf? ( gnome-base/librsvg:2 ) |
106 |
+" |
107 |
+ |
108 |
+BDEPEND=" |
109 |
+ app-text/asciidoc |
110 |
+ virtual/pkgconfig |
111 |
+ nls? ( >=sys-devel/gettext-0.19.8 ) |
112 |
+" |
113 |
+ |
114 |
+pkg_pretend() { |
115 |
+ if use gdk-pixbuf && use imlib ; then |
116 |
+ einfo 'Confilcting USE flags have been enabled:' |
117 |
+ einfo '"gdk-pixbuf" and "imlib" exclude each other!' |
118 |
+ einfo 'Using "gdk-pixbuf".' |
119 |
+ fi |
120 |
+} |
121 |
+ |
122 |
+src_prepare() { |
123 |
+ default |
124 |
+ eautoreconf |
125 |
+} |
126 |
+ |
127 |
+src_configure() { |
128 |
+ local icesound |
129 |
+ if use alsa && use ao ; then |
130 |
+ icesound="alsa,ao" |
131 |
+ elif use alsa ; then |
132 |
+ icesound="alsa" |
133 |
+ elif use ao ; then |
134 |
+ icesound="ao" |
135 |
+ fi |
136 |
+ |
137 |
+ local myconf=( |
138 |
+ --enable-logevents |
139 |
+ --enable-xrandr |
140 |
+ --with-cfgdir="${EPREFIX}"/etc/icewm |
141 |
+ --with-docdir="${EPREFIX}"/usr/share/doc/${PF}/html |
142 |
+ --with-icesound="${icesound}" |
143 |
+ --with-libdir="${EPREFIX}"/usr/share/icewm |
144 |
+ $(use_enable bidi fribidi) |
145 |
+ $(use_enable debug) |
146 |
+ $(use_enable debug logevents) |
147 |
+ $(use_enable gdk-pixbuf) |
148 |
+ $(use_enable imlib imlib2) |
149 |
+ $(use_enable nls i18n) |
150 |
+ $(use_enable nls) |
151 |
+ $(use_enable xinerama) |
152 |
+ ) |
153 |
+ if use truetype ; then |
154 |
+ myconf+=( |
155 |
+ --enable-shape |
156 |
+ ) |
157 |
+ else |
158 |
+ myconf+=( |
159 |
+ --disable-xfreetype |
160 |
+ --enable-corefonts |
161 |
+ ) |
162 |
+ fi |
163 |
+ |
164 |
+ econf "${myconf[@]}" |
165 |
+ |
166 |
+ sed \ |
167 |
+ -e "s:/icewm-\$(VERSION)::" \ |
168 |
+ -e "s:ungif:gif:" \ |
169 |
+ -i src/Makefile || die |
170 |
+} |
171 |
+ |
172 |
+src_install() { |
173 |
+ local DOCS=( AUTHORS ChangeLog NEWS README.md TODO VERSION ) |
174 |
+ |
175 |
+ default |
176 |
+ |
177 |
+ docinto html |
178 |
+ dodoc doc/icewm.html |
179 |
+ dodoc man/*.html |
180 |
+ |
181 |
+ exeinto /etc/X11/Sessions |
182 |
+ doexe "${FILESDIR}/icewm" |
183 |
+} |