Advertisement
hugh_1977

matchbox-keyboard_git.bb fixes yocto error for .so files

Sep 6th, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. DESCRIPTION = "Matchbox virtual keyboard for X11"
  2. HOMEPAGE = "http://matchbox-project.org"
  3. BUGTRACKER = "http://bugzilla.openedhand.com/"
  4. SECTION = "x11"
  5.  
  6. LICENSE = "GPLv2+"
  7. LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
  8. file://src/matchbox-keyboard.h;endline=20;md5=d12cc878e2a99870458c83c61714d99e \
  9. file://applet/applet.c;endline=20;md5=16d84e4d1572415c1295d37ca6d05dd4"
  10.  
  11. DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2"
  12.  
  13. SRCREV = "b38f24036cff3be6c2fbcf9ca9881803e69003ac"
  14. PV = "0.0+git${SRCPV}"
  15. PR = "r4"
  16.  
  17. SRC_URI = "git://git.yoctoproject.org/${BPN} \
  18. file://configure_fix.patch;maxrev=1819 \
  19. file://single-instance.patch \
  20. file://80matchboxkeyboard.shbg"
  21.  
  22. S = "${WORKDIR}/git"
  23.  
  24. inherit autotools pkgconfig gettext gtk-immodules-cache
  25.  
  26. EXTRA_OECONF = "--disable-cairo --enable-gtk-im --enable-applet"
  27.  
  28. PACKAGES += "${PN}-im ${PN}-applet"
  29.  
  30. FILES_${PN} = "${bindir}/ \
  31. ${sysconfdir} \
  32. ${datadir}/applications \
  33. ${datadir}/pixmaps \
  34. ${datadir}/matchbox-keyboard"
  35.  
  36. FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/immodules/.debug"
  37.  
  38. FILES_${PN} += "${libdir}/libmatchbox-keyboard.so.0.0.0"
  39.  
  40. FILES_${PN} += "${libdir}/libmatchbox-keyboard.so.0"
  41.  
  42. FILES_${PN}-im += "${libdir}/gtk-2.0/*/immodules/*.so"
  43.  
  44. FILES_${PN}-applet += "${libdir}/matchbox-panel/*.so"
  45.  
  46. do_install_append () {
  47. install -d ${D}/${sysconfdir}/X11/Xsession.d/
  48. install -m 755 ${WORKDIR}/80matchboxkeyboard.shbg ${D}/${sysconfdir}/X11/Xsession.d/
  49.  
  50. rm -f ${D}${libdir}/gtk-2.0/*/immodules/*.la
  51. rm -f ${D}${libdir}/matchbox-panel/*.la
  52. }
  53.  
  54. GTKIMMODULES_PACKAGES = "${PN}-im"
  55.  
  56. RDEPENDS_${PN} = "formfactor dbus-wait"
  57. RRECOMMENDS_${PN} = "${PN}-applet"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement