summaryrefslogtreecommitdiff
path: root/packages/efl/edje-native_20060101.bb
blob: 523c38ba46aeffe61477706c853c09d61e0c2cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
include edje_${PV}.bb
PR = "r2"

REAL_TARGET_SYS := ${TARGET_SYS}

inherit native
DEPENDS = "evas-native ecore-native eet-native embryo-native imlib2-native"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/edje"

EXTRA_OECONF = "--with-fb-only \
  --with-evas-config=${STAGING_BINDIR}/evas-config-native	\
  --with-ecore-config=${STAGING_BINDIR}/ecore-config-native	\
  --with-eet-config=${STAGING_BINDIR}/eet-config-native		\
  --with-embryo-config=${STAGING_BINDIR}/embryo-config-native	\
  --with-imlib2-config=${STAGING_BINDIR}/imlib2-config-native	"

do_configure_prepend() {
        sed -i 's:EMBRYO_PREFIX"/bin:"${STAGING_BINDIR}:' ${S}/src/bin/edje_cc_out.c
#	sed -i 's:/usr/bin/cpp:${STAGING_DIR}/cross/bin/${REAL_TARGET_SYS}-cpp:' ${S}/src/bin/edje_cc_parse.c
#	sed -i 's:/usr/bin/gcc:${STAGING_DIR}/cross/bin/${REAL_TARGET_SYS}-gcc:' ${S}/src/bin/edje_cc_parse.c
}

do_stage_append() {
	edje_data_dir=`${STAGING_BINDIR}/edje-config-native --datadir`
	# could also use ${STAGING_DATADIR}/edje/include
	install -d $edje_data_dir/include
	install -m 0644 data/include/edje.inc $edje_data_dir/include
}