diff options
Diffstat (limited to 'meta-efl/recipes-efl/efl/efl.inc')
| -rw-r--r-- | meta-efl/recipes-efl/efl/efl.inc | 290 |
1 files changed, 0 insertions, 290 deletions
diff --git a/meta-efl/recipes-efl/efl/efl.inc b/meta-efl/recipes-efl/efl/efl.inc deleted file mode 100644 index 4cd21bfd0e..0000000000 --- a/meta-efl/recipes-efl/efl/efl.inc +++ /dev/null | |||
| @@ -1,290 +0,0 @@ | |||
| 1 | SUMMARY = "EFL" | ||
| 2 | LICENSE = "MIT & BSD & LGPL-2.1" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca7873210523dcfd32694b94286dca60" | ||
| 4 | |||
| 5 | DEPENDS_class-native = "freetype-native libxext-native libpng-native jpeg-native tiff-native libfribidi-native glib-2.0-native dbus-native openssl-native" | ||
| 6 | DEPENDS = "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 | |||
| 8 | inherit efl gettext pkgconfig | ||
| 9 | |||
| 10 | BBCLASSEXTEND = "native" | ||
| 11 | |||
| 12 | PROVIDES += "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 | ||
| 20 | EXTRA_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 | " | ||
| 24 | EXTRA_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 | " | ||
| 30 | EXTRA_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 | |||
| 54 | PACKAGECONFIG ?= "egl opengl-es gstreamer1 pulseaudio luajit ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" | ||
| 55 | PACKAGECONFIG_class-native = "luajit" | ||
| 56 | |||
| 57 | PACKAGECONFIG[wayland] = "--enable-wayland --enable-wayland-ivi-shell,--disable-wayland --disable-wayland-ivi-shell,wayland" | ||
| 58 | PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" | ||
| 59 | # sort of tri-state | ||
| 60 | PACKAGECONFIG[opengl-full] = "--with-opengl=full,,virtual/libgl" | ||
| 61 | PACKAGECONFIG[opengl-es] = "--with-opengl=es,,virtual/libgles2" | ||
| 62 | PACKAGECONFIG[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 | ||
| 65 | PACKAGECONFIG[c++11] = "--enable-cxx-bindings,--disable-cxx-bindings" | ||
| 66 | PACKAGECONFIG[gstreamer] = "--enable-gstreamer,--disable-gstreamer,gstreamer" | ||
| 67 | PACKAGECONFIG[gstreamer1] = "--enable-gstreamer1,--disable-gstreamer1,gstreamer1.0 gstreamer1.0-plugins-base" | ||
| 68 | PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio" | ||
| 69 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | ||
| 70 | PACKAGECONFIG[luajit] = "--disable-lua-old,--enable-lua-old,luajit" | ||
| 71 | PACKAGECONFIG[lua-old] = "--enable-lua-old,--disable-lua-old,lua" | ||
| 72 | PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" | ||
| 73 | # currently we don't provide doxygen-native | ||
| 74 | PACKAGECONFIG[doc] = "--enable-doc,--disable-doc,doxygen-native" | ||
| 75 | |||
| 76 | do_install_append() { | ||
| 77 | # don't ship precompiled lua files | ||
| 78 | rm -f ${datadir}/elua/*/*.luac | ||
| 79 | } | ||
| 80 | |||
| 81 | PACKAGES =+ "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 | ||
| 84 | DEBIAN_NOAUTONAME_ecore-audio = "1" | ||
| 85 | DEBIAN_NOAUTONAME_ecore-input-evas = "1" | ||
| 86 | DEBIAN_NOAUTONAME_ecore-input = "1" | ||
| 87 | DEBIAN_NOAUTONAME_ecore-imf-evas = "1" | ||
| 88 | DEBIAN_NOAUTONAME_ecore-imf = "1" | ||
| 89 | DEBIAN_NOAUTONAME_ecore-file = "1" | ||
| 90 | DEBIAN_NOAUTONAME_ecore-con = "1" | ||
| 91 | DEBIAN_NOAUTONAME_ecore-ipc = "1" | ||
| 92 | DEBIAN_NOAUTONAME_ecore-x = "1" | ||
| 93 | DEBIAN_NOAUTONAME_ecore-evas = "1" | ||
| 94 | DEBIAN_NOAUTONAME_embryo = "1" | ||
| 95 | |||
| 96 | ALLOW_EMPTY_ecore = "1" | ||
| 97 | RDEPENDS_ecore = "ecore-audio ecore-input-evas ecore-input ecore-imf-evas ecore-imf ecore-file ecore-con ecore-ipc ecore-x ecore-evas" | ||
| 98 | |||
| 99 | python 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 | |||
| 119 | PACKAGES += "evas-loader-png evas-engine-software-generic evas-engine-fb" | ||
| 120 | PACKAGES_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 | |||
| 128 | FILES_efreet-trash = " \ | ||
| 129 | ${libdir}/libefreet_trash${SOLIBS} \ | ||
| 130 | " | ||
| 131 | FILES_efreet-mime = " \ | ||
| 132 | ${libdir}/libefreet_mime${SOLIBS} \ | ||
| 133 | " | ||
| 134 | FILES_libeet = " \ | ||
| 135 | ${libdir}/libeet${SOLIBS} \ | ||
| 136 | " | ||
| 137 | FILES_libefreet = " \ | ||
| 138 | ${libdir}/libefreet${SOLIBS} \ | ||
| 139 | " | ||
| 140 | FILES_ecore-audio = "\ | ||
| 141 | ${libdir}/libecore_audio${SOLIBS} \ | ||
| 142 | " | ||
| 143 | FILES_ecore-input-evas = "\ | ||
| 144 | ${libdir}/libecore_input_evas${SOLIBS} \ | ||
| 145 | " | ||
| 146 | FILES_ecore-input = "\ | ||
| 147 | ${libdir}/libecore_input${SOLIBS} \ | ||
| 148 | " | ||
| 149 | FILES_ecore-imf-evas = "\ | ||
| 150 | ${libdir}/libecore_imf_evas${SOLIBS} \ | ||
| 151 | ${libdir}/ecore-imf/modules/*/*/module.so \ | ||
| 152 | " | ||
| 153 | FILES_ecore-imf = "\ | ||
| 154 | ${libdir}/libecore_imf${SOLIBS} \ | ||
| 155 | " | ||
| 156 | |||
| 157 | FILES_ecore-file = "\ | ||
| 158 | ${libdir}/libecore_file${SOLIBS} \ | ||
| 159 | " | ||
| 160 | FILES_ecore-con = "\ | ||
| 161 | ${libdir}/libecore_con${SOLIBS} \ | ||
| 162 | " | ||
| 163 | FILES_ecore-ipc = "\ | ||
| 164 | ${libdir}/libecore_ipc${SOLIBS} \ | ||
| 165 | " | ||
| 166 | FILES_ecore-x = "\ | ||
| 167 | ${libdir}/libecore_x${SOLIBS} \ | ||
| 168 | ${libdir}/ecore_x/bin/v-*/ecore_x_vsync \ | ||
| 169 | " | ||
| 170 | FILES_ecore-evas = "\ | ||
| 171 | ${libdir}/libecore_evas${SOLIBS} \ | ||
| 172 | ${libdir}/ecore-evas/engines/*/*/module.so \ | ||
| 173 | " | ||
| 174 | FILES_eio = "\ | ||
| 175 | ${libdir}/libeio${SOLIBS} \ | ||
| 176 | " | ||
| 177 | FILES_eina = "\ | ||
| 178 | ${libdir}/libeina${SOLIBS} \ | ||
| 179 | ${bindir}/eina-bench-cmp \ | ||
| 180 | " | ||
| 181 | FILES_edje-utils = "\ | ||
| 182 | ${bindir}/edje_* \ | ||
| 183 | ${datadir}/edje/include/edje.inc \ | ||
| 184 | " | ||
| 185 | FILES_eldbus = "\ | ||
| 186 | ${libdir}/libeldbus${SOLIBS} \ | ||
| 187 | " | ||
| 188 | FILES_eo = "\ | ||
| 189 | ${libdir}/libeo${SOLIBS} \ | ||
| 190 | " | ||
| 191 | FILES_libemotion = "\ | ||
| 192 | ${libdir}/libemotion${SOLIBS} \ | ||
| 193 | " | ||
| 194 | FILES_efreet = " \ | ||
| 195 | ${datadir}/dbus-1/services/*Efreet* \ | ||
| 196 | ${libdir}/efreet/*/efreet*create \ | ||
| 197 | ${bindir}/efreetd \ | ||
| 198 | ${datadir}/efreet \ | ||
| 199 | " | ||
| 200 | FILES_eet = " \ | ||
| 201 | ${bindir}/eet \ | ||
| 202 | ${bindir}/eetpack \ | ||
| 203 | ${bindir}/vieet \ | ||
| 204 | ${bindir}/diffeet \ | ||
| 205 | ${libdir}/libeet${SOLIBS} \ | ||
| 206 | " | ||
| 207 | FILES_emotion = " \ | ||
| 208 | ${datadir}/emotion \ | ||
| 209 | ${libdir}/emotion/modules/gstreamer1/*/module.so \ | ||
| 210 | " | ||
| 211 | FILES_embryo-tests = " \ | ||
| 212 | ${datadir}/embryo/ \ | ||
| 213 | " | ||
| 214 | FILES_embryo-utils = " \ | ||
| 215 | ${binddir}/embryo_* \ | ||
| 216 | " | ||
| 217 | FILES_embryo = " \ | ||
| 218 | ${libdir}/libembryo${SOLIBS} \ | ||
| 219 | " | ||
| 220 | FILES_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 | " | ||
| 232 | FILES_ecore = " \ | ||
| 233 | ${libdir}/libecore${SOLIBS} \ | ||
| 234 | ${libdir}/ecore*/*/*/*/module.so \ | ||
| 235 | ${datadir}/ecore* \ | ||
| 236 | " | ||
| 237 | FILES_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 | |||
| 246 | FILES_eeze = " \ | ||
| 247 | ${libdir}/libeeze${SOLIBS} \ | ||
| 248 | ${libdir}/eeze*/*/*/*/*/module.so \ | ||
| 249 | ${datadir}/eeze \ | ||
| 250 | ${bindir}/eeze_* \ | ||
| 251 | " | ||
| 252 | FILES_edje = " \ | ||
| 253 | ${libdir}/libedje${SOLIBS} \ | ||
| 254 | ${libdir}/edje*/*/*/*/module.so \ | ||
| 255 | ${libdir}/edje/utils/*/epp \ | ||
| 256 | ${datadir}/edje \ | ||
| 257 | ${datadir}/mime \ | ||
| 258 | " | ||
| 259 | FILES_elua = " \ | ||
| 260 | ${bindir}/elua \ | ||
| 261 | ${datadir}/elua \ | ||
| 262 | " | ||
| 263 | FILES_${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 | " | ||
| 276 | FILES_${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 | " | ||
| 288 | |||
| 289 | PNBLACKLIST[efl] ?= "Depends on broken efl-native - the recipe will be removed on 2017-09-01 unless the issue is fixed" | ||
| 290 | PNBLACKLIST[efl-native] ?= "Broken: fails to build with http://errors.yoctoproject.org/Errors/Details/138240/ - the recipe will be removed on 2017-09-01 unless the issue is fixed" | ||
