M7350/oe-core/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb

54 lines
1.6 KiB
BlitzBasic
Raw Normal View History

2024-09-09 08:57:42 +00:00
SUMMARY = "Matchbox virtual keyboard for X11"
2024-09-09 08:52:07 +00:00
HOMEPAGE = "http://matchbox-project.org"
2024-09-09 08:57:42 +00:00
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
SECTION = "x11"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
file://src/matchbox-keyboard.h;endline=17;md5=9d6586c69e4a926f3cb0b4425f24ba3c \
file://applet/applet.c;endline=18;md5=4a0f721724746b14d95b51ddd42b95e7"
2024-09-09 08:52:07 +00:00
DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2"
2024-09-09 08:57:42 +00:00
SRCREV = "217f1bfe14c41cf7e291d04a63aa2d79cc13d063"
2024-09-09 08:52:07 +00:00
PV = "0.0+git${SRCPV}"
2024-09-09 08:57:42 +00:00
PR = "r4"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
SRC_URI = "git://git.yoctoproject.org/${BPN};branch=matchbox-keyboard-0-1 \
2024-09-09 08:52:07 +00:00
file://single-instance.patch \
2024-09-09 08:57:42 +00:00
file://80matchboxkeyboard.sh"
2024-09-09 08:52:07 +00:00
S = "${WORKDIR}/git"
2024-09-09 08:57:42 +00:00
inherit autotools pkgconfig gettext gtk-immodules-cache
2024-09-09 08:52:07 +00:00
EXTRA_OECONF = "--disable-cairo --enable-gtk-im --enable-applet"
2024-09-09 08:57:42 +00:00
PACKAGES += "${PN}-im ${PN}-applet"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
FILES_${PN} = "${bindir}/ \
2024-09-09 08:52:07 +00:00
${sysconfdir} \
${datadir}/applications \
${datadir}/pixmaps \
${datadir}/matchbox-keyboard"
2024-09-09 08:57:42 +00:00
FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/immodules/.debug"
FILES_${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so"
FILES_${PN}-applet = "${libdir}/matchbox-panel/*.so"
2024-09-09 08:52:07 +00:00
do_install_append () {
install -d ${D}/${sysconfdir}/X11/Xsession.d/
2024-09-09 08:57:42 +00:00
install -m 755 ${WORKDIR}/80matchboxkeyboard.sh ${D}/${sysconfdir}/X11/Xsession.d/
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
rm -f ${D}${libdir}/gtk-2.0/*/immodules/*.la
rm -f ${D}${libdir}/matchbox-panel/*.la
2024-09-09 08:52:07 +00:00
}
2024-09-09 08:57:42 +00:00
GTKIMMODULES_PACKAGES = "${PN}-im"
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
RDEPENDS_${PN} = "formfactor dbus-wait"
RRECOMMENDS_${PN} = "${PN}-applet"