diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-23 18:15:03 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-23 18:15:03 +0100 |
commit | 7d995c58b1f3c34874110f6040021fd83d618732 (patch) | |
tree | 21db911783f88a232b3bc5a0f669b73833f63f1c /meta-efl/recipes-efl/efl/edje.inc | |
parent | 1c2cf0868bcf72847a3150416f5b48e94ba512d4 (diff) | |
download | ast2050-yocto-openembedded-7d995c58b1f3c34874110f6040021fd83d618732.zip ast2050-yocto-openembedded-7d995c58b1f3c34874110f6040021fd83d618732.tar.gz |
meta-efl: import from meta-shr.
Not all dependencies are in yet e.g. eve is missing webkit-efl, but e-wm should build
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-efl/recipes-efl/efl/edje.inc')
-rw-r--r-- | meta-efl/recipes-efl/efl/edje.inc | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta-efl/recipes-efl/efl/edje.inc b/meta-efl/recipes-efl/efl/edje.inc new file mode 100644 index 0000000..c69314f --- /dev/null +++ b/meta-efl/recipes-efl/efl/edje.inc @@ -0,0 +1,55 @@ +DESCRIPTION = "Edje is the Enlightenment graphical design & layout library" +DEPENDS = "lua5.1 eet evas ecore embryo edje-native" +DEPENDS_virtclass-native = "lua5.1-native evas-native ecore-native eet-native embryo-native" +DEPENDS_virtclass-nativesdk = "evas-native ecore-native eet-native embryo-native" +LICENSE = "MIT BSD" + +inherit efl + +BBCLASSEXTEND = "native nativesdk" +INC_PR = "r0" + +do_configure_prepend_virtclass-native() { + sed -i 's:EMBRYO_PREFIX"/bin:"${STAGING_BINDIR}:' ${S}/src/bin/edje_cc_out.c + sed -i 's: cpp -I: /usr/bin/cpp -I:' ${S}/src/bin/edje_cc_parse.c + sed -i 's:\"gcc -I:\"/usr/bin/gcc -I:' ${S}/src/bin/edje_cc_parse.c +} +# The new lua stuff is a bit broken... +do_configure_append() { + for i in $(find "${S}" -name "Makefile") ; do + sed -i -e 's:-L/usr/local/lib::g' $i + done +} + +do_compile_append() { + sed -i -e s:local/::g -e 's:-L${STAGING_LIBDIR}::g' ${S}/edje.pc +} + +# gain some extra performance at the expense of RAM - generally i'd say bad +# and a possible source of bugs +#EXTRA_OECONF = "--enable-edje-program-cache" + +# Since r44323 edje has a fixed-point mode +require edje-fpu.inc +EXTRA_OECONF += "${@get_edje_fpu_setting(bb, d)}" + +PACKAGES =+ "${PN}-utils" +RDEPENDS_${PN}-utils = "cpp cpp-symlinks embryo-tests" + +RRECOMMENDS_${PN}-utils = "\ + evas-saver-png \ + evas-saver-jpeg \ + evas-saver-eet \ +" + +DEBIAN_NOAUTONAME_${PN}-utils = "1" +# Some upgrade path tweaking +AUTO_LIBNAME_PKGS = "" + +RREPLACES_${PN} = "libedje-ver-pre-svn-00-0 libedje-ver-pre-svn-01-0" + +FILES_${PN}-utils = "\ + ${bindir}/edje_* \ + ${bindir}/inkscape2edc \ + ${datadir}/edje/include/edje.inc \ +" |