1 # Copyright
(C
) 2008 Instituto Nokia de Tecnologia
2 # Released under the MIT license
(see COPYING.MIT
for the terms
)
4 DESCRIPTION
= "Mamona input methods"
5 HOMEPAGE
= "http://dev.openbossa.org/trac/mamona/wiki"
6 SECTION
= "libs/inputmethods"
9 RPROVIDES_$
{PN
} = "libmamona-im0"
10 RPROVIDES_$
{PN
}-ecore
= "libmamona-im-ecore"
11 RPROVIDES_$
{PN
}-gtk
= "libmamona-im-gtk"
12 SRCREV
= "4a8f11973021b8b4f157f5743e00f9f9a3c4802b"
13 PV
= "0.1-${PR}+gitr${SRCREV}"
17 SRC_URI
= "git://dev.openbossa.org/mamona/projects/mamona_input_methods.git;protocol=http"
21 inherit autotools pkgconfig lib_package
28 do_configure_prepend
() {
45 FILES_$
{PN
}-ecore
= "\
46 ${libdir}/ecore/immodules/mamona-im-ecore-module.so \
48 FILES_$
{PN
}-ecore
-dev
= "\
49 ${libdir}/ecore/immodules/mamona-im-ecore-module.la \
50 ${libdir}/ecore/immodules/mamona-im-ecore-module.a \
52 FILES_$
{PN
}-ecore
-dbg
= "\
53 ${libdir}/ecore/immodules/.debug \
56 ${libdir}/gtk-2.0/*/immodules/mamona-im-gtk-module.so \
58 FILES_$
{PN
}-gtk
-dev
= "\
59 ${libdir}/gtk-2.0/*/immodules/mamona-im-gtk-module.la \
60 ${libdir}/gtk-2.0/*/immodules/mamona-im-gtk-module.a \
62 FILES_$
{PN
}-gtk
-dbg
= "\
63 ${libdir}/gtk-2.0/*/immodules/.debug \
66 pkg_postinst_$
{PN
}-gtk
() {
67 gtk
-query
-immodules
-2.0 > $
{sysconfdir
}/gtk
-2.0/gtk.immodules
69 pkg_postrm_$
{PN
}-gtk
() {
70 gtk
-query
-immodules
-2.0 > $
{sysconfdir
}/gtk
-2.0/gtk.immodules