1 |
commit: 06d30c7c4168e1c904d673384024469201ad8b46 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 25 22:56:30 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 25 22:56:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d30c7c |
7 |
|
8 |
x11-wm/icewm: Bump to version 1.6.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
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.3.ebuild | 137 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 138 insertions(+) |
16 |
|
17 |
diff --git a/x11-wm/icewm/Manifest b/x11-wm/icewm/Manifest |
18 |
index 13bf1289324..b1110a63548 100644 |
19 |
--- a/x11-wm/icewm/Manifest |
20 |
+++ b/x11-wm/icewm/Manifest |
21 |
@@ -1,2 +1,3 @@ |
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 |
|
26 |
diff --git a/x11-wm/icewm/icewm-1.6.3.ebuild b/x11-wm/icewm/icewm-1.6.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4c87bc3f612 |
29 |
--- /dev/null |
30 |
+++ b/x11-wm/icewm/icewm-1.6.3.ebuild |
31 |
@@ -0,0 +1,137 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit autotools unpacker |
38 |
+ |
39 |
+DESCRIPTION="Ice Window Manager with Themes" |
40 |
+HOMEPAGE="https://ice-wm.org/ https://github.com/ice-wm/icewm" |
41 |
+LICENSE="GPL-2" |
42 |
+SRC_URI="https://github.com/ice-wm/icewm/releases/download/${PV}/${P}.tar.lz" |
43 |
+ |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
46 |
+IUSE="+alsa ao bidi debug +gdk-pixbuf nls truetype uclibc xinerama" |
47 |
+ |
48 |
+# Tests broken in all versions, patches welcome, bug #323907, #389533 |
49 |
+RESTRICT="test" |
50 |
+ |
51 |
+REQUIRED_USE="|| ( alsa ao )" |
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 |
+ x11-libs/libICE |
71 |
+ x11-libs/libSM |
72 |
+ x11-libs/libXft |
73 |
+ x11-libs/libXpm |
74 |
+ x11-libs/libXrandr |
75 |
+ alsa? ( |
76 |
+ media-libs/alsa-lib |
77 |
+ media-libs/libsndfile[alsa] |
78 |
+ ) |
79 |
+ ao? ( |
80 |
+ media-libs/libao |
81 |
+ media-libs/libsndfile |
82 |
+ ) |
83 |
+ bidi? ( dev-libs/fribidi ) |
84 |
+ gdk-pixbuf? ( |
85 |
+ x11-libs/gdk-pixbuf:2[X] |
86 |
+ ) |
87 |
+ !gdk-pixbuf? ( |
88 |
+ media-libs/libpng:0= |
89 |
+ virtual/jpeg |
90 |
+ ) |
91 |
+ xinerama? ( x11-libs/libXinerama ) |
92 |
+" |
93 |
+DEPEND=" |
94 |
+ ${RDEPEND} |
95 |
+ $(unpacker_src_uri_depends) |
96 |
+ dev-libs/glib:2 |
97 |
+ gnome-base/librsvg |
98 |
+ x11-base/xorg-proto |
99 |
+ gdk-pixbuf? ( gnome-base/librsvg:2 ) |
100 |
+" |
101 |
+ |
102 |
+BDEPEND=" |
103 |
+ app-text/asciidoc |
104 |
+ virtual/pkgconfig |
105 |
+ nls? ( >=sys-devel/gettext-0.19.6 ) |
106 |
+" |
107 |
+ |
108 |
+src_prepare() { |
109 |
+ # Fix bug #486710 - TODO: Still needed? |
110 |
+ #use uclibc && PATCHES+=( "${FILESDIR}/${PN}-1.3.8-uclibc.patch" ) |
111 |
+ |
112 |
+ default |
113 |
+ eautoreconf |
114 |
+} |
115 |
+ |
116 |
+src_configure() { |
117 |
+ local icesound |
118 |
+ if use alsa && use ao ; then |
119 |
+ icesound="alsa,ao" |
120 |
+ elif use alsa ; then |
121 |
+ icesound="alsa" |
122 |
+ elif use ao ; then |
123 |
+ icesound="ao" |
124 |
+ fi |
125 |
+ |
126 |
+ local myconf=( |
127 |
+ --enable-logevents |
128 |
+ --enable-xrandr |
129 |
+ --with-cfgdir=/etc/icewm |
130 |
+ --with-docdir=/usr/share/doc/${PF}/html |
131 |
+ --with-icesound="${icesound}" |
132 |
+ --with-libdir=/usr/share/icewm |
133 |
+ $(use_enable bidi fribidi) |
134 |
+ $(use_enable debug) |
135 |
+ $(use_enable gdk-pixbuf) |
136 |
+ $(use_enable nls i18n) |
137 |
+ $(use_enable nls) |
138 |
+ $(use_enable xinerama) |
139 |
+ ) |
140 |
+ if use truetype ; then |
141 |
+ myconf+=( |
142 |
+ --enable-shape |
143 |
+ ) |
144 |
+ else |
145 |
+ myconf+=( |
146 |
+ --disable-xfreetype |
147 |
+ --enable-corefonts |
148 |
+ ) |
149 |
+ fi |
150 |
+ |
151 |
+ econf "${myconf[@]}" |
152 |
+ |
153 |
+ sed -i "s:/icewm-\$(VERSION)::" src/Makefile || die |
154 |
+ sed -i "s:ungif:gif:" src/Makefile || die "libungif fix failed" |
155 |
+} |
156 |
+ |
157 |
+src_install(){ |
158 |
+ local DOCS=( AUTHORS ChangeLog NEWS README.md TODO VERSION ) |
159 |
+ |
160 |
+ default |
161 |
+ |
162 |
+ docinto html |
163 |
+ dodoc doc/icewm.html |
164 |
+ dodoc man/*.html |
165 |
+ |
166 |
+ exeinto /etc/X11/Sessions |
167 |
+ doexe "${FILESDIR}/icewm" |
168 |
+} |