Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/efl/
Date: Wed, 18 Sep 2019 16:21:03
Message-Id: 1568823650.f06bda75d7f6c13c005538c76cbf18bd21a3f8ac.juippis@gentoo
1 commit: f06bda75d7f6c13c005538c76cbf18bd21a3f8ac
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 18 16:19:25 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 18 16:20:50 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06bda75
7
8 dev-libs/efl: bump to 1.22.5
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 dev-libs/efl/Manifest | 1 +
14 dev-libs/efl/efl-1.22.5.ebuild | 281 +++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 282 insertions(+)
16
17 diff --git a/dev-libs/efl/Manifest b/dev-libs/efl/Manifest
18 index c361e21d063..68164bd47b1 100644
19 --- a/dev-libs/efl/Manifest
20 +++ b/dev-libs/efl/Manifest
21 @@ -1,3 +1,4 @@
22 DIST efl-1.22.2.tar.xz 71320272 BLAKE2B b1eb66228ec5a92f5d89bf38d95439f9bfb0b09a074e418094474d7c7d0de6a4ae998321a02273a5c9bbcfcba260a7ff3d8cef0af445293869c82c57dec2cca0 SHA512 7385b1fdeee0a4565a0765fedbe5cecca81b86b306ee95a703b3064a88427ab0b4967f6f075a92f5c1d5911cefc56a9c2d45c7347572480169e3f53348321734
23 DIST efl-1.22.3.tar.xz 70620824 BLAKE2B b6a785ad1ebf9b7804eb2ea12dd78bcf1ee0647d24852c23955e10c59bb7a9a9d0b86cec7796382dacdef11ca164d87c02f186700dcc69bebe8ba6c62727fc6d SHA512 d29022c27950adebab96266343c4f861801f445f36806c8bf0da67fe4ea75807932fa9f218d9cb084c2c3f6ccc212903992ef4b94b95253656e8550b11b42f83
24 DIST efl-1.22.4.tar.xz 71364104 BLAKE2B 66aa2cfad4b9474b4343e7c139a9d918e3c1b80944ca41414c62c2ec3468d84ebfe95e9834846b55f6ead0568b77e59cb115fd607f1653dd692baa8d9238ac5b SHA512 0a9e5bd40dfeb10f4c17c64aae5c9af8f54be934b78216f6effecaf077b9f57fe704cb61ded4487472bd9451a3eeb6634b2c0d0d038e911177c2e33576ad6b6e
25 +DIST efl-1.22.5.tar.xz 71358856 BLAKE2B d1b9c8263608bca61760adb129eb5ad3d507caaa2d4e03847d9c06c99494d6dcaa0756368f700fde64d15dd33147a1f58f5391164902c1f9f586ef7307b14510 SHA512 87d10ab244778fc8452ea85cbf698a6b0ccd065964941f7c04d073cf7db9632b09d7956d86bd5c4e9fa102efceb1057269322e84504c70ee5f740176cd4bb26f
26
27 diff --git a/dev-libs/efl/efl-1.22.5.ebuild b/dev-libs/efl/efl-1.22.5.ebuild
28 new file mode 100644
29 index 00000000000..2da0160a980
30 --- /dev/null
31 +++ b/dev-libs/efl/efl-1.22.5.ebuild
32 @@ -0,0 +1,281 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit pax-utils xdg-utils
39 +
40 +DESCRIPTION="Enlightenment Foundation Libraries all-in-one package"
41 +HOMEPAGE="https://www.enlightenment.org"
42 +SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${P}.tar.xz"
43 +
44 +LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
47 +IUSE="+bmp dds connman debug drm +eet elogind examples fbcon +fontconfig fribidi gif gles2 glib gnutls gstreamer harfbuzz hyphen +ico ibus jpeg2k libressl libuv luajit neon nls opengl ssl pdf physics postscript +ppm +psd pulseaudio raw scim sdl sound static-libs svg +system-lz4 systemd tga tiff tslib unwind v4l valgrind vlc vnc wayland webp X xcf xim xine xpm xpresent zeroconf"
48 +
49 +REQUIRED_USE="
50 + ?? ( elogind systemd )
51 + ?? ( gles2 opengl )
52 + fbcon? ( !tslib )
53 + gles2? (
54 + || ( wayland X )
55 + !sdl
56 + )
57 + ibus? ( glib )
58 + opengl? ( X )
59 + pulseaudio? ( sound )
60 + sdl? ( opengl )
61 + vnc? ( fbcon X )
62 + wayland? ( gles2 !opengl )
63 + xim? ( X )
64 + xpresent? ( X )
65 +"
66 +
67 +RDEPEND="
68 + net-misc/curl
69 + media-libs/libpng:0=
70 + sys-apps/dbus
71 + sys-apps/util-linux
72 + virtual/jpeg:0=
73 + connman? ( net-misc/connman )
74 + drm? (
75 + dev-libs/libinput
76 + media-libs/mesa[gbm]
77 + x11-libs/libdrm
78 + x11-libs/libxkbcommon
79 + )
80 + elogind? ( sys-auth/elogind )
81 + fontconfig? ( media-libs/fontconfig )
82 + fribidi? ( dev-libs/fribidi )
83 + gif? ( media-libs/giflib:= )
84 + gles2? ( media-libs/mesa[egl,gles2] )
85 + glib? ( dev-libs/glib:2 )
86 + gstreamer? (
87 + media-libs/gstreamer:1.0
88 + media-libs/gst-plugins-base:1.0
89 + )
90 + harfbuzz? ( media-libs/harfbuzz )
91 + hyphen? ( dev-libs/hyphen )
92 + ibus? ( app-i18n/ibus )
93 + jpeg2k? ( media-libs/openjpeg:= )
94 + libuv? ( dev-libs/libuv )
95 + luajit? ( dev-lang/luajit:= )
96 + !luajit? ( dev-lang/lua:* )
97 + pdf? ( app-text/poppler:=[cxx] )
98 + physics? ( sci-physics/bullet:= )
99 + postscript? ( app-text/libspectre )
100 + pulseaudio? ( media-sound/pulseaudio )
101 + raw? ( media-libs/libraw:= )
102 + scim? ( app-i18n/scim )
103 + sdl? (
104 + media-libs/libsdl2
105 + virtual/opengl
106 + )
107 + sound? ( media-libs/libsndfile )
108 + ssl? (
109 + gnutls? ( net-libs/gnutls:= )
110 + !gnutls? (
111 + !libressl? ( dev-libs/openssl:0= )
112 + libressl? ( dev-libs/libressl:= )
113 + )
114 + )
115 + svg? (
116 + gnome-base/librsvg
117 + x11-libs/cairo
118 + )
119 + system-lz4? ( app-arch/lz4 )
120 + systemd? ( sys-apps/systemd:= )
121 + tiff? ( media-libs/tiff:0= )
122 + tslib? ( x11-libs/tslib:= )
123 + unwind? ( sys-libs/libunwind )
124 + valgrind? ( dev-util/valgrind )
125 + vlc? ( media-video/vlc )
126 + vnc? ( net-libs/libvncserver )
127 + wayland? (
128 + dev-libs/wayland
129 + media-libs/mesa[gles2,wayland]
130 + x11-libs/libxkbcommon
131 + )
132 + webp? ( media-libs/libwebp:= )
133 + X? (
134 + media-libs/freetype
135 + x11-libs/libXcursor
136 + x11-libs/libX11
137 + x11-libs/libXcomposite
138 + x11-libs/libXdamage
139 + x11-libs/libXext
140 + x11-libs/libXfixes
141 + x11-libs/libXinerama
142 + x11-libs/libXrandr
143 + x11-libs/libXrender
144 + x11-libs/libXtst
145 + x11-libs/libXScrnSaver
146 + gles2? (
147 + x11-libs/libX11
148 + x11-libs/libXrender
149 + virtual/opengl
150 + )
151 + opengl? (
152 + x11-libs/libX11
153 + x11-libs/libXrender
154 + virtual/opengl
155 + )
156 + )
157 + xine? ( media-libs/xine-lib )
158 + xpm? ( x11-libs/libXpm )
159 + xpresent? ( x11-libs/libXpresent )
160 + zeroconf? ( net-dns/avahi )
161 +"
162 +
163 +DEPEND="${RDEPEND}"
164 +BDEPEND="virtual/pkgconfig
165 + nls? ( sys-devel/gettext )"
166 +
167 +src_prepare() {
168 + default
169 +
170 + # Upstream still doesnt offer a configure flag. #611108
171 + if ! use unwind ; then
172 + sed -i -e 's:libunwind libunwind-generic:xxxxxxxxxxxxxxxx:' \
173 + configure || die "Sedding configure file with unwind fix failed."
174 + fi
175 +}
176 +
177 +src_configure() {
178 + local myconf=(
179 + --enable-cxx-bindings
180 + --enable-image-loader-generic
181 + --enable-image-loader-jpeg
182 + --enable-image-loader-png
183 + --enable-libeeze
184 + --enable-libmount
185 + --enable-quick-launch
186 + --enable-threads
187 + --enable-xinput22
188 +
189 + --disable-cancel-ok
190 + --disable-cocoa
191 + --disable-csharp-beta
192 + --disable-csharp-bindings
193 + --disable-doc
194 + --disable-ecore-buffer
195 + --disable-ecore-drm
196 + --disable-ecore-wayland
197 + --disable-eglfs
198 + --disable-g-main-loop
199 + --disable-gesture
200 + --disable-gstreamer
201 + --disable-pixman
202 + --disable-tizen
203 + --disable-wayland-ivi-shell
204 +
205 + $(use_enable bmp image-loader-bmp)
206 + $(use_enable bmp image-loader-wbmp)
207 + $(use_enable dds image-loader-dds)
208 + $(use_enable drm)
209 + $(use_enable drm elput)
210 + $(use_enable eet image-loader-eet)
211 + $(use_enable elogind)
212 + $(use_enable examples always-build-examples)
213 + $(use_enable fbcon fb)
214 + $(use_enable fontconfig)
215 + $(use_enable fribidi)
216 + $(use_enable gif image-loader-gif)
217 + $(use_enable gles2 egl)
218 + $(use_enable gstreamer gstreamer1)
219 + $(use_enable harfbuzz)
220 + $(use_enable hyphen)
221 + $(use_enable ico image-loader-ico)
222 + $(use_enable ibus)
223 + $(use_enable jpeg2k image-loader-jp2k)
224 + $(use_enable libuv)
225 + $(use_enable !luajit lua-old)
226 + $(use_enable neon)
227 + $(use_enable nls)
228 + $(use_enable pdf poppler)
229 + $(use_enable physics)
230 + $(use_enable postscript spectre)
231 + $(use_enable ppm image-loader-pmaps)
232 + $(use_enable psd image-loader-psd)
233 + $(use_enable pulseaudio)
234 + $(use_enable raw libraw)
235 + $(use_enable scim)
236 + $(use_enable sdl)
237 + $(use_enable sound audio)
238 + $(use_enable static-libs static)
239 + $(use_enable svg librsvg)
240 + $(use_enable system-lz4 liblz4)
241 + $(use_enable systemd)
242 + $(use_enable tga image-loader-tga)
243 + $(use_enable tiff image-loader-tiff)
244 + $(use_enable tslib)
245 + $(use_enable v4l v4l2)
246 + $(use_enable valgrind)
247 + $(use_enable vlc libvlc)
248 + $(use_enable vnc vnc-server)
249 + $(use_enable wayland)
250 + $(use_enable webp image-loader-webp)
251 + $(use_enable xcf)
252 + $(use_enable xim)
253 + $(use_enable xine)
254 + $(use_enable xpm image-loader-xpm)
255 + $(use_enable xpresent)
256 + $(use_enable zeroconf avahi)
257 +
258 + --with-crypto=$(usex gnutls gnutls $(usex ssl openssl none))
259 + --with-glib=$(usex glib)
260 + --with-js=none
261 + --with-net-control=$(usex connman connman none)
262 + --with-profile=$(usex debug debug release)
263 + --with-x11=$(usex X xlib none)
264 +
265 + $(use_with X x)
266 + )
267 +
268 + use drm && use wayland && myconf+=( --enable-gl-drm )
269 +
270 + if use opengl ; then
271 + myconf+=( --with-opengl=full )
272 + elif use gles2 ; then
273 + myconf+=( --with-opengl=es )
274 + elif use drm && use wayland ; then
275 + myconf+=( --with-opengl=es )
276 + else
277 + myconf+=( --with-opengl=none )
278 + fi
279 +
280 + econf "${myconf[@]}"
281 +}
282 +
283 +src_compile() {
284 + if host-is-pax && use luajit ; then
285 + # We need to build the lua code first so we can pax-mark it. #547076
286 + local target='_e_built_sources_target_gogogo_'
287 + printf '%s: $(BUILT_SOURCES)\n' "${target}" >> src/Makefile || die
288 + emake -C src "${target}"
289 + emake -C src bin/elua/elua
290 + pax-mark m src/bin/elua/.libs/elua
291 + fi
292 +
293 + V=1 emake
294 +}
295 +
296 +src_install() {
297 + V=1 emake install DESTDIR="${D}"
298 + einstalldocs
299 +
300 + if ! use static-libs ; then
301 + find "${D}" -name '*.la' -delete || die
302 + fi
303 +}
304 +
305 +pkg_postinst() {
306 + xdg_icon_cache_update
307 + xdg_mimeinfo_database_update
308 +}
309 +
310 +pkg_postrm() {
311 + xdg_icon_cache_update
312 + xdg_mimeinfo_database_update
313 +}