diff options
author | Ricardo Salveti de Araujo <ricardo.salveti@openbossa.org> | 2009-11-23 08:06:25 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-24 04:25:08 +0100 |
commit | 50afe2c7077a4181823465a1866355ef264c8818 (patch) | |
tree | 77041be77fbc65f272ab80a8ee93fb71d572c36c /recipes/mamona | |
parent | 848dec5a7e12bb7a5f3b53bc717b4796b6da01d0 (diff) |
mamona-input-methods-git: bumping rev, fixing PV and using oe-stylize
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@openbossa.org>
Diffstat (limited to 'recipes/mamona')
-rw-r--r-- | recipes/mamona/mamona-input-methods_git.bb | 58 |
1 files changed, 25 insertions, 33 deletions
diff --git a/recipes/mamona/mamona-input-methods_git.bb b/recipes/mamona/mamona-input-methods_git.bb index ca894534d9..6b82697e1b 100644 --- a/recipes/mamona/mamona-input-methods_git.bb +++ b/recipes/mamona/mamona-input-methods_git.bb @@ -3,21 +3,30 @@ DESCRIPTION = "Mamona input methods" HOMEPAGE = "http://dev.openbossa.org/trac/mamona/wiki" -LICENSE = "GPL" SECTION = "libs/inputmethods" +LICENSE = "GPL" DEPENDS = "ecore gtk+" -PR = "r4" - -PV = "0.1+git" - -inherit autotools pkgconfig lib_package +RPROVIDES_${PN} = "libmamona-im0" +RPROVIDES_${PN}-ecore = "libmamona-im-ecore" +RPROVIDES_${PN}-gtk = "libmamona-im-gtk" +PV = "0.1-${PR}+gitr${SRCREV}" +PR = "r5" +PE = "1" SRC_URI = "git://dev.openbossa.org/mamona/projects/mamona_input_methods.git;protocol=http" S = "${WORKDIR}/git" -# Mamona IM -RPROVIDES_${PN} = "libmamona-im0" +inherit autotools_stage pkgconfig lib_package + +EXTRA_OECONF = "\ + --enable-ecore-im \ + --enable-gtk-im \ + " + +do_configure_prepend() { + ./autogen.sh +} # Ecore PACKAGES += "\ @@ -25,10 +34,13 @@ PACKAGES += "\ ${PN}-ecore-dev \ ${PN}-ecore-dbg \ " -RPROVIDES_${PN}-ecore = "libmamona-im-ecore" -EXTRA_OECONF = "\ - --enable-ecore-im \ +# GTK +PACKAGES += "\ + ${PN}-gtk \ + ${PN}-gtk-dev \ + ${PN}-gtk-dbg \ " + FILES_${PN}-ecore = "\ ${libdir}/ecore/immodules/mamona-im-ecore-module.so \ " @@ -39,17 +51,6 @@ FILES_${PN}-ecore-dev = "\ FILES_${PN}-ecore-dbg = "\ ${libdir}/ecore/immodules/.debug \ " - -# GTK -PACKAGES += "\ - ${PN}-gtk \ - ${PN}-gtk-dev \ - ${PN}-gtk-dbg \ - " -RPROVIDES_${PN}-gtk = "libmamona-im-gtk" -EXTRA_OECONF += "\ - --enable-gtk-im \ - " FILES_${PN}-gtk = "\ ${libdir}/gtk-2.0/*/immodules/mamona-im-gtk-module.so \ " @@ -61,18 +62,9 @@ FILES_${PN}-gtk-dbg = "\ ${libdir}/gtk-2.0/*/immodules/.debug \ " -do_configure_prepend() { - ./autogen.sh -} - -do_stage() { - autotools_stage_all -} - pkg_postinst_${PN}-gtk() { - gtk-query-immodules-2.0 > ${sysconfdir}/gtk-2.0/gtk.immodules + gtk-query-immodules-2.0 > ${sysconfdir}/gtk-2.0/gtk.immodules } - pkg_postrm_${PN}-gtk() { - gtk-query-immodules-2.0 > ${sysconfdir}/gtk-2.0/gtk.immodules + gtk-query-immodules-2.0 > ${sysconfdir}/gtk-2.0/gtk.immodules } |