mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/libyang-cpp: new package
Add C++ RAII bindings for libyang (v4). Signed-off-by: Vincent Jardin <vjardin@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
b42bfbc5e1
commit
fda322795a
@@ -3360,6 +3360,7 @@ F: configs/nvidia_bf3_defconfig
|
||||
F: package/bfscripts/
|
||||
F: package/dpdk/
|
||||
F: package/libecoli/
|
||||
F: package/libyang-cpp/
|
||||
|
||||
N: Vincent Prince <vincent.prince.fr@gmail.com>
|
||||
F: package/nss-myhostname/
|
||||
|
||||
@@ -2106,6 +2106,7 @@ menu "Networking"
|
||||
source "package/libvncserver/Config.in"
|
||||
source "package/libwebsockets/Config.in"
|
||||
source "package/libyang/Config.in"
|
||||
source "package/libyang-cpp/Config.in"
|
||||
source "package/libzenoh-c/Config.in"
|
||||
source "package/libzenoh-pico/Config.in"
|
||||
source "package/lksctp-tools/Config.in"
|
||||
|
||||
20
package/libyang-cpp/Config.in
Normal file
20
package/libyang-cpp/Config.in
Normal file
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_LIBYANG_CPP
|
||||
bool "libyang-cpp"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libyang
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libyang
|
||||
depends on !BR2_STATIC_LIBS # libyang
|
||||
select BR2_PACKAGE_LIBYANG
|
||||
help
|
||||
C++ bindings for the libyang library (v4).
|
||||
|
||||
libyang-cpp implements modern C++ RAII wrappers around the
|
||||
libyang C API, used by sysrepo, Kea + NETCONF, etc.
|
||||
|
||||
https://github.com/CESNET/libyang-cpp
|
||||
|
||||
comment "libyang-cpp needs a toolchain w/ threads, dynamic library, C++, gcc >= 10"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
||||
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_10
|
||||
3
package/libyang-cpp/libyang-cpp.hash
Normal file
3
package/libyang-cpp/libyang-cpp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 70fd0df940026fb930d5407abe679e064caf4701bff35d79465b9ad2c0915808 libyang-cpp-4.tar.gz
|
||||
sha256 82e3758011ec44c78e98d0777799d6e12aec5b8a64b32ebb20d0fe50e32488bb LICENSE
|
||||
17
package/libyang-cpp/libyang-cpp.mk
Normal file
17
package/libyang-cpp/libyang-cpp.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
################################################################################
|
||||
#
|
||||
# libyang-cpp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBYANG_CPP_VERSION = 4
|
||||
LIBYANG_CPP_SITE = $(call github,CESNET,libyang-cpp,v$(LIBYANG_CPP_VERSION))
|
||||
LIBYANG_CPP_LICENSE = BSD-3-Clause
|
||||
LIBYANG_CPP_LICENSE_FILES = LICENSE
|
||||
LIBYANG_CPP_INSTALL_STAGING = YES
|
||||
LIBYANG_CPP_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
LIBYANG_CPP_DEPENDENCIES = libyang
|
||||
|
||||
LIBYANG_CPP_CONF_OPTS = -DWITH_DOCS=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user