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