1*4882a593SmuzhiyunSUMMARY = "Matchbox virtual keyboard for X11" 2*4882a593SmuzhiyunDESCRIPTION = "An on screen 'virtual' or 'software' keyboard." 3*4882a593SmuzhiyunHOMEPAGE = "http://matchbox-project.org" 4*4882a593SmuzhiyunBUGTRACKER = "http://bugzilla.yoctoproject.org/" 5*4882a593SmuzhiyunSECTION = "x11" 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunLICENSE = "LGPL-2.1-only" 8*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ 9*4882a593Smuzhiyun file://src/matchbox-keyboard.h;endline=17;md5=9d6586c69e4a926f3cb0b4425f24ba3c \ 10*4882a593Smuzhiyun file://applet/applet.c;endline=18;md5=4a0f721724746b14d95b51ddd42b95e7" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunDEPENDS = "libfakekey expat libxft" 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun#SRCREV for 0.1.1 15*4882a593SmuzhiyunSRCREV = "630d89068dc0a1e9199306d405cb32f892dfa4d3" 16*4882a593SmuzhiyunSRC_URI = "git://git.yoctoproject.org/${BPN};branch=matchbox-keyboard-0-1 \ 17*4882a593Smuzhiyun file://0001-desktop-file-Hide-the-keyboard-from-app-list.patch \ 18*4882a593Smuzhiyun file://80matchboxkeyboard.sh" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunS = "${WORKDIR}/git" 21*4882a593Smuzhiyun 22*4882a593Smuzhiyuninherit autotools pkgconfig gettext gtk-immodules-cache features_check 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun# The libxft, libfakekey and matchbox-panel-2 requires x11 in DISTRO_FEATURES 25*4882a593SmuzhiyunREQUIRED_DISTRO_FEATURES = "x11" 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunEXTRA_OECONF = "--disable-cairo" 28*4882a593Smuzhiyun 29*4882a593SmuzhiyunPACKAGECONFIG ??= "gtk3-im applet" 30*4882a593SmuzhiyunPACKAGECONFIG[applet] = "--enable-applet,--disable-applet,matchbox-panel-2" 31*4882a593SmuzhiyunPACKAGECONFIG[gtk2-im] = "--enable-gtk-im,--disable-gtk-im,gtk+" 32*4882a593SmuzhiyunPACKAGECONFIG[gtk3-im] = "--enable-gtk3-im,--disable-gtk3-im,gtk+3" 33*4882a593Smuzhiyun 34*4882a593SmuzhiyunPACKAGES += "${PN}-im ${PN}-applet" 35*4882a593Smuzhiyun 36*4882a593SmuzhiyunFILES:${PN} = "${bindir}/ \ 37*4882a593Smuzhiyun ${sysconfdir} \ 38*4882a593Smuzhiyun ${datadir}/applications \ 39*4882a593Smuzhiyun ${datadir}/pixmaps \ 40*4882a593Smuzhiyun ${datadir}/matchbox-keyboard" 41*4882a593Smuzhiyun 42*4882a593SmuzhiyunFILES:${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so \ 43*4882a593Smuzhiyun ${libdir}/gtk-3.0/*/immodules/*.so" 44*4882a593Smuzhiyun 45*4882a593SmuzhiyunFILES:${PN}-applet = "${libdir}/matchbox-panel/*.so" 46*4882a593Smuzhiyun 47*4882a593Smuzhiyun 48*4882a593Smuzhiyundo_install:append () { 49*4882a593Smuzhiyun install -d ${D}/${sysconfdir}/X11/Xsession.d/ 50*4882a593Smuzhiyun install -m 755 ${WORKDIR}/80matchboxkeyboard.sh ${D}/${sysconfdir}/X11/Xsession.d/ 51*4882a593Smuzhiyun 52*4882a593Smuzhiyun rm -f ${D}${libdir}/gtk-2.0/*/immodules/*.la 53*4882a593Smuzhiyun rm -f ${D}${libdir}/gtk-3.0/*/immodules/*.la 54*4882a593Smuzhiyun rm -f ${D}${libdir}/matchbox-panel/*.la 55*4882a593Smuzhiyun} 56*4882a593Smuzhiyun 57*4882a593SmuzhiyunGTKIMMODULES_PACKAGES = "${PN}-im" 58*4882a593Smuzhiyun 59*4882a593SmuzhiyunRDEPENDS:${PN} = "formfactor dbus-wait" 60*4882a593SmuzhiyunRRECOMMENDS:${PN} = "${PN}-applet" 61