blob: 0d321d3992e3792edef2ba95aef739b9a5692ed0 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Matchbox virtual keyboard for X11"
2HOMEPAGE = "http://matchbox-project.org"
3BUGTRACKER = "http://bugzilla.yoctoproject.org/"
4SECTION = "x11"
5
6LICENSE = "LGPLv2.1"
7LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
8 file://src/matchbox-keyboard.h;endline=17;md5=9d6586c69e4a926f3cb0b4425f24ba3c \
9 file://applet/applet.c;endline=18;md5=4a0f721724746b14d95b51ddd42b95e7"
10
11DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2"
12
13SRCREV = "217f1bfe14c41cf7e291d04a63aa2d79cc13d063"
14PV = "0.0+git${SRCPV}"
15PR = "r4"
16
17SRC_URI = "git://git.yoctoproject.org/${BPN};branch=matchbox-keyboard-0-1 \
18 file://single-instance.patch \
19 file://80matchboxkeyboard.sh"
20
21S = "${WORKDIR}/git"
22
23inherit autotools pkgconfig gettext gtk-immodules-cache distro_features_check
24
25# The libxft, libfakekey and matchbox-panel-2 requires x11 in DISTRO_FEATURES
26REQUIRED_DISTRO_FEATURES = "x11"
27
28EXTRA_OECONF = "--disable-cairo --enable-gtk-im --enable-applet"
29
30PACKAGES += "${PN}-im ${PN}-applet"
31
32FILES_${PN} = "${bindir}/ \
33 ${sysconfdir} \
34 ${datadir}/applications \
35 ${datadir}/pixmaps \
36 ${datadir}/matchbox-keyboard"
37
38FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/immodules/.debug"
39
40FILES_${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so"
41
42FILES_${PN}-applet = "${libdir}/matchbox-panel/*.so"
43
44
45do_install_append () {
46 install -d ${D}/${sysconfdir}/X11/Xsession.d/
47 install -m 755 ${WORKDIR}/80matchboxkeyboard.sh ${D}/${sysconfdir}/X11/Xsession.d/
48
49 rm -f ${D}${libdir}/gtk-2.0/*/immodules/*.la
50 rm -f ${D}${libdir}/matchbox-panel/*.la
51}
52
53GTKIMMODULES_PACKAGES = "${PN}-im"
54
55RDEPENDS_${PN} = "formfactor dbus-wait"
56RRECOMMENDS_${PN} = "${PN}-applet"