Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | DESCRIPTION = "EFL based widget set for mobile devices" |
| 2 | LICENSE = "LGPLv2.1" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=a173054a93896e933df53e3382d472c2" |
| 4 | DEPENDS = "eet-native edje-native elementary-native efreet evas ecore edje eet eldbus ethumb poppler eio" |
| 5 | DEPENDS_class-native = "efl-native" |
| 6 | |
| 7 | inherit efl gettext |
| 8 | |
| 9 | EXTRA_OECONF_append_class-target = "\ |
| 10 | --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \ |
| 11 | --with-eet-eet=${STAGING_BINDIR_NATIVE}/eet \ |
| 12 | --with-elementary-codegen=${STAGING_BINDIR_NATIVE}/elementary_codegen \ |
| 13 | --with-elm-prefs-cc=${STAGING_BINDIR_NATIVE}/elm_prefs_cc \ |
| 14 | --with-eolian-gen=${STAGING_BINDIR_NATIVE}/eolian_gen \ |
| 15 | --with-eolian-cxx=${STAGING_BINDIR_NATIVE}/eolian_cxx \ |
| 16 | " |
| 17 | |
| 18 | BBCLASSEXTEND = "native" |
| 19 | |
| 20 | PACKAGECONFIG[eweather] = "--enable-eweather,--disable-eweather,libeweather" |
| 21 | PACKAGECONFIG[ewebkit] = "--with-elementary-web-backend=ewebkit,--with-elementary-web-backend=none,webkit-efl" |
| 22 | # be aware when enabling this for efl-native, we don't provide gcc-native so you need to make |
| 23 | # sure that all your builders have g++ which supports -std=gnu++11 |
| 24 | PACKAGECONFIG[c++11] = "--enable-cxx-bindings,--disable-cxx-bindings" |
| 25 | |
| 26 | do_configure_prepend() { |
| 27 | # prefix returned eolian paths with STAGING_DIR_HOST |
| 28 | sed -i 's%^\(DEPS_EOLIAN_FLAGS=`.*\)`$%\1 | sed "s#-I\\${prefix}#-I\\${STAGING_DIR_HOST}\\${prefix}#g"`%g' ${S}/configure.ac |
| 29 | } |
| 30 | |
| 31 | do_compile_append_class-target() { |
| 32 | sed -i -e s:${STAGING_DIR_TARGET}::g \ |
| 33 | -e s:/${TARGET_SYS}::g \ |
| 34 | elementary.pc |
| 35 | } |
| 36 | |
| 37 | PACKAGES += "${PN}-configs ${PN}-accessibility" |
| 38 | |
| 39 | RDEPENDS_${PN}_class-native = "" |
| 40 | |
| 41 | RDEPENDS_${PN} = "\ |
| 42 | ${PN}-themes \ |
| 43 | ${PN}-configs \ |
| 44 | " |
| 45 | RSUGGESTS_${PN} = "${PN}-tests ${PN}-accessibility" |
| 46 | |
| 47 | FILES_${PN} += "\ |
| 48 | ${libdir}/edje/modules/elm \ |
| 49 | ${libdir}/elementary/modules/datetime_input_ctxpopup/*/module.so \ |
| 50 | ${libdir}/elementary/modules/prefs/*/module.so \ |
| 51 | ${libdir}/elementary/modules/prefs/*/*.edj \ |
| 52 | " |
| 53 | |
| 54 | FILES_${PN}-dev += "\ |
| 55 | ${bindir}/elm_prefs_cc \ |
| 56 | ${libdir}/elementary/modules/*/*/module.la \ |
| 57 | ${libdir}/cmake \ |
| 58 | " |
| 59 | |
| 60 | FILES_${PN}-themes = "\ |
| 61 | ${datadir}/elementary/themes \ |
| 62 | " |
| 63 | |
| 64 | FILES_${PN}-configs = "\ |
| 65 | ${datadir}/elementary/config \ |
| 66 | " |
| 67 | |
| 68 | FILES_${PN}-dbg += "\ |
| 69 | ${libdir}/elementary/modules/*/*/.debug \ |
| 70 | ${libdir}/edje/modules/elm/*/.debug \ |
| 71 | " |
| 72 | |
| 73 | FILES_${PN}-tests = "\ |
| 74 | ${bindir}/elementary* \ |
| 75 | ${datadir}/elementary/images \ |
| 76 | ${datadir}/elementary/objects \ |
| 77 | ${datadir}/elementary/examples \ |
| 78 | ${datadir}/applications/* \ |
| 79 | ${datadir}/icons/* \ |
| 80 | ${libdir}/elementary/modules/test_entry/* \ |
| 81 | ${libdir}/elementary/modules/test_map/* \ |
| 82 | " |
| 83 | |
| 84 | FILES_${PN}-accessibility = "\ |
| 85 | ${libdir}/elementary/modules/access_output/* \ |
| 86 | " |
| 87 | |
| 88 | # Some upgrade path tweaking, as in evas |
| 89 | AUTO_LIBNAME_PKGS = "" |