Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/e16/
Date: Sun, 31 Jul 2022 15:22:28
Message-Id: 1659280795.a264f267c1bdf091fc0418b8efa4e3a2cf2ff810.bircoph@gentoo
1 commit: a264f267c1bdf091fc0418b8efa4e3a2cf2ff810
2 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 31 15:19:38 2022 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 15:19:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a264f267
7
8 x11-wm/e16: version bump to 1.0.25
9
10 - Update to 1.0.25.
11 - Enable container by default and rename USE container -> no-container.
12 - Update custom USE flags descriptions.
13
14 Closes: https://bugs.gentoo.org/843467
15 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
16
17 x11-wm/e16/Manifest | 1 +
18 x11-wm/e16/e16-1.0.25.ebuild | 146 +++++++++++++++++++++++++++++++++++++++++++
19 x11-wm/e16/metadata.xml | 5 +-
20 3 files changed, 150 insertions(+), 2 deletions(-)
21
22 diff --git a/x11-wm/e16/Manifest b/x11-wm/e16/Manifest
23 index 27b7b3f1699a..33779622ea3b 100644
24 --- a/x11-wm/e16/Manifest
25 +++ b/x11-wm/e16/Manifest
26 @@ -1,2 +1,3 @@
27 DIST e16-1.0.22.tar.xz 1442288 BLAKE2B 7f102474f9054935ea15ed58c91f18613561eaad84c8398c410014a5dbfb2f7f5fd079399db4c6462096c9a351bd89e47fbd61d304ca99ec844806c26c97d6a9 SHA512 0ff40390a56f0dbd2219d9e4e665b1c1802801e552df3bd76fa71502ad2fb7466f2f175757b088b490fbc58e4196b362d6cf451ad43d5104849ac8ce2805299e
28 DIST e16-1.0.24.tar.xz 1392444 BLAKE2B 5a4c30af2d484226fac73cbe9131ae9dc308638fc035958012b99747ddaa15b1fc1340fe74c7e809e399b5c93dfc7bf8a6ead338c3977483621f4ab98f8f4a3e SHA512 869e2c654bbdcdbb56656cacea8338b0f99a991e4aeaa4dde3fd01e358b1010a58422344e617d522e024186ab98a1d9364e6ea3428507b3831516d1da5dfb08a
29 +DIST e16-1.0.25.tar.xz 1400004 BLAKE2B 34ef7be6896d04234b3a48675c185aa86d7a70e0e8b5db2cdf15bef4336a40575065713f9612b94dd29a490902f36f9eb08489a779160801e885a5635d896e56 SHA512 e5cc6b08ddad8eb3052dbafda2a0ab56134e90eb9cdf75da405ac853301eadf8348dc918218119117a1f96d08e562367ff60365deb790a14af5fbdaaf89684d3
30
31 diff --git a/x11-wm/e16/e16-1.0.25.ebuild b/x11-wm/e16/e16-1.0.25.ebuild
32 new file mode 100644
33 index 000000000000..a7804aab9c99
34 --- /dev/null
35 +++ b/x11-wm/e16/e16-1.0.25.ebuild
36 @@ -0,0 +1,146 @@
37 +# Copyright 1999-2022 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=8
41 +
42 +DESCRIPTION="Enlightenment Window Manager (E16)"
43 +HOMEPAGE="https://www.enlightenment.org https://sourceforge.net/projects/enlightenment/"
44 +SRC_URI="mirror://sourceforge/enlightenment/${P}.tar.xz"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="+alsa audiofile dbus debug +dialogs doc examples gnome
50 +libhack modules nls no-container opengl +pango +poll player
51 +pulseaudio select +sndfile sound +themes xcomposite +xft xi2
52 +xinerama xpresent +xrandr +xrender +xsm +xsync zoom"
53 +
54 +REQUIRED_USE="
55 + ^^ ( poll select )
56 + opengl? ( xcomposite )
57 + pango? ( xft )
58 + sound? (
59 + ^^ ( alsa player pulseaudio )
60 + alsa? ( ^^ ( sndfile audiofile ) )
61 + pulseaudio? ( ^^ ( sndfile audiofile ) )
62 + )
63 +"
64 +
65 +BDEPEND="
66 + nls? ( sys-devel/gettext )
67 + virtual/pkgconfig
68 +"
69 +COMMON_DEPEND="
70 + media-libs/freetype:2
71 + media-libs/imlib2[X]
72 + virtual/libiconv
73 + x11-libs/libX11
74 + x11-libs/libXext
75 + x11-misc/xbitmaps
76 + dbus? ( sys-apps/dbus )
77 + opengl? (
78 + media-libs/glu
79 + media-libs/mesa
80 + )
81 + pango? (
82 + dev-libs/glib:2
83 + x11-libs/pango[X]
84 + )
85 + sound? (
86 + alsa? ( media-libs/alsa-lib )
87 + player? ( media-sound/alsa-utils )
88 + pulseaudio? ( || (
89 + media-sound/apulse[sdk]
90 + media-sound/pulseaudio
91 + ) )
92 + audiofile? ( media-libs/audiofile:= )
93 + sndfile? ( media-libs/libsndfile )
94 + )
95 + xcomposite? (
96 + x11-libs/libXcomposite
97 + x11-libs/libXdamage
98 + x11-libs/libXfixes
99 + )
100 + xft? ( x11-libs/libXft )
101 + xinerama? ( x11-libs/libXinerama )
102 + xpresent? ( x11-libs/libXpresent )
103 + xrandr? ( x11-libs/libXrandr )
104 + xrender? ( x11-libs/libXrender )
105 + xsm? (
106 + x11-libs/libICE
107 + x11-libs/libSM
108 + )
109 + zoom? ( x11-libs/libXxf86vm )
110 +"
111 +RDEPEND="${COMMON_DEPEND}
112 + doc? ( app-doc/e16-docs )
113 + nls? ( virtual/libintl )
114 + themes? ( x11-themes/e16-themes )
115 + !x11-wm/enlightenment:0
116 +"
117 +DEPEND="${COMMON_DEPEND}
118 + x11-base/xorg-proto
119 +"
120 +
121 +src_configure() {
122 + local myconf=(
123 + $(use_enable dbus)
124 + $(use_enable debug libtrip)
125 + $(use_enable dialogs)
126 + $(use_enable doc docs)
127 + $(use_enable libhack)
128 + $(use_enable modules)
129 + $(use_enable nls)
130 + $(use_enable no-container)
131 + $(use_enable opengl glx)
132 + $(use_enable pango)
133 + $(use_enable xcomposite composite)
134 + $(use_enable xft)
135 + $(use_enable xi2)
136 + $(use_enable xinerama)
137 + $(use_enable xpresent)
138 + $(use_enable xrandr)
139 + $(use_enable xrender)
140 + $(use_enable xsm sm)
141 + $(use_enable xsync)
142 + $(use_enable zoom)
143 + $(use_with gnome gnome gnome3)
144 + --enable-mans
145 + --disable-docs
146 + --disable-esdtest
147 + --disable-gcc-cpp
148 + --disable-werror
149 + --disable-xscrnsaver
150 + )
151 + if use sound; then
152 + use alsa && myconf+=( --enable-sound=alsa )
153 + use pulseaudio && myconf+=( --enable-sound=pulseaudio )
154 + use player && myconf+=( --enable-sound=player )
155 +
156 + if use alsa || use pulseaudio; then
157 + use sndfile && myconf+=( --with-sndldr=sndfile )
158 + use audiofile && myconf+=( --with-sndldr=audiofile )
159 + else
160 + myconf+=( --without-sndldr )
161 + fi
162 + else
163 + myconf+=( --disable-sound --without-sndldr )
164 + fi
165 + use poll && myconf+=( --with-evhan=poll )
166 + use select && myconf+=( --with-evhan=select )
167 +
168 + econf "${myconf[@]}"
169 +}
170 +
171 +src_install() {
172 + default
173 + docompress -x /usr/share/doc/${PF}/e16.html
174 + dodoc COMPLIANCE docs/e16.html
175 + use examples && dodoc -r sample-scripts
176 +}
177 +
178 +pkg_postinst() {
179 + einfo "In order to use custom fonts, put them into ~/.e16/fonts/ and use"
180 + einfo "appropriate names in ~/.e16/fonts.cfg. \"Use theme font configuration\""
181 + einfo "in the Theme setting should be disabled for this to work."
182 +}
183
184 diff --git a/x11-wm/e16/metadata.xml b/x11-wm/e16/metadata.xml
185 index 8a474b5136e5..5ee3f5c0bde3 100644
186 --- a/x11-wm/e16/metadata.xml
187 +++ b/x11-wm/e16/metadata.xml
188 @@ -6,18 +6,19 @@
189 <name>Andrew Savchenko</name>
190 </maintainer>
191 <use>
192 - <flag name="container">Use container window (experimental)</flag>
193 + <flag name="container">Use container window</flag>
194 <flag name="debug">Build libtrip debugging library</flag>
195 <flag name="dialogs">Enable support for configuration dialogs</flag>
196 <flag name="libhack">Build libhack window mode helper library</flag>
197 <flag name="modules">Enable support for loadable modules</flag>
198 + <flag name="no-container">Do not use container window (experimental)</flag>
199 <flag name="pango">Enable pango font rendering using <pkg>x11-libs/pango</pkg></flag>
200 <flag name="player">Enable audio using aplay from <pkg>media-sound/alsa-utils</pkg></flag>
201 <flag name="poll">Use poll() event handler API (recommended)</flag>
202 <flag name="select">Use select() event handler API</flag>
203 <flag name="themes">Install the official E16 themes using <pkg>x11-themes/e16-themes</pkg></flag>
204 <flag name="xi2">Enable the experimental multipointer input XInput2. This incldues the MultiPointer X feature</flag>
205 - <flag name="xpresent">Enable support for the X Present extension via <pkg>x11-libs/libXpresent</pkg></flag>
206 + <flag name="xpresent">Enable support for the X Present extension via <pkg>x11-libs/libXpresent</pkg> (experimental)</flag>
207 <flag name="xrandr">Enable support for the X RandR extension via <pkg>x11-libs/libXrandr</pkg></flag>
208 <flag name="xrender">Enable transparency support using the X Render extension via <pkg>x11-libs/libXrender</pkg></flag>
209 <flag name="xsm">Enable X Session Management support using <pkg>x11-libs/libSM</pkg></flag>