illume: Add raster's illume module. This is based on his recipe but removed the sed...
authorHolger Freyther <zecke@selfish.org>
Tue, 11 Mar 2008 10:51:14 +0000 (10:51 +0000)
committerHolger Freyther <zecke@selfish.org>
Tue, 11 Mar 2008 10:51:14 +0000 (10:51 +0000)
packages/openmoko-projects/illume/.mtn2git_empty [new file with mode: 0644]
packages/openmoko-projects/illume/include-path.diff [new file with mode: 0644]
packages/openmoko-projects/illume_svn.bb [new file with mode: 0644]

diff --git a/packages/openmoko-projects/illume/.mtn2git_empty b/packages/openmoko-projects/illume/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/openmoko-projects/illume/include-path.diff b/packages/openmoko-projects/illume/include-path.diff
new file mode 100644 (file)
index 0000000..0b5ed8a
--- /dev/null
@@ -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 (file)
index 0000000..f7dec16
--- /dev/null
@@ -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
+}