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