1 |
commit: 5f27761e08192c033a97129022d5acfddac0500e |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 31 09:53:38 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 31 09:53:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f27761e |
7 |
|
8 |
x11-wm/icewm: Bump to version 1.8.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
x11-wm/icewm/Manifest | 1 + |
14 |
x11-wm/icewm/icewm-1.8.1.ebuild | 137 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 138 insertions(+) |
16 |
|
17 |
diff --git a/x11-wm/icewm/Manifest b/x11-wm/icewm/Manifest |
18 |
index 56d6020801e..162c9b25cb0 100644 |
19 |
--- a/x11-wm/icewm/Manifest |
20 |
+++ b/x11-wm/icewm/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST icewm-1.6.6.tar.lz 1684639 BLAKE2B 20daba42f19d86ceff6ce31c8df9cb1b9b09cc53d8933f70a9a8e750470c4f485e79f8de5e47ed503c83ac5433931c4ff98b10584566941e6a3bcf22d58e3dbf SHA512 6d9848924253fee5f57be488d2eb0b602767f168ce623b10c768a73197dfc6265daee7e70373d45ff5fae1c15b029d62c77ad13f0f631283bbf13aaaa9c6234d |
23 |
DIST icewm-1.7.0.tar.lz 1668130 BLAKE2B 90739f862cf320c43dc2ddbd1a5ecdf2918e6525e45d5732b19adaaeef0f104d9a66d29acab776658f869d7149954d4b531a07e2595a4c80b4dc50dc679473f0 SHA512 1b0faed0e9ead837dcb0d3ce91ad5248d7fca5ad48455c838700c66482a3373bb4e552dbc252b93b0a5613d53e2663cea756e64b3f3fb073d9ba2797e2b69601 |
24 |
DIST icewm-1.8.0.tar.lz 1679913 BLAKE2B 4facdf69abd4ffc58bf65cbf5603b64d82e8e384b9a4f68249feaf8656010f08121a2a13ad5a38d867be2b0c29ca0952ac527ba4281f6d03f81ef4fdad47c825 SHA512 b49247bfbeecd7e68999d349676f889cf4514e27d1eb0d8dab38826f874d2273fab380e46ae3b2fab85ce2a3a495dd29f6caf4dc3bf5dec355b240550cbc117b |
25 |
+DIST icewm-1.8.1.tar.lz 1682283 BLAKE2B a8b13e8e5a2d675a3c7c488620e44201a4ac07bd9dcf55502d4399242d3ded5ab2b1a51f393ef185b602f1c6bd4b8044dd13ac39966c194dc30c65f05b4ab350 SHA512 b84c767ae96cc78eeea810e35ca01cdd800f1847bc847ee7e41c0d6c5f9f3e28901e3d4b5fee2992e80c86fa3694b5d6f8760c2a6b6df316db67a2248e726d05 |
26 |
|
27 |
diff --git a/x11-wm/icewm/icewm-1.8.1.ebuild b/x11-wm/icewm/icewm-1.8.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..f3a5bab3c27 |
30 |
--- /dev/null |
31 |
+++ b/x11-wm/icewm/icewm-1.8.1.ebuild |
32 |
@@ -0,0 +1,137 @@ |
33 |
+# Copyright 1999-2020 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 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 |
+ |
54 |
+#fix for icewm preversion package names |
55 |
+S="${WORKDIR}/${P/_}" |
56 |
+ |
57 |
+# These are the core dependencies of icewm. |
58 |
+# Look into configure.ac and search for PKG_CHECK_MODULES([CORE] |
59 |
+CORE_DEPEND=" |
60 |
+ media-libs/fontconfig |
61 |
+ x11-libs/libX11 |
62 |
+ x11-libs/libXcomposite |
63 |
+ x11-libs/libXdamage |
64 |
+ x11-libs/libXext |
65 |
+ x11-libs/libXfixes |
66 |
+ x11-libs/libXrender |
67 |
+" |
68 |
+ |
69 |
+RDEPEND=" |
70 |
+ ${CORE_DEPEND} |
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:2[X] |
87 |
+ ) |
88 |
+ !gdk-pixbuf? ( |
89 |
+ media-libs/libpng:0= |
90 |
+ virtual/jpeg |
91 |
+ ) |
92 |
+ xinerama? ( x11-libs/libXinerama ) |
93 |
+" |
94 |
+DEPEND=" |
95 |
+ ${RDEPEND} |
96 |
+ $(unpacker_src_uri_depends) |
97 |
+ dev-libs/glib:2 |
98 |
+ gnome-base/librsvg |
99 |
+ x11-base/xorg-proto |
100 |
+ gdk-pixbuf? ( gnome-base/librsvg:2 ) |
101 |
+" |
102 |
+ |
103 |
+BDEPEND=" |
104 |
+ app-text/asciidoc |
105 |
+ virtual/pkgconfig |
106 |
+ nls? ( >=sys-devel/gettext-0.19.6 ) |
107 |
+" |
108 |
+ |
109 |
+src_prepare() { |
110 |
+ # Fix bug #486710 - TODO: Still needed? |
111 |
+ #use uclibc && PATCHES+=( "${FILESDIR}/${PN}-1.3.8-uclibc.patch" ) |
112 |
+ |
113 |
+ default |
114 |
+ eautoreconf |
115 |
+} |
116 |
+ |
117 |
+src_configure() { |
118 |
+ local icesound |
119 |
+ if use alsa && use ao ; then |
120 |
+ icesound="alsa,ao" |
121 |
+ elif use alsa ; then |
122 |
+ icesound="alsa" |
123 |
+ elif use ao ; then |
124 |
+ icesound="ao" |
125 |
+ fi |
126 |
+ |
127 |
+ local myconf=( |
128 |
+ --enable-logevents |
129 |
+ --enable-xrandr |
130 |
+ --with-cfgdir=/etc/icewm |
131 |
+ --with-docdir=/usr/share/doc/${PF}/html |
132 |
+ --with-icesound="${icesound}" |
133 |
+ --with-libdir=/usr/share/icewm |
134 |
+ $(use_enable bidi fribidi) |
135 |
+ $(use_enable debug) |
136 |
+ $(use_enable gdk-pixbuf) |
137 |
+ $(use_enable nls i18n) |
138 |
+ $(use_enable nls) |
139 |
+ $(use_enable xinerama) |
140 |
+ ) |
141 |
+ if use truetype ; then |
142 |
+ myconf+=( |
143 |
+ --enable-shape |
144 |
+ ) |
145 |
+ else |
146 |
+ myconf+=( |
147 |
+ --disable-xfreetype |
148 |
+ --enable-corefonts |
149 |
+ ) |
150 |
+ fi |
151 |
+ |
152 |
+ econf "${myconf[@]}" |
153 |
+ |
154 |
+ sed -i "s:/icewm-\$(VERSION)::" src/Makefile || die |
155 |
+ sed -i "s:ungif:gif:" src/Makefile || die "libungif fix failed" |
156 |
+} |
157 |
+ |
158 |
+src_install() { |
159 |
+ local DOCS=( AUTHORS ChangeLog NEWS README.md TODO VERSION ) |
160 |
+ |
161 |
+ default |
162 |
+ |
163 |
+ docinto html |
164 |
+ dodoc doc/icewm.html |
165 |
+ dodoc man/*.html |
166 |
+ |
167 |
+ exeinto /etc/X11/Sessions |
168 |
+ doexe "${FILESDIR}/icewm" |
169 |
+} |