mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
committed by
Khem Raj
parent
3875295137
commit
5df4beeb75
@@ -1,25 +0,0 @@
|
|||||||
SUMMARY = "D-Bus wrapper in C++ for dbus"
|
|
||||||
HOMEPAGE = "https://dbus-cxx.github.io/"
|
|
||||||
BUGTRACKER = "https://github.com/libsigcplusplus/libsigcplusplus/issues"
|
|
||||||
SECTION = "base"
|
|
||||||
LICENSE = "LGPL-3.0-or-later | BSD-3-Clause"
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308"
|
|
||||||
|
|
||||||
SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https"
|
|
||||||
SRCREV = "732a5becb4349e02ffce407a3fd4d75cc3d82421"
|
|
||||||
|
|
||||||
DEPENDS = "\
|
|
||||||
dbus \
|
|
||||||
libsigc++-3 \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS:${PN} = "\
|
|
||||||
dbus \
|
|
||||||
libsigc++-3 \
|
|
||||||
"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
|
||||||
|
|
||||||
inherit pkgconfig cmake
|
|
||||||
|
|
||||||
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
|
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
SUMMARY = "D-Bus implementation in C++"
|
||||||
|
HOMEPAGE = "https://dbus-cxx.github.io/"
|
||||||
|
BUGTRACKER = "https://github.com/dbus-cxx/dbus-cxx/issues"
|
||||||
|
SECTION = "base"
|
||||||
|
LICENSE = "LGPL-3.0-or-later | BSD-3-Clause"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https"
|
||||||
|
SRCREV = "f2637e726207ecfbdaaf02744e1b36e54f929c9d"
|
||||||
|
|
||||||
|
DEPENDS = "\
|
||||||
|
dbus \
|
||||||
|
libsigc++-3 \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS:${PN} = "\
|
||||||
|
dbus \
|
||||||
|
libsigc++-3 \
|
||||||
|
"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
inherit pkgconfig cmake
|
||||||
|
|
||||||
|
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
|
||||||
|
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF -DTOOLS_BUNDLED_CPPGENERATE=OFF"
|
||||||
|
|
||||||
|
PACKAGECONFIG ??= ""
|
||||||
|
PACKAGECONFIG:class-native ?= "tools"
|
||||||
|
PACKAGECONFIG:class-nativesdk ?= "tools"
|
||||||
|
|
||||||
|
PACKAGECONFIG[tools] = "-DENABLE_TOOLS=ON,-DENABLE_TOOS=OFF,popt cppgenerate"
|
||||||
|
PACKAGECONFIG[glib] = "-DENABLE_GLIB_SUPPORT=ON,-DENABLE_GLIB_SUPPORT=OFF,glib-2.0"
|
||||||
|
PACKAGECONFIG[uv] = "-DENABLE_UV_SUPPORT=ON,-DENABLE_UV_SUPPORT=OFF,libuv"
|
||||||
|
|
||||||
|
PACKAGES =+ " ${PN}-tools ${PN}-glib ${PN}-uv ${PN}-glib-dev ${PN}-uv-dev "
|
||||||
|
FILES:${PN}-tools = "${bindir}/dbus-cxx-xml2cpp ${bindir}/dbus-cxx-introspect"
|
||||||
|
FILES:${PN}-glib = "${libdir}/libdbus-cxx-glib.so.* "
|
||||||
|
FILES:${PN}-glib-dev = "${includedir}/dbus-cxx-glib-2.0/* \
|
||||||
|
${libdir}/pkgconfig/dbus-cxx-glib-2.0.pc \
|
||||||
|
${libdir}/libdbus-cxx-glib.so \
|
||||||
|
"
|
||||||
|
FILES:${PN}-uv = "${libdir}/libdbus-cxx-uv.so.* "
|
||||||
|
FILES:${PN}-uv-dev = "${includedir}/dbus-cxx-uv-2.0/* \
|
||||||
|
${libdir}/pkgconfig/dbus-cxx-uv-2.0.pc\
|
||||||
|
${libdir}/libdbus-cxx-uv.so \
|
||||||
|
"
|
||||||
|
|
||||||
|
BBCLASSEXTEND="native nativesdk"
|
||||||
@@ -18,5 +18,5 @@ inherit setuptools3 meson
|
|||||||
FILES:${PN}-dev += "${libdir}/sigc++-*/"
|
FILES:${PN}-dev += "${libdir}/sigc++-*/"
|
||||||
FILES:${PN}-doc += "${datadir}/devhelp"
|
FILES:${PN}-doc += "${datadir}/devhelp"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
|
SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ inherit allarch
|
|||||||
SRC_URI[archive.sha256sum] = "e954c09b4309a7ef93e13b69260acdc5738c907477eb381b78bb1e414ee6dbd8"
|
SRC_URI[archive.sha256sum] = "e954c09b4309a7ef93e13b69260acdc5738c907477eb381b78bb1e414ee6dbd8"
|
||||||
SRC_URI += "file://0001-meson.build-do-not-ask-for-python-installation-versi.patch"
|
SRC_URI += "file://0001-meson.build-do-not-ask-for-python-installation-versi.patch"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
# These files aren't very usefull on target image, package them all in nnPN-dev
|
# These files aren't very usefull on target image, package them all in nnPN-dev
|
||||||
FILES:${PN} = ""
|
FILES:${PN} = ""
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
SUMMARY = "C++ Code Generator library"
|
||||||
|
BUGTRACKER = "https://github.com/rm5248/libcppgenerate/issues"
|
||||||
|
SECTION = "libs"
|
||||||
|
LICENSE = "Apache-2.0"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/rm5248/libcppgenerate.git;branch=master;protocol=https"
|
||||||
|
SRCREV = "930c5503f76c877b72b9ff8546353d6f422bd010"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
BBCLASSEXTEND="native nativesdk"
|
||||||
Reference in New Issue
Block a user