summaryrefslogtreecommitdiffstats
path: root/meta-efl/recipes-efl/efl/edje.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-03-23 18:15:03 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-03-23 18:15:03 +0100
commit7d995c58b1f3c34874110f6040021fd83d618732 (patch)
tree21db911783f88a232b3bc5a0f669b73833f63f1c /meta-efl/recipes-efl/efl/edje.inc
parent1c2cf0868bcf72847a3150416f5b48e94ba512d4 (diff)
downloadmeta-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.inc55
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 @@
1DESCRIPTION = "Edje is the Enlightenment graphical design & layout library"
2DEPENDS = "lua5.1 eet evas ecore embryo edje-native"
3DEPENDS_virtclass-native = "lua5.1-native evas-native ecore-native eet-native embryo-native"
4DEPENDS_virtclass-nativesdk = "evas-native ecore-native eet-native embryo-native"
5LICENSE = "MIT BSD"
6
7inherit efl
8
9BBCLASSEXTEND = "native nativesdk"
10INC_PR = "r0"
11
12do_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...
18do_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
24do_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
33require edje-fpu.inc
34EXTRA_OECONF += "${@get_edje_fpu_setting(bb, d)}"
35
36PACKAGES =+ "${PN}-utils"
37RDEPENDS_${PN}-utils = "cpp cpp-symlinks embryo-tests"
38
39RRECOMMENDS_${PN}-utils = "\
40 evas-saver-png \
41 evas-saver-jpeg \
42 evas-saver-eet \
43"
44
45DEBIAN_NOAUTONAME_${PN}-utils = "1"
46# Some upgrade path tweaking
47AUTO_LIBNAME_PKGS = ""
48
49RREPLACES_${PN} = "libedje-ver-pre-svn-00-0 libedje-ver-pre-svn-01-0"
50
51FILES_${PN}-utils = "\
52 ${bindir}/edje_* \
53 ${bindir}/inkscape2edc \
54 ${datadir}/edje/include/edje.inc \
55"