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 | meta-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 000000000..c69314f43 --- /dev/null +++ b/meta-efl/recipes-efl/efl/edje.inc | |||
@@ -0,0 +1,55 @@ | |||
1 | DESCRIPTION = "Edje is the Enlightenment graphical design & layout library" | ||
2 | DEPENDS = "lua5.1 eet evas ecore embryo edje-native" | ||
3 | DEPENDS_virtclass-native = "lua5.1-native evas-native ecore-native eet-native embryo-native" | ||
4 | DEPENDS_virtclass-nativesdk = "evas-native ecore-native eet-native embryo-native" | ||
5 | LICENSE = "MIT BSD" | ||
6 | |||
7 | inherit efl | ||
8 | |||
9 | BBCLASSEXTEND = "native nativesdk" | ||
10 | INC_PR = "r0" | ||
11 | |||
12 | do_configure_prepend_virtclass-native() { | ||
13 | sed -i 's:EMBRYO_PREFIX"/bin:"${STAGING_BINDIR}:' ${S}/src/bin/edje_cc_out.c | ||
14 | sed -i 's: cpp -I: /usr/bin/cpp -I:' ${S}/src/bin/edje_cc_parse.c | ||
15 | sed -i 's:\"gcc -I:\"/usr/bin/gcc -I:' ${S}/src/bin/edje_cc_parse.c | ||
16 | } | ||
17 | # The new lua stuff is a bit broken... | ||
18 | do_configure_append() { | ||
19 | for i in $(find "${S}" -name "Makefile") ; do | ||
20 | sed -i -e 's:-L/usr/local/lib::g' $i | ||
21 | done | ||
22 | } | ||
23 | |||
24 | do_compile_append() { | ||
25 | sed -i -e s:local/::g -e 's:-L${STAGING_LIBDIR}::g' ${S}/edje.pc | ||
26 | } | ||
27 | |||
28 | # gain some extra performance at the expense of RAM - generally i'd say bad | ||
29 | # and a possible source of bugs | ||
30 | #EXTRA_OECONF = "--enable-edje-program-cache" | ||
31 | |||
32 | # Since r44323 edje has a fixed-point mode | ||
33 | require edje-fpu.inc | ||
34 | EXTRA_OECONF += "${@get_edje_fpu_setting(bb, d)}" | ||
35 | |||
36 | PACKAGES =+ "${PN}-utils" | ||
37 | RDEPENDS_${PN}-utils = "cpp cpp-symlinks embryo-tests" | ||
38 | |||
39 | RRECOMMENDS_${PN}-utils = "\ | ||
40 | evas-saver-png \ | ||
41 | evas-saver-jpeg \ | ||
42 | evas-saver-eet \ | ||
43 | " | ||
44 | |||
45 | DEBIAN_NOAUTONAME_${PN}-utils = "1" | ||
46 | # Some upgrade path tweaking | ||
47 | AUTO_LIBNAME_PKGS = "" | ||
48 | |||
49 | RREPLACES_${PN} = "libedje-ver-pre-svn-00-0 libedje-ver-pre-svn-01-0" | ||
50 | |||
51 | FILES_${PN}-utils = "\ | ||
52 | ${bindir}/edje_* \ | ||
53 | ${bindir}/inkscape2edc \ | ||
54 | ${datadir}/edje/include/edje.inc \ | ||
55 | " | ||