package/cxxopts: new package

This header-only library is needed for gerbera bump to 3.2.0.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-03-15 14:16:17 +01:00
committed by Julien Olivain
parent 17fb6420f7
commit 9f2ff71c74
5 changed files with 30 additions and 0 deletions

View File

@@ -369,6 +369,7 @@ F: package/bcg729/
F: package/bento4/
F: package/bitcoin/
F: package/clamav/
F: package/cxxopts/
F: package/dav1d/
F: package/dht/
F: package/dnsmasq/

View File

@@ -2137,6 +2137,7 @@ menu "Other"
source "package/llvm-project/compiler-rt/Config.in"
source "package/cppcms/Config.in"
source "package/cracklib/Config.in"
source "package/cxxopts/Config.in"
source "package/dawgdic/Config.in"
source "package/ding-libs/Config.in"
source "package/dlib/Config.in"

10
package/cxxopts/Config.in Normal file
View File

@@ -0,0 +1,10 @@
config BR2_PACKAGE_CXXOPTS
bool "cxxopts"
depends on BR2_INSTALL_LIBSTDCPP
help
Lightweight C++ command line option parser
https://github.com/jarro2783/cxxopts
comment "cxxopts needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 3bfc70542c521d4b55a46429d808178916a579b28d048bd8c727ee76c39e2072 cxxopts-3.3.1.tar.gz
sha256 aa324fbe633a96546bebca975fbbab65caa175894bd00cfa13d7335e7363400c LICENSE

View File

@@ -0,0 +1,15 @@
################################################################################
#
# cxxopts
#
################################################################################
CXXOPTS_VERSION = 3.3.1
CXXOPTS_SITE = $(call github,jarro2783,cxxopts,v$(CXXOPTS_VERSION))
CXXOPTS_LICENSE = MIT
CXXOPTS_LICENSE_FILES = LICENSE
CXXOPTS_INSTALL_STAGING = YES
CXXOPTS_INSTALL_TARGET = NO
$(eval $(cmake-package))