dbus-glib_0.110.bb 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. SUMMARY = "High level language (GLib) binding for D-Bus"
  2. DESCRIPTION = "GLib bindings for the D-Bus message bus that integrate \
  3. the D-Bus library with the GLib thread abstraction and main loop."
  4. HOMEPAGE = "https://www.freedesktop.org/Software/dbus"
  5. LICENSE = "AFL-2.1 | GPLv2+"
  6. LIC_FILES_CHKSUM = "file://COPYING;md5=cf5b3a2f7083750d504333114e738656 \
  7. file://dbus/dbus-glib.h;beginline=7;endline=21;md5=7755c9d7abccd5dbd25a6a974538bb3c"
  8. SECTION = "base"
  9. DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus"
  10. DEPENDS_class-native = "glib-2.0-native dbus-native"
  11. SRC_URI = "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \
  12. file://no-examples.patch \
  13. file://test-install-makefile.patch \
  14. "
  15. SRC_URI[md5sum] = "d7cebf1d69445cbd28b4983392145192"
  16. SRC_URI[sha256sum] = "7ce4760cf66c69148f6bd6c92feaabb8812dee30846b24cd0f7395c436d7e825"
  17. inherit autotools pkgconfig gettext bash-completion gtk-doc
  18. #default disable regression tests, some unit test code in non testing code
  19. #PACKAGECONFIG_pn-${PN} = "tests" enable regression tests local.conf
  20. PACKAGECONFIG ??= ""
  21. PACKAGECONFIG[tests] = "--enable-tests,,,"
  22. EXTRA_OECONF_class-target = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool"
  23. PACKAGES += "${PN}-tests"
  24. FILES_${PN} = "${libdir}/lib*${SOLIBS}"
  25. FILES_${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper"
  26. FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
  27. FILES_${PN}-dev += "${bindir}/dbus-binding-tool"
  28. RDEPENDS_${PN}-tests += "dbus-x11"
  29. FILES_${PN}-tests = "${datadir}/${BPN}/tests"
  30. BBCLASSEXTEND = "native"