summaryrefslogtreecommitdiff
path: root/packages/edje
diff options
context:
space:
mode:
Diffstat (limited to 'packages/edje')
-rw-r--r--packages/edje/edje-native_cvs.bb13
-rw-r--r--packages/edje/edje_cvs.bb30
2 files changed, 43 insertions, 0 deletions
diff --git a/packages/edje/edje-native_cvs.bb b/packages/edje/edje-native_cvs.bb
index e69de29bb2..848c8dbe21 100644
--- a/packages/edje/edje-native_cvs.bb
+++ b/packages/edje/edje-native_cvs.bb
@@ -0,0 +1,13 @@
+include edje_${PV}.bb
+inherit native
+DEPENDS = "freetype-native evas-native ecore-native embryo-native eet-native edb-native imlib2-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/edje"
+
+EXTRA_OECONF = "--enable-fb-only"
+
+do_stage() {
+ for i in edje edje_ls edje_cc
+ do
+ install -m 0755 src/bin/$i ${STAGING_BINDIR}
+ done
+}
diff --git a/packages/edje/edje_cvs.bb b/packages/edje/edje_cvs.bb
index e69de29bb2..a426df9a79 100644
--- a/packages/edje/edje_cvs.bb
+++ b/packages/edje/edje_cvs.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "edje is a complex graphical design & layout library."
+DEPENDS = "freetype evas ecore embryo eet edb edje-native"
+LICENSE = "MIT"
+SECTION = "e/libs"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+PV = "${CVSDATE}"
+PR = "r4"
+
+SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/enlightenment;module=e17/libs/edje"
+S = "${WORKDIR}/edje"
+
+inherit autotools pkgconfig binconfig
+
+EXTRA_OECONF = "--disable-edje-cc \
+ --enable-fb-only"
+
+LEAD_SONAME = "libedje.so"
+
+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}/
+}
+
+PACKAGES += "edje-examples"
+
+FILES_${PN} = "${libdir}/libedje*.so*"
+FILES_${PN}-dev += "${bindir}/edje-config ${libdir}/pkgconfig"
+FILES_${PN}-examples = "${bindir}/edje ${bindir}/edje_ls ${datadir}"
+