Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Matchbox virtual keyboard for X11" |
| 2 | HOMEPAGE = "http://matchbox-project.org" |
| 3 | BUGTRACKER = "http://bugzilla.yoctoproject.org/" |
| 4 | SECTION = "x11" |
| 5 | |
| 6 | LICENSE = "LGPLv2.1" |
| 7 | LIC_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 | |
| 11 | DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2" |
| 12 | |
| 13 | SRCREV = "217f1bfe14c41cf7e291d04a63aa2d79cc13d063" |
| 14 | PV = "0.0+git${SRCPV}" |
| 15 | PR = "r4" |
| 16 | |
| 17 | SRC_URI = "git://git.yoctoproject.org/${BPN};branch=matchbox-keyboard-0-1 \ |
| 18 | file://single-instance.patch \ |
| 19 | file://80matchboxkeyboard.sh" |
| 20 | |
| 21 | S = "${WORKDIR}/git" |
| 22 | |
| 23 | inherit autotools pkgconfig gettext gtk-immodules-cache distro_features_check |
| 24 | |
| 25 | # The libxft, libfakekey and matchbox-panel-2 requires x11 in DISTRO_FEATURES |
| 26 | REQUIRED_DISTRO_FEATURES = "x11" |
| 27 | |
| 28 | EXTRA_OECONF = "--disable-cairo --enable-gtk-im --enable-applet" |
| 29 | |
| 30 | PACKAGES += "${PN}-im ${PN}-applet" |
| 31 | |
| 32 | FILES_${PN} = "${bindir}/ \ |
| 33 | ${sysconfdir} \ |
| 34 | ${datadir}/applications \ |
| 35 | ${datadir}/pixmaps \ |
| 36 | ${datadir}/matchbox-keyboard" |
| 37 | |
| 38 | FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/immodules/.debug" |
| 39 | |
| 40 | FILES_${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so" |
| 41 | |
| 42 | FILES_${PN}-applet = "${libdir}/matchbox-panel/*.so" |
| 43 | |
| 44 | |
| 45 | do_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 | |
| 53 | GTKIMMODULES_PACKAGES = "${PN}-im" |
| 54 | |
| 55 | RDEPENDS_${PN} = "formfactor dbus-wait" |
| 56 | RRECOMMENDS_${PN} = "${PN}-applet" |