summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/dbus-cxx
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-core/dbus-cxx')
-rw-r--r--meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.1.bb25
-rw-r--r--meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb42
2 files changed, 42 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 @@
1SUMMARY = "D-Bus wrapper in C++ for dbus"
2HOMEPAGE = "https://dbus-cxx.github.io/"
3BUGTRACKER = "https://github.com/libsigcplusplus/libsigcplusplus/issues"
4SECTION = "base"
5LICENSE = "LGPL-3.0-or-later | BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308"
7
8SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https"
9SRCREV = "732a5becb4349e02ffce407a3fd4d75cc3d82421"
10
11DEPENDS = "\
12 dbus \
13 libsigc++-3 \
14"
15
16RDEPENDS:${PN} = "\
17 dbus \
18 libsigc++-3 \
19"
20
21S = "${WORKDIR}/git"
22
23inherit pkgconfig cmake
24
25OECMAKE_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..0908409e1e
--- /dev/null
+++ b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb
@@ -0,0 +1,42 @@
1SUMMARY = "D-Bus implementation in C++"
2HOMEPAGE = "https://dbus-cxx.github.io/"
3BUGTRACKER = "https://github.com/dbus-cxx/dbus-cxx/issues"
4SECTION = "base"
5LICENSE = "LGPL-3.0-or-later | BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308"
7
8SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https"
9SRCREV = "f2637e726207ecfbdaaf02744e1b36e54f929c9d"
10
11DEPENDS = "libsigc++-3"
12
13RDEPENDS:${PN}:class-target = "${VIRTUAL-RUNTIME_dbus}"
14
15
16inherit pkgconfig cmake
17
18OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
19EXTRA_OECMAKE = "-DBUILD_TESTING=OFF -DTOOLS_BUNDLED_CPPGENERATE=OFF"
20
21PACKAGECONFIG ??= ""
22PACKAGECONFIG:class-native ?= "tools"
23PACKAGECONFIG:class-nativesdk ?= "tools"
24
25PACKAGECONFIG[tools] = "-DENABLE_TOOLS=ON,-DENABLE_TOOLS=OFF,popt cppgenerate dbus"
26PACKAGECONFIG[glib] = "-DENABLE_GLIB_SUPPORT=ON,-DENABLE_GLIB_SUPPORT=OFF,glib-2.0"
27PACKAGECONFIG[uv] = "-DENABLE_UV_SUPPORT=ON,-DENABLE_UV_SUPPORT=OFF,libuv"
28
29PACKAGES =+ " ${PN}-tools ${PN}-glib ${PN}-uv ${PN}-glib-dev ${PN}-uv-dev "
30FILES:${PN}-tools = "${bindir}/dbus-cxx-xml2cpp ${bindir}/dbus-cxx-introspect"
31FILES:${PN}-glib = "${libdir}/libdbus-cxx-glib.so.* "
32FILES:${PN}-glib-dev = "${includedir}/dbus-cxx-glib-2.0/* \
33 ${libdir}/pkgconfig/dbus-cxx-glib-2.0.pc \
34 ${libdir}/libdbus-cxx-glib.so \
35 "
36FILES:${PN}-uv = "${libdir}/libdbus-cxx-uv.so.* "
37FILES:${PN}-uv-dev = "${includedir}/dbus-cxx-uv-2.0/* \
38 ${libdir}/pkgconfig/dbus-cxx-uv-2.0.pc\
39 ${libdir}/libdbus-cxx-uv.so \
40 "
41
42BBCLASSEXTEND = "native nativesdk"