diff options
Diffstat (limited to 'meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb')
-rw-r--r-- | meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb b/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb index 4cea81a2ea..ac03f11e2d 100644 --- a/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb +++ b/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | DESCRIPTION = "Matchbox virtual keyboard for X11" | 1 | DESCRIPTION = "Matchbox virtual keyboard for X11" |
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | DEPENDS = "libfakekey expat libxft" | 3 | DEPENDS = "libfakekey expat libxft gtk+" |
4 | SECTION = "x11" | 4 | SECTION = "x11" |
5 | PV = "0.0+svn${SRCDATE}" | 5 | PV = "0.0+svn${SRCDATE}" |
6 | PR="r2" | 6 | PR="r3" |
7 | 7 | ||
8 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http" | 8 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http" |
9 | 9 | ||
@@ -12,9 +12,32 @@ S = "${WORKDIR}/${PN}" | |||
12 | 12 | ||
13 | inherit autotools pkgconfig gettext | 13 | inherit autotools pkgconfig gettext |
14 | 14 | ||
15 | EXTRA_OECONF = "--disable-cairo" | 15 | EXTRA_OECONF = "--disable-cairo --enable-gtk-im" |
16 | |||
17 | PACKAGES += "matchbox-keyboard-im matchbox-keyboard-im-dbg" | ||
16 | 18 | ||
17 | FILES_${PN} = "${bindir}/* \ | 19 | FILES_${PN} = "${bindir}/* \ |
18 | ${datadir}/applications \ | 20 | ${datadir}/applications \ |
19 | ${datadir}/pixmaps \ | 21 | ${datadir}/pixmaps \ |
20 | ${datadir}/matchbox-keyboard" | 22 | ${datadir}/matchbox-keyboard" |
23 | |||
24 | FILES_matchbox-keyboard-im = "${libdir}/gtk-2.0/*/immodules/*.so" | ||
25 | |||
26 | FILES_matchbox-keyboard-dbg = "${libdir}/gtk-2.0/*/immodules/.debug" | ||
27 | |||
28 | |||
29 | pkg_postinst_matchbox-keyboard-im () { | ||
30 | if [ "x$D" != "x" ]; then | ||
31 | exit 1 | ||
32 | fi | ||
33 | |||
34 | gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules | ||
35 | } | ||
36 | |||
37 | pkg_postrm_matchbox-keyboard-im () { | ||
38 | if [ "x$D" != "x" ]; then | ||
39 | exit 1 | ||
40 | fi | ||
41 | |||
42 | gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules | ||
43 | } | ||