Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/icewm/
Date: Tue, 25 Aug 2020 19:42:07
Message-Id: 1598384519.329ebb790cc273f6afdd1212a3bef37aa6a2e48f.whissi@gentoo
1 commit: 329ebb790cc273f6afdd1212a3bef37aa6a2e48f
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 25 19:41:51 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 25 19:41:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=329ebb79
7
8 x11-wm/icewm: bump to v1.8.0
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 x11-wm/icewm/Manifest | 1 +
14 x11-wm/icewm/icewm-1.8.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 850e732cdd7..56d6020801e 100644
19 --- a/x11-wm/icewm/Manifest
20 +++ b/x11-wm/icewm/Manifest
21 @@ -1,2 +1,3 @@
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
26 diff --git a/x11-wm/icewm/icewm-1.8.0.ebuild b/x11-wm/icewm/icewm-1.8.0.ebuild
27 new file mode 100644
28 index 00000000000..f3a5bab3c27
29 --- /dev/null
30 +++ b/x11-wm/icewm/icewm-1.8.0.ebuild
31 @@ -0,0 +1,137 @@
32 +# Copyright 1999-2020 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 +}