1 DESCRIPTION = "Matchbox virtual keyboard for X11"
3 DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2"
4 RCONFLICTS_${PN} = "matchbox-keyboard"
5 RPROVIDES_${PN} = "matchbox-keyboard"
7 PV = "0.0+svnr${SRCPV}"
10 SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-keyboard;proto=http \
11 file://smallscreen-fontsize.patch;patch=1 \
12 file://2-Add-new-modifier--layout--Used-to-cycle-thru-all-available-layouts.patch;patch=1 \
13 file://3-Changes-to-improve-layout-rendering--especially-after-adding-support-for.patch;patch=1 \
14 file://4-Add-rendering-debug-logging.patch;patch=1 \
15 file://5-Add-support-for-loading-multiple-independent-layouts.patch;patch=1 \
16 file://6-Add-layout-switch-key-to-all-layouts.patch;patch=1 \
17 file://80matchboxkeyboard"
19 SRC_URI_append_om-gta01 = " file://fic-gta01-font-size.patch;patch=1"
20 SRC_URI_append_om-gta02 = " file://fic-gta01-font-size.patch;patch=1"
22 S = "${WORKDIR}/matchbox-keyboard"
24 inherit autotools pkgconfig gettext
26 EXTRA_OECONF = "--disable-cairo --enable-gtk-im --enable-applet"
28 PACKAGES += "matchbox-keyboard-im matchbox-keyboard-im-dbg \
29 matchbox-keyboard-applet matchbox-keyboard-applet-dbg"
31 FILES_${PN} = "${bindir}/* \
33 ${datadir}/applications \
35 ${datadir}/matchbox-keyboard"
37 FILES_matchbox-keyboard-im = "${libdir}/gtk-2.0/*/immodules/*.so"
38 FILES_matchbox-keyboard-im-dbg += "${libdir}/gtk-2.0/*/immodules/.debug"
40 FILES_matchbox-keyboard-applet = "${libdir}/matchbox-panel/*.so"
41 FILES_matchbox-keyboard-applet-dbg += "${libdir}/matchbox-panel/.debug"
43 do_install_append () {
44 install -d ${D}/${sysconfdir}/X11/Xsession.d/
45 install -m 755 ${WORKDIR}/80matchboxkeyboard ${D}/${sysconfdir}/X11/Xsession.d/
48 pkg_postinst_matchbox-keyboard-im () {
49 if [ "x$D" != "x" ]; then
53 gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
56 pkg_postrm_matchbox-keyboard-im () {
57 if [ "x$D" != "x" ]; then
61 gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules