summaryrefslogtreecommitdiff
path: root/packages/openmoko-projects
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openmoko-projects')
-rw-r--r--packages/openmoko-projects/illume/.mtn2git_empty0
-rw-r--r--packages/openmoko-projects/illume/include-path.diff16
-rw-r--r--packages/openmoko-projects/illume_svn.bb26
3 files changed, 42 insertions, 0 deletions
diff --git a/packages/openmoko-projects/illume/.mtn2git_empty b/packages/openmoko-projects/illume/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/openmoko-projects/illume/.mtn2git_empty
diff --git a/packages/openmoko-projects/illume/include-path.diff b/packages/openmoko-projects/illume/include-path.diff
new file mode 100644
index 0000000000..0b5ed8add8
--- /dev/null
+++ b/packages/openmoko-projects/illume/include-path.diff
@@ -0,0 +1,16 @@
+Include path fixes for Illume:
+
+$(includedir) is pointing to /usr/include, we do not want to have this when compiling
+
+Index: src/Makefile.am
+===================================================================
+--- a/src/Makefile.am (Revision 12)
++++ b/src/Makefile.am (Arbeitskopie)
+@@ -3,7 +3,6 @@
+
+ INCLUDES = -I. \
+ -I$(top_srcdir) \
+- -I$(includedir) \
+ @e_cflags@
+
+ pkgdir = $(datadir)/$(MODULE_ARCH)
diff --git a/packages/openmoko-projects/illume_svn.bb b/packages/openmoko-projects/illume_svn.bb
new file mode 100644
index 0000000000..f7dec16890
--- /dev/null
+++ b/packages/openmoko-projects/illume_svn.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Illume - Mobile UI module for Enlightenment"
+DEPENDS = "e-wm eet evas ecore edje embryo efreet edbus edje-native embryo-native"
+LICENSE = "MIT BSD"
+PV = "svnr${SRCREV}"
+PR = "r1"
+
+inherit e
+
+SRC_URI = "svn://svn.projects.openmoko.org/svnroot/;module=${PN};proto=https \
+ file://include-path.diff;patch=1"
+S = "${WORKDIR}/${PN}"
+
+EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
+ --x-libraries=${STAGING_LIBDIR} \
+ --enable-simple-x11 \
+ --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"
+
+FILES_${PN} = "${libdir}/enlightenment/modules/*/*.edj ${libdir}/enlightenment/modules/*/*.desktop ${libdir}/enlightenment/modules/*/*/*"
+FILES_${PN}-dbg += "${libdir}/enlightenment/modules/*/*/.debug/"
+
+do_install_append() {
+ for I in `find ${STAGING_LIBDIR}/enlightenment -name "*.la" -print`; do rm -f $I; done
+ for I in `find ${STAGING_LIBDIR}/enlightenment -name "*.a" -print`; do rm -f $I; done
+ for I in `find ${STAGING_LIBDIR_CROSS}/enlightenment -name "*.la" -print`; do rm -f $I; done
+ for I in `find ${STAGING_LIBDIR_CROSS}/enlightenment -name "*.a" -print`; do rm -f $I; done
+}