aboutsummaryrefslogtreecommitdiffstats
path: root/edje
diff options
context:
space:
mode:
Diffstat (limited to 'edje')
-rw-r--r--edje/edje-native_cvs.oe22
-rw-r--r--edje/edje/fix-hardcoded-imlib2-config.patch0
-rw-r--r--edje/edje_cvs.oe12
3 files changed, 26 insertions, 8 deletions
diff --git a/edje/edje-native_cvs.oe b/edje/edje-native_cvs.oe
index e69de29bb2..81c5377ce7 100644
--- a/edje/edje-native_cvs.oe
+++ b/edje/edje-native_cvs.oe
@@ -0,0 +1,22 @@
+include edje_${PV}.oe
+inherit native
+DEPENDS = "freetype-native evas-native ecore-native embryo-native eet-native edb-native imlib2-native"
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/edje"
+
+EXTRA_OECONF = "--enable-fb-only"
+
+export EDB_CONFIG = "${STAGING_BINDIR}/edb-config-native"
+export EET_CONFIG = "${STAGING_BINDIR}/eet-config-native"
+export FREETYPE_CONFIG = "${STAGING_BINDIR}/freetype-config-native"
+export EVAS_CONFIG = "${STAGING_BINDIR}/evas-config-native"
+export ECORE_CONFIG = "${STAGING_BINDIR}/ecore-config-native"
+export EMBRYO_CONFIG = "${STAGING_BINDIR}/embryo-config-native"
+export IMLIB2_CONFIG = "${STAGING_BINDIR}/imlib2-config-native"
+
+do_stage() {
+ for i in edje edje_ls edje_cc
+ do
+ install -m 0755 src/bin/$i ${STAGING_BINDIR}
+ done
+}
+
diff --git a/edje/edje/fix-hardcoded-imlib2-config.patch b/edje/edje/fix-hardcoded-imlib2-config.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/edje/edje/fix-hardcoded-imlib2-config.patch
diff --git a/edje/edje_cvs.oe b/edje/edje_cvs.oe
index 7c9cf67728..7178c392b9 100644
--- a/edje/edje_cvs.oe
+++ b/edje/edje_cvs.oe
@@ -1,13 +1,14 @@
DESCRIPTION = "edje is a complex graphical design & layout library."
-DEPENDS = "freetype evas ecore embryo eet edb"
+DEPENDS = "freetype evas ecore embryo eet edb edje-native"
SECTION = "libs"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
PV = "${CVSDATE}"
-SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/enlightenment;module=e17/libs/edje"
+SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/enlightenment;module=e17/libs/edje \
+ file://fix-hardcoded-imlib2-config.patch;patch=1"
S = "${WORKDIR}/edje"
-inherit autotools pkgconfig
+inherit autotools pkgconfig binconfig
export EDB_CONFIG = "${STAGING_BINDIR}/edb-config"
export EET_CONFIG = "${STAGING_BINDIR}/eet-config"
@@ -23,9 +24,4 @@ do_stage () {
oe_libinstall -C src/lib libedje ${STAGING_LIBDIR}/
oe_libinstall -C src/lib libedje_edit ${STAGING_LIBDIR}/
install -m 0644 ${S}/src/lib/Edje.h ${STAGING_INCDIR}/
- cat edje-config | sed -e 's,/usr/include,${STAGING_INCDIR},g; \
- s,/usr/lib,${STAGING_LIBDIR},g; \
- s,/usr/bin,${STAGING_BINDIR},g; \
- s,/usr,${STAGING_LIBDIR}/..,g;' > ${STAGING_BINDIR}/edje-config
- chmod u+x ${STAGING_BINDIR}/edje-config
}