Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/icewm/
Date: Thu, 29 Oct 2020 20:44:16
Message-Id: 1604004247.36d18a0bfcf4fa2a496e454631ee5bf63751d3c5.polynomial-c@gentoo
1 commit: 36d18a0bfcf4fa2a496e454631ee5bf63751d3c5
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 29 20:43:04 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 29 20:44:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36d18a0b
7
8 x11-wm/icewm: Bump to version 1.9.0
9
10 Package-Manager: Portage-3.0.8, 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-1.9.0.ebuild | 137 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 138 insertions(+)
16
17 diff --git a/x11-wm/icewm/Manifest b/x11-wm/icewm/Manifest
18 index c59f11d5d3e..01e09a230b7 100644
19 --- a/x11-wm/icewm/Manifest
20 +++ b/x11-wm/icewm/Manifest
21 @@ -1,3 +1,4 @@
22 DIST icewm-1.7.0.tar.lz 1668130 BLAKE2B 90739f862cf320c43dc2ddbd1a5ecdf2918e6525e45d5732b19adaaeef0f104d9a66d29acab776658f869d7149954d4b531a07e2595a4c80b4dc50dc679473f0 SHA512 1b0faed0e9ead837dcb0d3ce91ad5248d7fca5ad48455c838700c66482a3373bb4e552dbc252b93b0a5613d53e2663cea756e64b3f3fb073d9ba2797e2b69601
23 DIST icewm-1.8.2.tar.lz 1686746 BLAKE2B a2dcf77284f5dc2f908ec949c6e1ea792292648fbd5cb8167216ee994706b1a208ca6fe29831f6bf98d2ec02e5e5120eca8f3a93a20a4a75d80d839210d829bd SHA512 3454b9547b7f4857957133cda4436814149bea99886cd4564f947391a1f42d474d56c7cd3208ff2471262c57f623de1ec22e30f0d9b14874f29ac3a4855b9a45
24 DIST icewm-1.8.3.tar.lz 1686603 BLAKE2B 214cb3c7816ba8d94fa56fb9d4a6c630f49f23f69f99ff1ba7aff38aba6f6b7fbd623a284d4873616486d266a7ec412ba9cf4b29479c5c29f1f7ff27e15d1f48 SHA512 697395ff995b57e043774bae2cce667935879c4deab17d9a9059c1e152a90704ad3af618a2c945ac5afd561754895d4e9805f4fea77d5f1e06cf99a7dfd4c062
25 +DIST icewm-1.9.0.tar.lz 1695327 BLAKE2B 233c2fb2f9be4be757055a5655f32a9c34f3551dd1807568e00b84ac8e60422c2f25d03d6ca206e9134b4db0605a0ea5a8b4bad1cd507220d2b5520583a66e96 SHA512 781d1ef230fda0b6b52ce6383126e7f953ac043fd85d14de718d42f1271c063d9861fbfd4dd6e81f9b6f33058c59026766ebc3f2fce84ca79c89ddb562c26fde
26
27 diff --git a/x11-wm/icewm/icewm-1.9.0.ebuild b/x11-wm/icewm/icewm-1.9.0.ebuild
28 new file mode 100644
29 index 00000000000..f3a5bab3c27
30 --- /dev/null
31 +++ b/x11-wm/icewm/icewm-1.9.0.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 +}