Adding the recipe of mamona-input-methods.
authorRicardo Salveti <ricardo.salveti@openbossa.org>
Wed, 2 Jul 2008 13:02:29 +0000 (10:02 -0300)
committerRodrigo Vivi <rodrigo.vivi@openbossa.org>
Thu, 23 Oct 2008 20:47:13 +0000 (17:47 -0300)
At the moment mamona-input-methods has both ecore and gtk support,
but it's compiling just the ecore-im as we don't want it to compile
everything it needs to support gtk-im.

In the future, if we want or need, we can just modify the recipe
to compile the gtk-im, or create another recipe just for this.

conf/distro/include/sane-srcrevs.inc
packages/mamona/mamona-input-methods_git.bb [new file with mode: 0644]

index e1a98e7..3ee3b42 100644 (file)
@@ -86,6 +86,7 @@ SRCREV_pn-linux-openmoko-devel ?= "04f54c7001fb609e11ff4b2b4575c04188dbefef"
 SRCREV_pn-llvm-gcc4 ?= "374"
 SRCREV_pn-llvm-gcc4-cross ?= "374"
 SRCREV_pn-maemo-mapper ?= "118"
+SRCREV_pn-mamona_input_methods ?= "60dd3771e4cea8fc13ffc1910e0dacbb22c32993"
 SRCREV_pn-matchbox-desktop-2 ?= "1778"
 SRCREV_pn-matchbox-keyboard ?= "1910"
 SRCREV_pn-matchbox-keyboard-inputmethod ?= "1910"
diff --git a/packages/mamona/mamona-input-methods_git.bb b/packages/mamona/mamona-input-methods_git.bb
new file mode 100644 (file)
index 0000000..a051eee
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright (C) 2008 Instituto Nokia de Tecnologia
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "Mamona input methods"
+HOMEPAGE = "http://dev.openbossa.org/trac/mamona/wiki"
+LICENSE = "GPL"
+SECTION = "x11"
+DEPENDS = "ecore"
+PR = "r0"
+
+PV = "0.1+git"
+
+inherit autotools pkgconfig lib_package
+
+SRC_URI = "git://dev.openbossa.org/mamona/mamona_input_methods.git;protocol=http"
+
+S = "${WORKDIR}/git"
+
+PACKAGES += "\
+            ${PN}-im-ecore \
+            ${PN}-im-ecore-dev \
+            ${PN}-im-ecore-dbg \
+        "
+
+FILES_${PN}-im-ecore = "\
+            ${libdir}/ecore/immodules/mamona-im-ecore-module.so \
+        "
+FILES_${PN}-im-ecore-dev = "\
+            ${libdir}/ecore/immodules/mamona-im-ecore-module.la \
+            ${libdir}/ecore/immodules/mamona-im-ecore-module.a \
+        "
+FILES_${PN}-im-ecore-dbg = "\
+            ${libdir}/ecore/immodules/.debug \
+        "
+
+EXTRA_OECONF = "\
+            --enable-ecore-im \
+            "
+
+do_configure_prepend() {
+    ./autogen.sh
+}
+
+do_stage() {
+    autotools_stage_all
+}