1 |
commit: 7669cecbad522b1ddd8d47d5cdf11c2f8120f104 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 11 12:18:04 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 11 12:18:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7669cecb |
7 |
|
8 |
dev-libs/efl: bump to 1.24.1 |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
|
12 |
dev-libs/efl/Manifest | 1 + |
13 |
dev-libs/efl/efl-1.24.1.ebuild | 277 +++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 278 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/efl/Manifest b/dev-libs/efl/Manifest |
17 |
index 7e1ea58e219..7f313eb534f 100644 |
18 |
--- a/dev-libs/efl/Manifest |
19 |
+++ b/dev-libs/efl/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST efl-1.23.3.tar.xz 77485032 BLAKE2B e5f65080aec1d11a43f1e1786b8ac4e7be70ddd9614b53db822177c28ee73f9590f63d032df5ddf00db6224730b45b045d9f91da2287a4dec7589e902cbcde28 SHA512 47ad067c43d39b534834195f89a745c4a47d867f33aaa68c28c6dccd147379e9bc2416bd68878cc16585f8cb60e926a7df62102658b205756c01985f37f0d297 |
22 |
DIST efl-1.24.0.tar.xz 72274848 BLAKE2B f1652f334de618778eb1c70d05f101554b57676bd6bce462c21169969d3c005b52c35c4d95dcd015641e202fc3dc1034387f6d7d41b47521ca890fb62543b0fb SHA512 a3415e79eb0d13c1393f80728527d2b663b35e1b9ec815fadd0b43d754320ee8461aeade781b0264853e7935e920df7a5cc0b438c6b8a15a5744380a32f55080 |
23 |
+DIST efl-1.24.1.tar.xz 72277640 BLAKE2B 1568df21256bd9c223214d72df38520941d6e117a3590511144627947bfa903e74eaac45085e18172c5c44127b7d14b6f1e03f4a4cba12c6f3d2b55a8b2650f4 SHA512 6fe4d87a9db1e0022c1dff94c14d334d61e561608016072bcb1d2633054ff9a6a74c84bc9903592d716abc9e1fae48b6ff66b259a5a59114a1cd54f083ce8b51 |
24 |
|
25 |
diff --git a/dev-libs/efl/efl-1.24.1.ebuild b/dev-libs/efl/efl-1.24.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..745ca8e21df |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/efl/efl-1.24.1.ebuild |
30 |
@@ -0,0 +1,277 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit meson xdg-utils |
37 |
+ |
38 |
+DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" |
39 |
+HOMEPAGE="https://www.enlightenment.org" |
40 |
+SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" |
45 |
+IUSE="+X bmp connman dds debug doc drm +eet elogind examples fbcon fontconfig |
46 |
+ fribidi gif gles2 gnutls glib +gstreamer harfbuzz hyphen ibus ico libressl |
47 |
+ lua +luajit jpeg2k json nls mono opengl +pdf physics pmaps postscript psd |
48 |
+ pulseaudio raw scim sdl +sound +ssl +svg +system-lz4 systemd tga tgv tiff |
49 |
+ tslib unwind v4l vnc wayland webp xcf xim xpm xpresent zeroconf" |
50 |
+ |
51 |
+REQUIRED_USE=" |
52 |
+ ?? ( elogind systemd ) |
53 |
+ ?? ( gles2 opengl ) |
54 |
+ ^^ ( lua luajit ) |
55 |
+ ssl |
56 |
+ drm? ( gles2 ) |
57 |
+ examples? ( eet svg ) |
58 |
+ gles2? ( || ( wayland X ) ) |
59 |
+ pulseaudio? ( sound ) |
60 |
+ wayland? ( gles2 !opengl ) |
61 |
+ xim? ( X ) |
62 |
+ xpresent? ( X ) |
63 |
+" |
64 |
+ |
65 |
+# Requires everything to be enabled unconditionally. |
66 |
+RESTRICT="test" |
67 |
+ |
68 |
+RDEPEND=" |
69 |
+ dev-libs/check |
70 |
+ net-misc/curl |
71 |
+ media-libs/giflib:= |
72 |
+ media-libs/libpng:0= |
73 |
+ sys-apps/dbus |
74 |
+ sys-libs/zlib |
75 |
+ virtual/jpeg:0= |
76 |
+ X? ( |
77 |
+ media-libs/freetype |
78 |
+ x11-libs/libX11 |
79 |
+ x11-libs/libXcomposite |
80 |
+ x11-libs/libXcursor |
81 |
+ x11-libs/libXdamage |
82 |
+ x11-libs/libXdmcp |
83 |
+ x11-libs/libXext |
84 |
+ x11-libs/libXfixes |
85 |
+ x11-libs/libXi |
86 |
+ x11-libs/libXinerama |
87 |
+ x11-libs/libXrandr |
88 |
+ x11-libs/libXrender |
89 |
+ x11-libs/libXtst |
90 |
+ x11-libs/libXScrnSaver |
91 |
+ wayland? ( x11-libs/libxkbcommon[X] ) |
92 |
+ ) |
93 |
+ connman? ( net-misc/connman ) |
94 |
+ drm? ( |
95 |
+ dev-libs/libinput |
96 |
+ dev-libs/wayland |
97 |
+ media-libs/mesa[gbm] |
98 |
+ x11-libs/libdrm |
99 |
+ x11-libs/libxkbcommon |
100 |
+ ) |
101 |
+ elogind? ( |
102 |
+ sys-auth/elogind |
103 |
+ virtual/libudev |
104 |
+ ) |
105 |
+ fontconfig? ( media-libs/fontconfig ) |
106 |
+ fribidi? ( dev-libs/fribidi ) |
107 |
+ gles2? ( |
108 |
+ media-libs/mesa[egl,gles2] |
109 |
+ virtual/opengl |
110 |
+ ) |
111 |
+ glib? ( dev-libs/glib:2 ) |
112 |
+ gstreamer? ( |
113 |
+ media-libs/gstreamer:1.0 |
114 |
+ media-libs/gst-plugins-base:1.0 |
115 |
+ ) |
116 |
+ hyphen? ( dev-libs/hyphen ) |
117 |
+ ibus? ( app-i18n/ibus ) |
118 |
+ jpeg2k? ( media-libs/openjpeg:= ) |
119 |
+ json? ( >=media-libs/rlottie-0.0.1_pre20200424 ) |
120 |
+ lua? ( dev-lang/lua:* ) |
121 |
+ luajit? ( dev-lang/luajit:* ) |
122 |
+ mono? ( dev-lang/mono ) |
123 |
+ opengl? ( virtual/opengl ) |
124 |
+ pdf? ( app-text/poppler:=[cxx] ) |
125 |
+ physics? ( sci-physics/bullet:= ) |
126 |
+ postscript? ( app-text/libspectre ) |
127 |
+ pulseaudio? ( media-sound/pulseaudio ) |
128 |
+ raw? ( media-libs/libraw:= ) |
129 |
+ scim? ( app-i18n/scim ) |
130 |
+ sdl? ( media-libs/libsdl2 ) |
131 |
+ sound? ( media-libs/libsndfile ) |
132 |
+ ssl? ( |
133 |
+ gnutls? ( net-libs/gnutls:= ) |
134 |
+ !gnutls? ( |
135 |
+ !libressl? ( dev-libs/openssl:0= ) |
136 |
+ libressl? ( dev-libs/libressl:= ) |
137 |
+ ) |
138 |
+ ) |
139 |
+ svg? ( gnome-base/librsvg ) |
140 |
+ system-lz4? ( app-arch/lz4 ) |
141 |
+ systemd? ( sys-apps/systemd:= ) |
142 |
+ tiff? ( media-libs/tiff:0= ) |
143 |
+ tslib? ( x11-libs/tslib:= ) |
144 |
+ unwind? ( sys-libs/libunwind ) |
145 |
+ v4l? ( media-libs/libv4l ) |
146 |
+ vnc? ( net-libs/libvncserver ) |
147 |
+ wayland? ( |
148 |
+ dev-libs/wayland |
149 |
+ media-libs/mesa[gles2,wayland] |
150 |
+ x11-libs/libxkbcommon |
151 |
+ ) |
152 |
+ webp? ( media-libs/libwebp:= ) |
153 |
+ xpm? ( x11-libs/libXpm ) |
154 |
+ xpresent? ( x11-libs/libXpresent ) |
155 |
+ zeroconf? ( net-dns/avahi ) |
156 |
+" |
157 |
+DEPEND="${RDEPEND}" |
158 |
+BDEPEND="virtual/pkgconfig |
159 |
+ doc? ( app-doc/doxygen ) |
160 |
+ nls? ( sys-devel/gettext )" |
161 |
+ |
162 |
+src_configure() { |
163 |
+ local emesonargs=( |
164 |
+ --buildtype=release |
165 |
+ |
166 |
+ -D buffer=false |
167 |
+ -D cocoa=false |
168 |
+ -D drm-deprecated=false |
169 |
+ -D g-mainloop=false |
170 |
+ -D install-eo-files=true |
171 |
+ -D mono-beta=false |
172 |
+ -D dotnet=false |
173 |
+ -D pixman=false |
174 |
+ -D wl-deprecated=false |
175 |
+ -D dotnet-stylecop-severity=Warning |
176 |
+ |
177 |
+ -D edje-sound-and-video=true |
178 |
+ -D eeze=true |
179 |
+ -D libmount=true |
180 |
+ -D native-arch-optimization=true |
181 |
+ -D xinput2=true |
182 |
+ -D xinput22=true |
183 |
+ |
184 |
+ $(meson_use X x11) |
185 |
+ $(meson_use debug debug-threads) |
186 |
+ $(meson_use drm) |
187 |
+ $(meson_use elogind) |
188 |
+ $(meson_use examples build-examples) |
189 |
+ $(meson_use fbcon fb) |
190 |
+ $(meson_use fontconfig) |
191 |
+ $(meson_use fribidi) |
192 |
+ $(meson_use glib) |
193 |
+ $(meson_use gstreamer) |
194 |
+ $(meson_use harfbuzz) |
195 |
+ $(meson_use hyphen) |
196 |
+ $(meson_use luajit elua) |
197 |
+ $(meson_use nls) |
198 |
+ $(meson_use physics) |
199 |
+ $(meson_use pulseaudio) |
200 |
+ $(meson_use sdl) |
201 |
+ $(meson_use sound audio) |
202 |
+ $(meson_use systemd) |
203 |
+ $(meson_use tslib) |
204 |
+ $(meson_use v4l v4l2) |
205 |
+ $(meson_use vnc vnc-server) |
206 |
+ $(meson_use wayland wl) |
207 |
+ $(meson_use xpresent) |
208 |
+ $(meson_use zeroconf avahi) |
209 |
+ |
210 |
+ $(meson_use !system-lz4 embedded-lz4) |
211 |
+ ) |
212 |
+ |
213 |
+ if use opengl; then |
214 |
+ emesonargs+=( -D opengl=full ) |
215 |
+ elif use gles2; then |
216 |
+ emesonargs+=( -D opengl=es-egl ) |
217 |
+ else |
218 |
+ emesonargs+=( -D opengl=none ) |
219 |
+ fi |
220 |
+ |
221 |
+ if use gnutls; then |
222 |
+ emesonargs+=( -D crypto=gnutls ) |
223 |
+ else |
224 |
+ emesonargs+=( -D crypto=openssl ) |
225 |
+ fi |
226 |
+ |
227 |
+ if use connman; then |
228 |
+ emesonargs+=( -D network-backend=connman ) |
229 |
+ else |
230 |
+ emesonargs+=( -D network-backend=none ) |
231 |
+ fi |
232 |
+ |
233 |
+ local disabledEvasLoaders="" |
234 |
+ ! use bmp && disabledEvasLoaders+="bmp,wbmp," |
235 |
+ ! use dds && disabledEvasLoaders+="dds," |
236 |
+ ! use eet && disabledEvasLoaders+="eet," |
237 |
+ ! use gstreamer && disabledEvasLoaders+="gst," |
238 |
+ ! use ico && disabledEvasLoaders+="ico," |
239 |
+ ! use jpeg2k && disabledEvasLoaders+="jp2k," |
240 |
+ ! use json && disabledEvasLoaders+="json," |
241 |
+ ! use pdf && disabledEvasLoaders+="pdf," |
242 |
+ ! use pmaps && disabledEvasLoaders+="pmaps," |
243 |
+ ! use postscript && disabledEvasLoaders+="ps," |
244 |
+ ! use psd && disabledEvasLoaders+="psd," |
245 |
+ ! use raw && disabledEvasLoaders+="raw," |
246 |
+ ! use svg && disabledEvasLoaders+="rsvg,svg," |
247 |
+ ! use tga && disabledEvasLoaders+="tga," |
248 |
+ ! use tgv && disabledEvasLoaders+="tgv," |
249 |
+ ! use tiff && disabledEvasLoaders+="tiff," |
250 |
+ ! use webp && disabledEvasLoaders+="webp," |
251 |
+ ! use xcf && disabledEvasLoaders+="xcf," |
252 |
+ ! use xpm && disabledEvasLoaders+="xpm," |
253 |
+ [[ ! -z "$disabledEvasLoaders" ]] && disabledEvasLoaders=${disabledEvasLoaders::-1} |
254 |
+ emesonargs+=( -D evas-loaders-disabler="${disabledEvasLoaders}" ) |
255 |
+ |
256 |
+ local disabledImfLoaders="" |
257 |
+ ! use ibus && disabledImfLoaders+="ibus," |
258 |
+ ! use scim && disabledImfLoaders+="scim," |
259 |
+ ! use xim && disabledImfLoaders+="xim," |
260 |
+ [[ ! -z "$disabledImfLoaders" ]] && disabledImfLoaders=${disabledImfLoaders::-1} |
261 |
+ emesonargs+=( -D ecore-imf-loaders-disabler="${disabledImfLoaders}" ) |
262 |
+ |
263 |
+ local bindingsList="cxx," |
264 |
+ use luajit && bindingsList+="luajit," |
265 |
+ use mono && bindingsList+="mono," |
266 |
+ [[ ! -z "$bindingsList" ]] && bindingsList=${bindingsList::-1} |
267 |
+ emesonargs+=( -D bindings="${bindingsList}" ) |
268 |
+ |
269 |
+ local luaChoice="" |
270 |
+ if use luajit; then |
271 |
+ luaChoice+="luajit" |
272 |
+ else |
273 |
+ luaChoice+="lua" |
274 |
+ fi |
275 |
+ emesonargs+=( -D lua-interpreter="${luaChoice}" ) |
276 |
+ |
277 |
+ meson_src_configure |
278 |
+} |
279 |
+ |
280 |
+src_compile() { |
281 |
+ meson_src_compile |
282 |
+ |
283 |
+ if use doc; then |
284 |
+ cd doc/ || die "Failed to switch into doc/ dir." |
285 |
+ doxygen . || die "Doxygen failed to run." |
286 |
+ fi |
287 |
+} |
288 |
+ |
289 |
+src_install() { |
290 |
+ use doc && local HTML_DOCS=( "${S}"/doc/html/. ) |
291 |
+ meson_src_install |
292 |
+ |
293 |
+ if use examples; then |
294 |
+ docompress -x /usr/share/doc/${PF}/examples/ |
295 |
+ dodoc -r "${BUILD_DIR}"/src/examples/ |
296 |
+ fi |
297 |
+} |
298 |
+ |
299 |
+pkg_postinst() { |
300 |
+ xdg_icon_cache_update |
301 |
+ xdg_mimeinfo_database_update |
302 |
+} |
303 |
+ |
304 |
+pkg_postrm() { |
305 |
+ xdg_icon_cache_update |
306 |
+ xdg_mimeinfo_database_update |
307 |
+} |