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