diff options
author | Ricardo Salveti <ricardo.salveti@openbossa.org> | 2008-07-15 15:54:33 -0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@openbossa.org> | 2008-10-23 17:53:53 -0300 |
commit | 6097a62dc56b0473a633324700d42fb2307c5322 (patch) | |
tree | e743cd9c56dbea34435bbbae3464cc0cf8fcc8a4 /packages | |
parent | b437e681a4b5f6cd4eb83d778346a2b05a476c2f (diff) |
Adding libmamona-im-gtk package in mamona-input-methods' recipe.
Mamona-input-method already has the gtk input method, but we were
not building it at the recipe.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/mamona/mamona-input-methods_git.bb | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/packages/mamona/mamona-input-methods_git.bb b/packages/mamona/mamona-input-methods_git.bb index bbc9373cb7..ca894534d9 100644 --- a/packages/mamona/mamona-input-methods_git.bb +++ b/packages/mamona/mamona-input-methods_git.bb @@ -5,8 +5,8 @@ DESCRIPTION = "Mamona input methods" HOMEPAGE = "http://dev.openbossa.org/trac/mamona/wiki" LICENSE = "GPL" SECTION = "libs/inputmethods" -DEPENDS = "ecore" -PR = "r3" +DEPENDS = "ecore gtk+" +PR = "r4" PV = "0.1+git" @@ -40,6 +40,27 @@ 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 \ + " +FILES_${PN}-gtk-dev = "\ + ${libdir}/gtk-2.0/*/immodules/mamona-im-gtk-module.la \ + ${libdir}/gtk-2.0/*/immodules/mamona-im-gtk-module.a \ + " +FILES_${PN}-gtk-dbg = "\ + ${libdir}/gtk-2.0/*/immodules/.debug \ + " + do_configure_prepend() { ./autogen.sh } @@ -47,3 +68,11 @@ do_configure_prepend() { do_stage() { autotools_stage_all } + +pkg_postinst_${PN}-gtk() { + 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 +} |