diff options
| author | Robert Middleton <robert.middleton@brivo.com> | 2024-08-13 15:47:35 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-08-13 22:34:53 -0700 |
| commit | 5df4beeb75d8cc5e7a0b221c131debc77983c634 (patch) | |
| tree | 4def3dea1ed74dd25b75c81f0fa79842bd23df5e /meta-oe/recipes-core/dbus-cxx | |
| parent | 387529513771213f83c4f5c5280a0753656ddee4 (diff) | |
| download | meta-openembedded-5df4beeb75d8cc5e7a0b221c131debc77983c634.tar.gz | |
Upgrade dbus-cxx to 2.5.2
In addition, allow for other configuration options for dbus-cxx and split
into different packages.
SDK can now also be built with dbus-cxx tools, generally used to generate
C++ interface code from DBus introspection files. This required adding
cppgenerate in a new recipe for dependency purposes.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core/dbus-cxx')
| -rw-r--r-- | meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.1.bb | 25 | ||||
| -rw-r--r-- | meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb | 49 |
2 files changed, 49 insertions, 25 deletions
diff --git a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.1.bb b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.1.bb deleted file mode 100644 index e89d1327e8..0000000000 --- a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.1.bb +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | SUMMARY = "D-Bus wrapper in C++ for dbus" | ||
| 2 | HOMEPAGE = "https://dbus-cxx.github.io/" | ||
| 3 | BUGTRACKER = "https://github.com/libsigcplusplus/libsigcplusplus/issues" | ||
| 4 | SECTION = "base" | ||
| 5 | LICENSE = "LGPL-3.0-or-later | BSD-3-Clause" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https" | ||
| 9 | SRCREV = "732a5becb4349e02ffce407a3fd4d75cc3d82421" | ||
| 10 | |||
| 11 | DEPENDS = "\ | ||
| 12 | dbus \ | ||
| 13 | libsigc++-3 \ | ||
| 14 | " | ||
| 15 | |||
| 16 | RDEPENDS:${PN} = "\ | ||
| 17 | dbus \ | ||
| 18 | libsigc++-3 \ | ||
| 19 | " | ||
| 20 | |||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | |||
| 23 | inherit pkgconfig cmake | ||
| 24 | |||
| 25 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" | ||
diff --git a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb new file mode 100644 index 0000000000..fbe1e34751 --- /dev/null +++ b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 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 | |||
| 8 | SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https" | ||
| 9 | SRCREV = "f2637e726207ecfbdaaf02744e1b36e54f929c9d" | ||
| 10 | |||
| 11 | DEPENDS = "\ | ||
| 12 | dbus \ | ||
| 13 | libsigc++-3 \ | ||
| 14 | " | ||
| 15 | |||
| 16 | RDEPENDS:${PN} = "\ | ||
| 17 | dbus \ | ||
| 18 | libsigc++-3 \ | ||
| 19 | " | ||
| 20 | |||
| 21 | S = "${WORKDIR}/git" | ||
| 22 | |||
| 23 | inherit pkgconfig cmake | ||
| 24 | |||
| 25 | OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" | ||
| 26 | EXTRA_OECMAKE = "-DBUILD_TESTING=OFF -DTOOLS_BUNDLED_CPPGENERATE=OFF" | ||
| 27 | |||
| 28 | PACKAGECONFIG ??= "" | ||
| 29 | PACKAGECONFIG:class-native ?= "tools" | ||
| 30 | PACKAGECONFIG:class-nativesdk ?= "tools" | ||
| 31 | |||
| 32 | PACKAGECONFIG[tools] = "-DENABLE_TOOLS=ON,-DENABLE_TOOS=OFF,popt cppgenerate" | ||
| 33 | PACKAGECONFIG[glib] = "-DENABLE_GLIB_SUPPORT=ON,-DENABLE_GLIB_SUPPORT=OFF,glib-2.0" | ||
| 34 | PACKAGECONFIG[uv] = "-DENABLE_UV_SUPPORT=ON,-DENABLE_UV_SUPPORT=OFF,libuv" | ||
| 35 | |||
| 36 | PACKAGES =+ " ${PN}-tools ${PN}-glib ${PN}-uv ${PN}-glib-dev ${PN}-uv-dev " | ||
| 37 | FILES:${PN}-tools = "${bindir}/dbus-cxx-xml2cpp ${bindir}/dbus-cxx-introspect" | ||
| 38 | FILES:${PN}-glib = "${libdir}/libdbus-cxx-glib.so.* " | ||
| 39 | FILES:${PN}-glib-dev = "${includedir}/dbus-cxx-glib-2.0/* \ | ||
| 40 | ${libdir}/pkgconfig/dbus-cxx-glib-2.0.pc \ | ||
| 41 | ${libdir}/libdbus-cxx-glib.so \ | ||
| 42 | " | ||
| 43 | FILES:${PN}-uv = "${libdir}/libdbus-cxx-uv.so.* " | ||
| 44 | FILES:${PN}-uv-dev = "${includedir}/dbus-cxx-uv-2.0/* \ | ||
| 45 | ${libdir}/pkgconfig/dbus-cxx-uv-2.0.pc\ | ||
| 46 | ${libdir}/libdbus-cxx-uv.so \ | ||
| 47 | " | ||
| 48 | |||
| 49 | BBCLASSEXTEND="native nativesdk" | ||
