diff mbox series

meta-oe: libcppconnman: add recipe

Message ID 20260304154425.623340-1-andrea.ricchi@amarulasolutions.com
State New
Headers show
Series meta-oe: libcppconnman: add recipe | expand

Commit Message

Andrea Ricchi March 4, 2026, 3:44 p.m. UTC
libcppconnman is a C++ library to control ConnMan via D-Bus. It exposes
simple aync methods to perform all the controls that ConnMan allow via
D-Bus.

Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
---
 .../libcppconnman/libcppconnman_git.bb        | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-connectivity/libcppconnman/libcppconnman_git.bb

Comments

Gyorgy Sarvari March 4, 2026, 4:51 p.m. UTC | #1
On 3/4/26 16:44, Andrea Ricchi via lists.openembedded.org wrote:
> libcppconnman is a C++ library to control ConnMan via D-Bus. It exposes
> simple aync methods to perform all the controls that ConnMan allow via
> D-Bus.
>
> Signed-off-by: Andrea Ricchi <andrea.ricchi@amarulasolutions.com>
> ---
>  .../libcppconnman/libcppconnman_git.bb        | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>  create mode 100644 meta-oe/recipes-connectivity/libcppconnman/libcppconnman_git.bb
>
> diff --git a/meta-oe/recipes-connectivity/libcppconnman/libcppconnman_git.bb b/meta-oe/recipes-connectivity/libcppconnman/libcppconnman_git.bb
> new file mode 100644
> index 0000000000..86d44e1806
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/libcppconnman/libcppconnman_git.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "Amarula libcppconnman library"
> +LICENSE = "LGPL-2.1-or-later"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=a87a7059d580c45495c1218f53e3610d"
> +
> +SECTION = "libs"
> +
> +SRC_URI = "git://github.com/amarula/libcppconnman.git;protocol=https;branch=main"
> +SRCREV = "d89262c2cd7336da8ba9eb06228d422847fe4b20"
> +
> +S = "${WORKDIR}/git"

Specifying ${S} is not needed anymore when using the default folder with
git fetcher - and the current form has been a fatal error since
Whinlatter. You can just drop this line.

> +
> +inherit cmake pkgconfig
> +
> +DEPENDS += "glib-2.0"
> +
> +EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DBUILD_CONNMAN=ON"
> +
> +# LICENSE file
> +FILES:${PN} += "${datadir}/Amarula"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#124853): https://lists.openembedded.org/g/openembedded-devel/message/124853
> Mute This Topic: https://lists.openembedded.org/mt/118134477/6084445
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-connectivity/libcppconnman/libcppconnman_git.bb b/meta-oe/recipes-connectivity/libcppconnman/libcppconnman_git.bb
new file mode 100644
index 0000000000..86d44e1806
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libcppconnman/libcppconnman_git.bb
@@ -0,0 +1,19 @@ 
+SUMMARY = "Amarula libcppconnman library"
+LICENSE = "LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a87a7059d580c45495c1218f53e3610d"
+
+SECTION = "libs"
+
+SRC_URI = "git://github.com/amarula/libcppconnman.git;protocol=https;branch=main"
+SRCREV = "d89262c2cd7336da8ba9eb06228d422847fe4b20"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+DEPENDS += "glib-2.0"
+
+EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DBUILD_CONNMAN=ON"
+
+# LICENSE file
+FILES:${PN} += "${datadir}/Amarula"