1 |
commit: 91bc06becad01074480a9fa56ad3b8c4373f3d4b |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 2 11:34:06 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 2 11:42:51 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91bc06be |
7 |
|
8 |
x11-wm/icewm: Bump to version 1.5.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
x11-wm/icewm/Manifest | 1 + |
14 |
x11-wm/icewm/icewm-1.5.0.ebuild | 120 ++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 121 insertions(+) |
16 |
|
17 |
diff --git a/x11-wm/icewm/Manifest b/x11-wm/icewm/Manifest |
18 |
index 8401cced420..c27a26a892b 100644 |
19 |
--- a/x11-wm/icewm/Manifest |
20 |
+++ b/x11-wm/icewm/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST icewm-1.4.2.tar.gz 1709850 BLAKE2B 1a9dde495345f1601b3ae901b3e98554b60a9b9a8e94b7079f3c766971eb31bde5a3cd3972f5c96d86b5e02e413811df2a0689efc15a461bca39a70842f3df69 SHA512 c01661a7b07b4f42a32b20ecc9e45fb1e9c84c27d33105ec165e75aa9ac84129d55e992cac0d53fb10298bae28bc93ef07f68e874c1c2fccd9adecceb987a872 |
23 |
+DIST icewm-1.5.0.tar.xz 1660616 BLAKE2B edfcde56b77e57ed1cddb615238d13d568e2e9166a1e487d17693fff8fa6d7e61b17cd0cb7be0611ffcafa03eeea1cdaa2a4dce30cd9a60f760b1302efc1ebe5 SHA512 49d3f6fc8b2073731ae499375352bda73cf0c166067339d5bf09ad900decddf483c60da140ea6a5a607271b7d9cfac44a04dd8c56df18243e35d2ceb100ddff9 |
24 |
|
25 |
diff --git a/x11-wm/icewm/icewm-1.5.0.ebuild b/x11-wm/icewm/icewm-1.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..5c3341f6da6 |
28 |
--- /dev/null |
29 |
+++ b/x11-wm/icewm/icewm-1.5.0.ebuild |
30 |
@@ -0,0 +1,120 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools |
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.xz" |
42 |
+ |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
45 |
+IUSE="+alsa ao bidi debug doc 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 |
+ |
52 |
+#fix for icewm preversion package names |
53 |
+S="${WORKDIR}/${P/_}" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ media-libs/fontconfig |
57 |
+ x11-libs/gdk-pixbuf:2[X] |
58 |
+ x11-libs/libICE |
59 |
+ x11-libs/libSM |
60 |
+ x11-libs/libX11 |
61 |
+ x11-libs/libXft |
62 |
+ x11-libs/libXrandr |
63 |
+ x11-libs/libXrender |
64 |
+ alsa? ( |
65 |
+ media-libs/alsa-lib |
66 |
+ media-libs/libsndfile[alsa] |
67 |
+ ) |
68 |
+ ao? ( |
69 |
+ media-libs/libao |
70 |
+ media-libs/libsndfile |
71 |
+ ) |
72 |
+ bidi? ( dev-libs/fribidi ) |
73 |
+ truetype? ( x11-libs/libXext ) |
74 |
+ xinerama? ( x11-libs/libXinerama ) |
75 |
+" |
76 |
+DEPEND=" |
77 |
+ ${RDEPEND} |
78 |
+ gnome-base/librsvg |
79 |
+ x11-base/xorg-proto |
80 |
+ doc? ( app-text/linuxdoc-tools ) |
81 |
+ nls? ( >=sys-devel/gettext-0.19.6 ) |
82 |
+ truetype? ( >=media-libs/freetype-2.0.9 ) |
83 |
+" |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ # Fix bug #486710 - TODO: Still needed? |
87 |
+ #use uclibc && PATCHES+=( "${FILESDIR}/${PN}-1.3.8-uclibc.patch" ) |
88 |
+ |
89 |
+ default |
90 |
+ |
91 |
+ if ! use doc ; then |
92 |
+ sed '/^SUBDIRS =/s@ doc@@' -i Makefile.am || die |
93 |
+ fi |
94 |
+ |
95 |
+ eautoreconf |
96 |
+} |
97 |
+ |
98 |
+src_configure() { |
99 |
+ local icesound |
100 |
+ if use alsa && use ao ; then |
101 |
+ icesound="alsa,ao" |
102 |
+ elif use alsa ; then |
103 |
+ icesound="alsa" |
104 |
+ elif use ao ; then |
105 |
+ icesound="ao" |
106 |
+ fi |
107 |
+ |
108 |
+ local myconf=( |
109 |
+ --enable-gdk-pixbuf |
110 |
+ --enable-logevents |
111 |
+ --enable-xrandr |
112 |
+ --enable-xrender |
113 |
+ --with-cfgdir=/etc/icewm |
114 |
+ --with-docdir=/usr/share/doc/${PF}/html |
115 |
+ --with-icesound="${icesound}" |
116 |
+ --with-libdir=/usr/share/icewm |
117 |
+ $(use_enable bidi fribidi) |
118 |
+ $(use_enable debug) |
119 |
+ $(use_enable nls i18n) |
120 |
+ $(use_enable nls) |
121 |
+ $(use_enable xinerama) |
122 |
+ ) |
123 |
+ if use truetype ; then |
124 |
+ myconf+=( |
125 |
+ --enable-shape |
126 |
+ ) |
127 |
+ else |
128 |
+ myconf+=( |
129 |
+ --disable-xfreetype |
130 |
+ --enable-corefonts |
131 |
+ ) |
132 |
+ fi |
133 |
+ |
134 |
+ CXXFLAGS="${CXXFLAGS}" econf "${myconf[@]}" |
135 |
+ |
136 |
+ sed -i "s:/icewm-\$(VERSION)::" src/Makefile || die |
137 |
+ sed -i "s:ungif:gif:" src/Makefile || die "libungif fix failed" |
138 |
+} |
139 |
+ |
140 |
+src_install(){ |
141 |
+ local DOCS=( AUTHORS ChangeLog NEWS README.md TODO VERSION ) |
142 |
+ |
143 |
+ default |
144 |
+ |
145 |
+ docinto html |
146 |
+ dodoc man/*.html |
147 |
+ |
148 |
+ exeinto /etc/X11/Sessions |
149 |
+ doexe "${FILESDIR}/icewm" |
150 |
+} |