blob: 31aff8731cb34b6e48517a511313eb5d12708992 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "EFL"
2LICENSE = "MIT & BSD & LGPL-2.1"
3LIC_FILES_CHKSUM = "file://COPYING;md5=ca7873210523dcfd32694b94286dca60"
4
5DEPENDS_class-native = "freetype-native libxext-native libpng-native jpeg-native tiff-native libfribidi-native glib-2.0-native dbus-native openssl-native"
6DEPENDS = "virtual/libiconv tslib curl glib-2.0 gnutls pkgconfig zlib jpeg openssl libsndfile1 dbus libexif librsvg freetype libpng tiff libxext virtual/libx11 libxdamage libxrender fontconfig libfribidi giflib udev libxcursor libxcomposite libxinerama libxrandr libxtst libxscrnsaver efl-native util-linux libunwind"
7
8inherit efl gettext pkgconfig
9
10BBCLASSEXTEND = "native"
11
12PROVIDES += "ecore edje eet eeze efreet eina eio embryo emotion ethumb evas eldbus"
13
14# we don't have bullet for physics
15# You have chosen to disable physics support. This disables lots of
16# core functionality and is effectively never tested. You are going
17# to find features that suddenly don't work and as a result cause
18# a series of breakages. This is simply not tested so you are on
19# your own in terms of ensuring everything works if you do this
20EXTRA_OECONF = " \
21 --disable-physics \
22 --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-aba \
23"
24EXTRA_OECONF_append_class-target = " \
25 --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \
26 --with-eolian-gen=${STAGING_BINDIR_NATIVE}/eolian_gen \
27 --with-eolian-cxx=${STAGING_BINDIR_NATIVE}/eolian_cxx \
28 --with-elua=${STAGING_BINDIR_NATIVE}/elua \
29"
30EXTRA_OECONF_append_class-native = " \
31 --disable-fontconfig \
32 --disable-audio \
33 --disable-physics \
34 --disable-multisense \
35 --disable-cserve \
36 --disable-libeeze \
37 --with-x11=none \
38 --disable-image-loader-bmp \
39 --disable-image-loader-eet \
40 --disable-image-loader-generic \
41 --disable-image-loader-gif \
42 --disable-image-loader-ico \
43 --disable-image-loader-jp2k \
44 --disable-image-loader-pmaps \
45 --disable-image-loader-psd \
46 --disable-image-loader-tga \
47 --disable-image-loader-wbmp \
48 --disable-image-loader-webp \
49 --disable-image-loader-xpm \
50 --disable-image-loader-tgv \
51 --disable-image-loader-dds \
52"
53
54PACKAGECONFIG ?= "egl opengl-es gstreamer1 pulseaudio luajit ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
55PACKAGECONFIG_class-native = "luajit"
56
57PACKAGECONFIG[wayland] = "--enable-wayland --enable-wayland-ivi-shell,--disable-wayland --disable-wayland-ivi-shell,wayland"
58PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
59# sort of tri-state
60PACKAGECONFIG[opengl-full] = "--with-opengl=full,,virtual/libgl"
61PACKAGECONFIG[opengl-es] = "--with-opengl=es,,virtual/libgles2"
62PACKAGECONFIG[opengl-none] = "--with-opengl=none,,"
63# be aware when enabling this for efl-native, we don't provide gcc-native so you need to make
64# sure that all your builders have g++ which supports -std=gnu++11
65PACKAGECONFIG[c++11] = "--enable-cxx-bindings,--disable-cxx-bindings"
66PACKAGECONFIG[gstreamer] = "--enable-gstreamer,--disable-gstreamer,gstreamer"
67PACKAGECONFIG[gstreamer1] = "--enable-gstreamer1,--disable-gstreamer1,gstreamer1.0 gstreamer1.0-plugins-base"
68PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio"
69PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
70PACKAGECONFIG[luajit] = "--disable-lua-old,--enable-lua-old,luajit"
71PACKAGECONFIG[lua-old] = "--enable-lua-old,--disable-lua-old,lua"
72PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"
73# currently we don't provide doxygen-native
74PACKAGECONFIG[doc] = "--enable-doc,--disable-doc,doxygen-native"
75
76do_install_append() {
77 # don't ship precompiled lua files
78 rm -f ${datadir}/elua/*/*.luac
79}
80
81PACKAGES =+ "edje-utils embryo-utils embryo-tests efreet-trash efreet-mime libeet libefreet ecore-audio ecore-input-evas ecore-input ecore-imf-evas ecore-imf ecore-file ecore-con ecore-ipc ecore-x ecore-evas libemotion eo ecore edje eet eeze efreet eina eio embryo emotion ethumb evas eldbus elua"
82
83# upgrade path from 1.7
84DEBIAN_NOAUTONAME_ecore-audio = "1"
85DEBIAN_NOAUTONAME_ecore-input-evas = "1"
86DEBIAN_NOAUTONAME_ecore-input = "1"
87DEBIAN_NOAUTONAME_ecore-imf-evas = "1"
88DEBIAN_NOAUTONAME_ecore-imf = "1"
89DEBIAN_NOAUTONAME_ecore-file = "1"
90DEBIAN_NOAUTONAME_ecore-con = "1"
91DEBIAN_NOAUTONAME_ecore-ipc = "1"
92DEBIAN_NOAUTONAME_ecore-x = "1"
93DEBIAN_NOAUTONAME_ecore-evas = "1"
94DEBIAN_NOAUTONAME_embryo = "1"
95
96ALLOW_EMPTY_ecore = "1"
97RDEPENDS_ecore = "ecore-audio ecore-input-evas ecore-input ecore-imf-evas ecore-imf ecore-file ecore-con ecore-ipc ecore-x ecore-evas"
98
99python populate_packages_prepend () {
100 for plugin_type in "engines loaders savers".split():
101 bb.note( "splitting packages for evas %s..." % plugin_type )
102 basedir = d.expand( '${libdir}/evas/modules/%s' % plugin_type)
103
104 do_split_packages(d, basedir, '^(.*)',
105 output_pattern = 'evas-' + plugin_type[:-1] + "-%s",
106 description = 'Evas module %s',
107 allow_dirs=True, recursive=False, extra_depends="" )
108
109 plugin_type = "cserve2"
110 bb.note( "splitting packages for evas %s..." % plugin_type )
111 basedir = d.expand( '${libdir}/evas/%s/loaders' % plugin_type)
112
113 do_split_packages(d, basedir, '^(.*)',
114 output_pattern = 'evas-' + plugin_type + "-%s",
115 description = 'Evas csever2 loader module %s',
116 allow_dirs=True, recursive=False, extra_depends="" )
117}
118
119PACKAGES += "evas-loader-png evas-engine-software-generic evas-engine-fb"
120PACKAGES_DYNAMIC += "^evas-engine-.* ^evas-loader-.* ^evas-saver-.* ^evas-cserve2-.*"
121
122# PACKAGES_DYNAMIC + do_split_packages isn't used for all libe libs,
123# because PACKAGES_DYNAMIC would be catching too many patterns
124# (or need to list all possible prefixes) and not all original packages
125# were splitted like that, so it would need RCONFLICTS/RPROVIDES/RREPLACES
126# combos at least in few places for upgrade path.
127
128FILES_efreet-trash = " \
129 ${libdir}/libefreet_trash${SOLIBS} \
130"
131FILES_efreet-mime = " \
132 ${libdir}/libefreet_mime${SOLIBS} \
133"
134FILES_libeet = " \
135 ${libdir}/libeet${SOLIBS} \
136"
137FILES_libefreet = " \
138 ${libdir}/libefreet${SOLIBS} \
139"
140FILES_ecore-audio = "\
141 ${libdir}/libecore_audio${SOLIBS} \
142"
143FILES_ecore-input-evas = "\
144 ${libdir}/libecore_input_evas${SOLIBS} \
145"
146FILES_ecore-input = "\
147 ${libdir}/libecore_input${SOLIBS} \
148"
149FILES_ecore-imf-evas = "\
150 ${libdir}/libecore_imf_evas${SOLIBS} \
151 ${libdir}/ecore-imf/modules/*/*/module.so \
152"
153FILES_ecore-imf = "\
154 ${libdir}/libecore_imf${SOLIBS} \
155"
156
157FILES_ecore-file = "\
158 ${libdir}/libecore_file${SOLIBS} \
159"
160FILES_ecore-con = "\
161 ${libdir}/libecore_con${SOLIBS} \
162"
163FILES_ecore-ipc = "\
164 ${libdir}/libecore_ipc${SOLIBS} \
165"
166FILES_ecore-x = "\
167 ${libdir}/libecore_x${SOLIBS} \
168 ${libdir}/ecore_x/bin/v-*/ecore_x_vsync \
169"
170FILES_ecore-evas = "\
171 ${libdir}/libecore_evas${SOLIBS} \
172 ${libdir}/ecore-evas/engines/*/*/module.so \
173"
174FILES_eio = "\
175 ${libdir}/libeio${SOLIBS} \
176"
177FILES_eina = "\
178 ${libdir}/libeina${SOLIBS} \
179 ${bindir}/eina-bench-cmp \
180"
181FILES_edje-utils = "\
182 ${bindir}/edje_* \
183 ${datadir}/edje/include/edje.inc \
184"
185FILES_eldbus = "\
186 ${libdir}/libeldbus${SOLIBS} \
187"
188FILES_eo = "\
189 ${libdir}/libeo${SOLIBS} \
190"
191FILES_libemotion = "\
192 ${libdir}/libemotion${SOLIBS} \
193"
194FILES_efreet = " \
195 ${datadir}/dbus-1/services/*Efreet* \
196 ${libdir}/efreet/*/efreet*create \
197 ${bindir}/efreetd \
198 ${datadir}/efreet \
199"
200FILES_eet = " \
201 ${bindir}/eet \
202 ${bindir}/eetpack \
203 ${bindir}/vieet \
204 ${bindir}/diffeet \
205 ${libdir}/libeet${SOLIBS} \
206"
207FILES_emotion = " \
208 ${datadir}/emotion \
209 ${libdir}/emotion/modules/gstreamer1/*/module.so \
210"
211FILES_embryo-tests = " \
212 ${datadir}/embryo/ \
213"
214FILES_embryo-utils = " \
215 ${binddir}/embryo_* \
216"
217FILES_embryo = " \
218 ${libdir}/libembryo${SOLIBS} \
219"
220FILES_ethumb = " \
221 ${datadir}/dbus-1/services/*Ethumb* \
222 ${libdir}/libethumb${SOLIBS} \
223 ${libdir}/libethumb_client${SOLIBS} \
224 ${bindir}/ethumbd \
225 ${bindir}/ethumbd_client \
226 ${bindir}/ethumb \
227 ${libdir}/ethumb/*/*/*/module.so \
228 ${libdir}/ethumb/*/*/*/*.edj \
229 ${libdir}/ethumb_client/utils/*/ethumbd_slave \
230 ${datadir}/ethumb* \
231"
232FILES_ecore = " \
233 ${libdir}/libecore${SOLIBS} \
234 ${libdir}/ecore*/*/*/*/module.so \
235 ${datadir}/ecore* \
236"
237FILES_evas = " \
238 ${libdir}/libevas${SOLIBS} \
239 ${libdir}/evas*/*/*/*/*/module.so \
240 ${libdir}/evas*/*/*/*/*/*.edj \
241 ${libdir}/evas/cserve2/bin/*/evas_cserve2* \
242 ${datadir}/evas* \
243 ${bindir}/evas_cserve2_* \
244"
245
246FILES_eeze = " \
247 ${libdir}/libeeze${SOLIBS} \
248 ${libdir}/eeze*/*/*/*/*/module.so \
249 ${datadir}/eeze \
250 ${bindir}/eeze_* \
251"
252FILES_edje = " \
253 ${libdir}/libedje${SOLIBS} \
254 ${libdir}/edje*/*/*/*/module.so \
255 ${libdir}/edje/utils/*/epp \
256 ${datadir}/edje \
257 ${datadir}/mime \
258"
259FILES_elua = " \
260 ${bindir}/elua \
261 ${datadir}/elua \
262"
263FILES_${PN}-dbg += " \
264 ${libdir}/efreet/*/.debug \
265 ${libdir}/ecore*/*/*/*/.debug \
266 ${libdir}/ecore*/*/*/.debug \
267 ${libdir}/evas*/*/*/*/*/.debug \
268 ${libdir}/evas/cserve2/bin/*/.debug \
269 ${libdir}/eeze*/*/*/*/*/.debug \
270 ${libdir}/edje*/*/*/*/.debug \
271 ${libdir}/edje/utils/*/.debug \
272 ${libdir}/ethumb/*/*/*/.debug \
273 ${libdir}/ethumb_client/utils/*/.debug \
274 ${libdir}/emotion/modules/gstreamer1/*/.debug \
275"
276FILES_${PN}-dev += " \
277 ${libdir}/cmake \
278 ${libdir}/ecore*/*/*/*/module.la \
279 ${libdir}/evas*/*/*/*/*/module.la \
280 ${libdir}/ethumb*/*/*/*/module.la \
281 ${libdir}/eeze*/*/*/*/*/module.la \
282 ${libdir}/edje*/*/*/*/module.la \
283 ${libdir}/emotion/modules/gstreamer1/*/module.la \
284 ${datadir}/gdb/auto-load \
285 ${datadir}/eo/gdb \
286 ${bindir}/eldbus-codegen \
287"