1 |
commit: e3c0938dd173950b64cb68153af43a92294d2e87 |
2 |
Author: Joonas Niilola <juippis <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jul 2 15:25:42 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 2 19:39:40 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3c0938d |
7 |
|
8 |
dev-libs/efl: add 'pdf' use flag for 1.18.4 & revbump |
9 |
|
10 |
Closes: https://bugs.gentoo.org/659788 |
11 |
Closes: https://bugs.gentoo.org/615326 |
12 |
Package-Manager: Portage[mgorny]-2.3.36.1 |
13 |
RepoMan-Options: --force |
14 |
|
15 |
dev-libs/efl/efl-1.18.4-r1.ebuild | 290 ++++++++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 290 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/efl/efl-1.18.4-r1.ebuild b/dev-libs/efl/efl-1.18.4-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..5a1c8ec239a |
21 |
--- /dev/null |
22 |
+++ b/dev-libs/efl/efl-1.18.4-r1.ebuild |
23 |
@@ -0,0 +1,290 @@ |
24 |
+# Copyright 1999-2018 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI="5" |
28 |
+ |
29 |
+MY_P=${P/_/-} |
30 |
+ |
31 |
+if [[ "${PV}" == "9999" ]] ; then |
32 |
+ EGIT_SUB_PROJECT="core" |
33 |
+ EGIT_URI_APPEND="${PN}" |
34 |
+elif [[ *"${PV}" == *"_pre"* ]] ; then |
35 |
+ MY_P=${P%%_*} |
36 |
+ SRC_URI="https://download.enlightenment.org/pre-releases/${MY_P}.tar.xz" |
37 |
+else |
38 |
+ SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${MY_P}.tar.xz" |
39 |
+ KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" |
40 |
+fi |
41 |
+ |
42 |
+inherit enlightenment pax-utils |
43 |
+ |
44 |
+DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" |
45 |
+ |
46 |
+LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" |
47 |
+IUSE="+bmp debug drm +eet egl fbcon +fontconfig fribidi gif gles glib gnutls gstreamer harfbuzz +ico ibus jpeg2k libressl neon oldlua opengl ssl pdf physics pixman +png postscript +ppm +psd pulseaudio raw scim sdl sound systemd tga tiff tslib unwind v4l valgrind wayland webp X xim xine xpm" |
48 |
+ |
49 |
+REQUIRED_USE=" |
50 |
+ pulseaudio? ( sound ) |
51 |
+ opengl? ( || ( X sdl wayland ) ) |
52 |
+ gles? ( || ( X wayland ) ) |
53 |
+ gles? ( !sdl ) |
54 |
+ gles? ( egl ) |
55 |
+ sdl? ( opengl ) |
56 |
+ wayland? ( egl !opengl gles ) |
57 |
+ xim? ( X ) |
58 |
+" |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ drm? ( |
62 |
+ >=dev-libs/libinput-0.8 |
63 |
+ media-libs/mesa[gbm] |
64 |
+ >=x11-libs/libdrm-2.4 |
65 |
+ >=x11-libs/libxkbcommon-0.3.0 |
66 |
+ ) |
67 |
+ fontconfig? ( media-libs/fontconfig ) |
68 |
+ fribidi? ( dev-libs/fribidi ) |
69 |
+ gif? ( media-libs/giflib ) |
70 |
+ glib? ( dev-libs/glib:2 ) |
71 |
+ gnutls? ( net-libs/gnutls ) |
72 |
+ !gnutls? ( |
73 |
+ ssl? ( |
74 |
+ !libressl? ( dev-libs/openssl:0= ) |
75 |
+ libressl? ( dev-libs/libressl ) |
76 |
+ ) |
77 |
+ ) |
78 |
+ gstreamer? ( |
79 |
+ media-libs/gstreamer:1.0 |
80 |
+ media-libs/gst-plugins-base:1.0 |
81 |
+ ) |
82 |
+ harfbuzz? ( media-libs/harfbuzz ) |
83 |
+ ibus? ( app-i18n/ibus ) |
84 |
+ jpeg2k? ( media-libs/openjpeg:0 ) |
85 |
+ !oldlua? ( >=dev-lang/luajit-2.0.0 ) |
86 |
+ oldlua? ( dev-lang/lua:* ) |
87 |
+ pdf? ( app-text/poppler[cxx] ) |
88 |
+ physics? ( >=sci-physics/bullet-2.80 ) |
89 |
+ pixman? ( x11-libs/pixman ) |
90 |
+ postscript? ( app-text/libspectre ) |
91 |
+ png? ( media-libs/libpng:0= ) |
92 |
+ pulseaudio? ( media-sound/pulseaudio ) |
93 |
+ raw? ( media-libs/libraw ) |
94 |
+ scim? ( app-i18n/scim ) |
95 |
+ sdl? ( |
96 |
+ media-libs/libsdl2 |
97 |
+ virtual/opengl |
98 |
+ ) |
99 |
+ sound? ( media-libs/libsndfile ) |
100 |
+ systemd? ( sys-apps/systemd ) |
101 |
+ tiff? ( media-libs/tiff:0= ) |
102 |
+ tslib? ( x11-libs/tslib ) |
103 |
+ unwind? ( sys-libs/libunwind ) |
104 |
+ valgrind? ( dev-util/valgrind ) |
105 |
+ wayland? ( |
106 |
+ >=dev-libs/wayland-1.8.0 |
107 |
+ >=x11-libs/libxkbcommon-0.3.1 |
108 |
+ media-libs/mesa[gles2,wayland] |
109 |
+ ) |
110 |
+ webp? ( media-libs/libwebp ) |
111 |
+ X? ( |
112 |
+ x11-libs/libXcursor |
113 |
+ x11-libs/libX11 |
114 |
+ x11-libs/libXcomposite |
115 |
+ x11-libs/libXdamage |
116 |
+ x11-libs/libXext |
117 |
+ x11-libs/libXfixes |
118 |
+ x11-libs/libXinerama |
119 |
+ x11-libs/libXrandr |
120 |
+ x11-libs/libXrender |
121 |
+ x11-libs/libXtst |
122 |
+ x11-libs/libXScrnSaver |
123 |
+ |
124 |
+ opengl? ( |
125 |
+ x11-libs/libX11 |
126 |
+ x11-libs/libXrender |
127 |
+ virtual/opengl |
128 |
+ ) |
129 |
+ |
130 |
+ gles? ( |
131 |
+ x11-libs/libX11 |
132 |
+ x11-libs/libXrender |
133 |
+ virtual/opengl |
134 |
+ ) |
135 |
+ ) |
136 |
+ xine? ( >=media-libs/xine-lib-1.1.1 ) |
137 |
+ xpm? ( x11-libs/libXpm ) |
138 |
+ |
139 |
+ sys-apps/dbus |
140 |
+ >=sys-apps/util-linux-2.20.0 |
141 |
+ sys-libs/zlib |
142 |
+ virtual/jpeg:0= |
143 |
+ |
144 |
+ !dev-libs/ecore |
145 |
+ !dev-libs/edbus |
146 |
+ !dev-libs/eet |
147 |
+ !dev-libs/eeze |
148 |
+ !dev-libs/efreet |
149 |
+ !dev-libs/eina |
150 |
+ !dev-libs/eio |
151 |
+ !dev-libs/embryo |
152 |
+ !dev-libs/eobj |
153 |
+ !dev-libs/ephysics |
154 |
+ !media-libs/edje |
155 |
+ !media-libs/elementary |
156 |
+ !media-libs/emotion |
157 |
+ !media-libs/ethumb |
158 |
+ !media-libs/evas |
159 |
+ !media-plugins/emotion_generic_players |
160 |
+ !media-plugins/evas_generic_loaders |
161 |
+" |
162 |
+#external lz4 support currently broken because of unstable ABI/API |
163 |
+# app-arch/lz4 |
164 |
+ |
165 |
+#soft blockers added above for binpkg users |
166 |
+#hard blocks are needed for building |
167 |
+CORE_EFL_CONFLICTS=" |
168 |
+ !!dev-libs/ecore |
169 |
+ !!dev-libs/edbus |
170 |
+ !!dev-libs/eet |
171 |
+ !!dev-libs/eeze |
172 |
+ !!dev-libs/efreet |
173 |
+ !!dev-libs/eina |
174 |
+ !!dev-libs/eio |
175 |
+ !!dev-libs/embryo |
176 |
+ !!dev-libs/eobj |
177 |
+ !!dev-libs/ephysics |
178 |
+ !!media-libs/edje |
179 |
+ !!media-libs/emotion |
180 |
+ !!media-libs/ethumb |
181 |
+ !!media-libs/evas |
182 |
+" |
183 |
+ |
184 |
+DEPEND=" |
185 |
+ ${CORE_EFL_CONFLICTS} |
186 |
+ |
187 |
+ ${RDEPEND} |
188 |
+ doc? ( app-doc/doxygen ) |
189 |
+" |
190 |
+ |
191 |
+S=${WORKDIR}/${MY_P} |
192 |
+ |
193 |
+src_prepare() { |
194 |
+ enlightenment_src_prepare |
195 |
+ |
196 |
+ # Remove stupid sleep command. |
197 |
+ # Also back out gnu make hack that causes regen of Makefiles. |
198 |
+ # Delete var setting that causes the build to abort. |
199 |
+ sed -i \ |
200 |
+ -e '/sleep 10/d' \ |
201 |
+ -e '/^#### Work around bug in automake check macro$/,/^#### Info$/d' \ |
202 |
+ -e '/BARF_OK=/s:=.*:=:' \ |
203 |
+ configure || die |
204 |
+ |
205 |
+ # Upstream doesn't offer a configure flag. #611108 |
206 |
+ if ! use unwind ; then |
207 |
+ sed -i \ |
208 |
+ -e 's:libunwind libunwind-generic:xxxxxxxxxxxxxxxx:' \ |
209 |
+ configure || die |
210 |
+ fi |
211 |
+} |
212 |
+ |
213 |
+src_configure() { |
214 |
+ if use ssl && use gnutls ; then |
215 |
+ einfo "You enabled both USE=ssl and USE=gnutls, but only one can be used;" |
216 |
+ einfo "gnutls has been selected for you." |
217 |
+ fi |
218 |
+ if use opengl && use gles ; then |
219 |
+ einfo "You enabled both USE=opengl and USE=gles, but only one can be used;" |
220 |
+ einfo "opengl has been selected for you." |
221 |
+ fi |
222 |
+ |
223 |
+ E_ECONF=( |
224 |
+ --with-profile=$(usex debug debug release) |
225 |
+ --with-crypto=$(usex gnutls gnutls $(usex ssl openssl none)) |
226 |
+ --with-x11=$(usex X xlib none) |
227 |
+ $(use_with X x) |
228 |
+ --with-opengl=$(usex opengl full $(usex gles es none)) |
229 |
+ --with-glib=$(usex glib) |
230 |
+ --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb |
231 |
+ |
232 |
+ $(use_enable bmp image-loader-bmp) |
233 |
+ $(use_enable bmp image-loader-wbmp) |
234 |
+ $(use_enable drm) |
235 |
+ $(use_enable doc) |
236 |
+ $(use_enable eet image-loader-eet) |
237 |
+ $(use_enable egl) |
238 |
+ $(use_enable fbcon fb) |
239 |
+ $(use_enable fontconfig) |
240 |
+ $(use_enable fribidi) |
241 |
+ $(use_enable gif image-loader-gif) |
242 |
+ $(use_enable gstreamer gstreamer1) |
243 |
+ $(use_enable harfbuzz) |
244 |
+ $(use_enable ico image-loader-ico) |
245 |
+ $(use_enable ibus) |
246 |
+ $(use_enable jpeg2k image-loader-jp2k) |
247 |
+ $(use_enable neon) |
248 |
+ $(use_enable nls) |
249 |
+ $(use_enable pdf poppler) |
250 |
+ $(use_enable oldlua lua-old) |
251 |
+ $(use_enable physics) |
252 |
+ $(use_enable pixman) |
253 |
+ $(use_enable pixman pixman-font) |
254 |
+ $(use_enable pixman pixman-rect) |
255 |
+ $(use_enable pixman pixman-line) |
256 |
+ $(use_enable pixman pixman-poly) |
257 |
+ $(use_enable pixman pixman-image) |
258 |
+ $(use_enable pixman pixman-image-scale-sample) |
259 |
+ $(use_enable png image-loader-png) |
260 |
+ $(use_enable postscript spectre) |
261 |
+ $(use_enable ppm image-loader-pmaps) |
262 |
+ $(use_enable psd image-loader-psd) |
263 |
+ $(use_enable pulseaudio) |
264 |
+ $(use_enable raw libraw) |
265 |
+ $(use_enable scim) |
266 |
+ $(use_enable sdl) |
267 |
+ $(use_enable sound audio) |
268 |
+ $(use_enable systemd) |
269 |
+ $(use_enable tga image-loader-tga) |
270 |
+ $(use_enable tiff image-loader-tiff) |
271 |
+ $(use_enable tslib) |
272 |
+ $(use_enable v4l v4l2) |
273 |
+ $(use_enable valgrind) |
274 |
+ $(use_enable wayland) |
275 |
+ $(use_enable webp image-loader-webp) |
276 |
+ $(use_enable xim) |
277 |
+ $(use_enable xine) |
278 |
+ $(use_enable xpm image-loader-xpm) |
279 |
+ --enable-cserve |
280 |
+ --enable-image-loader-generic |
281 |
+ --enable-image-loader-jpeg |
282 |
+ |
283 |
+ --disable-tizen |
284 |
+ --disable-gesture |
285 |
+ --disable-gstreamer |
286 |
+ --enable-xinput2 |
287 |
+ --disable-xinput22 |
288 |
+ --enable-libmount |
289 |
+ |
290 |
+ # external lz4 support currently broken because of unstable ABI/API |
291 |
+ #--enable-liblz4 |
292 |
+ ) |
293 |
+ |
294 |
+ enlightenment_src_configure |
295 |
+} |
296 |
+ |
297 |
+src_compile() { |
298 |
+ if host-is-pax && ! use oldlua ; then |
299 |
+ # We need to build the lua code first so we can pax-mark it. #547076 |
300 |
+ local target='_e_built_sources_target_gogogo_' |
301 |
+ printf '%s: $(BUILT_SOURCES)\n' "${target}" >> src/Makefile || die |
302 |
+ emake -C src "${target}" |
303 |
+ emake -C src bin/elua/elua |
304 |
+ pax-mark m src/bin/elua/.libs/elua |
305 |
+ fi |
306 |
+ enlightenment_src_compile |
307 |
+} |
308 |
+ |
309 |
+src_install() { |
310 |
+ MAKEOPTS+=" -j1" |
311 |
+ |
312 |
+ enlightenment_src_install |
313 |
+} |