dbus-cxx_2.5.2.bb 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. SUMMARY = "D-Bus implementation in C++"
  2. HOMEPAGE = "https://dbus-cxx.github.io/"
  3. BUGTRACKER = "https://github.com/dbus-cxx/dbus-cxx/issues"
  4. SECTION = "base"
  5. LICENSE = "LGPL-3.0-or-later | BSD-3-Clause"
  6. LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308"
  7. SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https"
  8. SRCREV = "f2637e726207ecfbdaaf02744e1b36e54f929c9d"
  9. DEPENDS = "\
  10. dbus \
  11. libsigc++-3 \
  12. "
  13. RDEPENDS:${PN} = "\
  14. dbus \
  15. libsigc++-3 \
  16. "
  17. S = "${WORKDIR}/git"
  18. inherit pkgconfig cmake
  19. OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
  20. EXTRA_OECMAKE = "-DBUILD_TESTING=OFF -DTOOLS_BUNDLED_CPPGENERATE=OFF"
  21. PACKAGECONFIG ??= ""
  22. PACKAGECONFIG:class-native ?= "tools"
  23. PACKAGECONFIG:class-nativesdk ?= "tools"
  24. PACKAGECONFIG[tools] = "-DENABLE_TOOLS=ON,-DENABLE_TOOLS=OFF,popt cppgenerate"
  25. PACKAGECONFIG[glib] = "-DENABLE_GLIB_SUPPORT=ON,-DENABLE_GLIB_SUPPORT=OFF,glib-2.0"
  26. PACKAGECONFIG[uv] = "-DENABLE_UV_SUPPORT=ON,-DENABLE_UV_SUPPORT=OFF,libuv"
  27. PACKAGES =+ " ${PN}-tools ${PN}-glib ${PN}-uv ${PN}-glib-dev ${PN}-uv-dev "
  28. FILES:${PN}-tools = "${bindir}/dbus-cxx-xml2cpp ${bindir}/dbus-cxx-introspect"
  29. FILES:${PN}-glib = "${libdir}/libdbus-cxx-glib.so.* "
  30. FILES:${PN}-glib-dev = "${includedir}/dbus-cxx-glib-2.0/* \
  31. ${libdir}/pkgconfig/dbus-cxx-glib-2.0.pc \
  32. ${libdir}/libdbus-cxx-glib.so \
  33. "
  34. FILES:${PN}-uv = "${libdir}/libdbus-cxx-uv.so.* "
  35. FILES:${PN}-uv-dev = "${includedir}/dbus-cxx-uv-2.0/* \
  36. ${libdir}/pkgconfig/dbus-cxx-uv-2.0.pc\
  37. ${libdir}/libdbus-cxx-uv.so \
  38. "
  39. BBCLASSEXTEND = "native nativesdk"