public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>,
	James Knight <james.knight@collins.com>
Subject: [Buildroot] [PATCH 2/4] package/cxxopts: new package
Date: Sun, 15 Mar 2026 14:16:17 +0100	[thread overview]
Message-ID: <20260315131619.3961450-2-bernd@kuhls.net> (raw)
In-Reply-To: <20260315131619.3961450-1-bernd@kuhls.net>

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

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 DEVELOPERS                   |  1 +
 package/Config.in            |  1 +
 package/cxxopts/Config.in    | 10 ++++++++++
 package/cxxopts/cxxopts.hash |  3 +++
 package/cxxopts/cxxopts.mk   | 15 +++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/cxxopts/Config.in
 create mode 100644 package/cxxopts/cxxopts.hash
 create mode 100644 package/cxxopts/cxxopts.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 1b495e0fbe..0e83652483 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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/
diff --git a/package/Config.in b/package/Config.in
index 49425bdbe3..7100105a07 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2136,6 +2136,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"
diff --git a/package/cxxopts/Config.in b/package/cxxopts/Config.in
new file mode 100644
index 0000000000..0e7a52c0a5
--- /dev/null
+++ b/package/cxxopts/Config.in
@@ -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
diff --git a/package/cxxopts/cxxopts.hash b/package/cxxopts/cxxopts.hash
new file mode 100644
index 0000000000..fabef5c840
--- /dev/null
+++ b/package/cxxopts/cxxopts.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  3bfc70542c521d4b55a46429d808178916a579b28d048bd8c727ee76c39e2072  cxxopts-3.3.1.tar.gz
+sha256  aa324fbe633a96546bebca975fbbab65caa175894bd00cfa13d7335e7363400c  LICENSE
diff --git a/package/cxxopts/cxxopts.mk b/package/cxxopts/cxxopts.mk
new file mode 100644
index 0000000000..1dc25c9083
--- /dev/null
+++ b/package/cxxopts/cxxopts.mk
@@ -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))
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-03-15 13:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-15 13:16 [Buildroot] [PATCH 1/4] package/libzippp: new package Bernd Kuhls
2026-03-15 13:16 ` Bernd Kuhls [this message]
2026-03-15 13:16 ` [Buildroot] [PATCH 3/4] package/libpqxx: switch to CMake Bernd Kuhls
2026-03-15 13:16 ` [Buildroot] [PATCH 4/4] package/gerbera: bump version to 3.2.0 Bernd Kuhls
2026-03-21 21:17 ` [Buildroot] [PATCH 1/4] package/libzippp: new package Julien Olivain via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260315131619.3961450-2-bernd@kuhls.net \
    --to=bernd@kuhls.net \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=james.knight@collins.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox