1 |
commit: e3c76788f1276fd1f331b9e7fc02e844c100da4f |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 8 07:42:20 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 8 07:44:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3c76788 |
7 |
|
8 |
x11-wm/icewm: Bump to version 1.6.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
x11-wm/icewm/Manifest | 1 + |
14 |
x11-wm/icewm/icewm-1.6.4.ebuild | 137 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 138 insertions(+) |
16 |
|
17 |
diff --git a/x11-wm/icewm/Manifest b/x11-wm/icewm/Manifest |
18 |
index b1110a63548..0e20bc02e1c 100644 |
19 |
--- a/x11-wm/icewm/Manifest |
20 |
+++ b/x11-wm/icewm/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST icewm-1.5.5.tar.xz 1707656 BLAKE2B 670ab4d1c1648faa24c848ddb04f3e353a3acd8e9a105837229d00ca344a61b3432d7b23b89dc054e220797cfd56d6504ad233d8793a3a5d95d9943c79017797 SHA512 5d75d33bf6e45ea0b46ace5173d825e9d1a12318cf7a5319b20ea704b019f6c09391f0f199b0fac678ba0f160d8236fc1cfee5d3b47d1895b7ba3721ff62a05e |
23 |
DIST icewm-1.6.2.tar.lz 1673647 BLAKE2B 006424aa005483b85ca36bd4447ce814ca81cd7243fc8045242a02355c2b35e9cbf6de0f1225d9b5e7685aca2961a731f060f7442250ef4f1527594233e8eac8 SHA512 0da78b9caf5cbbd8f944b4c89a15cb8b0e998de2075b09f65338d23027cbf024bbb9cfe9fffbe5d9606f11832090cb6552be2693cca5a62c011024f36ec1a0f9 |
24 |
DIST icewm-1.6.3.tar.lz 1678149 BLAKE2B cfb41b104f0e64172b1aa983b542dc42b6369061ad4365547b14f4f96bccba6610c9b4324ccdc691421354c387c37fa80e525658139ba4213b6ea8d86448e3cf SHA512 18d77695c22131fac98172c09e27c014c10e908f4fc0cbeeb376b9308a659f0a51b466c80fc39875d8e0cf52fd6b385e636faf96c55fcb80b2cb9c1d0eb57e41 |
25 |
+DIST icewm-1.6.4.tar.lz 1684348 BLAKE2B 63d2c609277f78ca438720c8f38108cf5b8f82361810773a79f42b161ccfb598f468cb6352ed3e1c7d523869ba6152be09e8f4ee008f300431dbe4fde4dc0325 SHA512 6a8c3b2e561c4471759b0566a4c5dc390f4abd6f266ab738a80a21445dffe9f45b24eca898507ff7c9b84ea12331262b81967b5a76be0b19e737842a66bcb000 |
26 |
|
27 |
diff --git a/x11-wm/icewm/icewm-1.6.4.ebuild b/x11-wm/icewm/icewm-1.6.4.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..342a1affae0 |
30 |
--- /dev/null |
31 |
+++ b/x11-wm/icewm/icewm-1.6.4.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 |
+} |