blob: f0a92dfe9a0e2ddea96bb3dee0c93a385398f7c8 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001DESCRIPTION = "EFL based widget set for mobile devices"
2LICENSE = "LGPLv2.1"
3LIC_FILES_CHKSUM = "file://COPYING;md5=a173054a93896e933df53e3382d472c2"
4DEPENDS = "eet-native edje-native elementary-native efreet evas ecore edje eet eldbus ethumb poppler eio"
5DEPENDS_class-native = "efl-native"
6
7inherit efl gettext
8
9EXTRA_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
18BBCLASSEXTEND = "native"
19
20PACKAGECONFIG[eweather] = "--enable-eweather,--disable-eweather,libeweather"
21PACKAGECONFIG[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
24PACKAGECONFIG[c++11] = "--enable-cxx-bindings,--disable-cxx-bindings"
25
26do_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
31do_compile_append_class-target() {
32 sed -i -e s:${STAGING_DIR_TARGET}::g \
33 -e s:/${TARGET_SYS}::g \
34 elementary.pc
35}
36
37PACKAGES += "${PN}-configs ${PN}-accessibility"
38
39RDEPENDS_${PN}_class-native = ""
40
41RDEPENDS_${PN} = "\
42 ${PN}-themes \
43 ${PN}-configs \
44"
45RSUGGESTS_${PN} = "${PN}-tests ${PN}-accessibility"
46
47FILES_${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
54FILES_${PN}-dev += "\
55 ${bindir}/elm_prefs_cc \
56 ${libdir}/elementary/modules/*/*/module.la \
57 ${libdir}/cmake \
58"
59
60FILES_${PN}-themes = "\
61 ${datadir}/elementary/themes \
62"
63
64FILES_${PN}-configs = "\
65 ${datadir}/elementary/config \
66"
67
68FILES_${PN}-dbg += "\
69 ${libdir}/elementary/modules/*/*/.debug \
70 ${libdir}/edje/modules/elm/*/.debug \
71"
72
73FILES_${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
84FILES_${PN}-accessibility = "\
85 ${libdir}/elementary/modules/access_output/* \
86"
87
88# Some upgrade path tweaking, as in evas
89AUTO_LIBNAME_PKGS = ""