package/ftxui: new package

FTXUI is a simple cross-platform C++ library for terminal
based user interfaces.

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
[Julien: remove FTXUI_SOURCE to use the default archive name]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Gilles Talis
2026-01-17 13:30:24 -04:00
committed by Julien Olivain
parent 6019875dd2
commit f983411b57
5 changed files with 44 additions and 0 deletions

View File

@@ -1262,6 +1262,7 @@ F: package/cctz/
F: package/clpeak/
F: package/faad2/
F: package/fdk-aac/
F: package/ftxui/
F: package/httping/
F: package/iozone/
F: package/leptonica/

View File

@@ -2303,6 +2303,7 @@ menu "Text and terminal handling"
source "package/fcft/Config.in"
source "package/fmt/Config.in"
source "package/fstrcmp/Config.in"
source "package/ftxui/Config.in"
source "package/icu/Config.in"
source "package/inih/Config.in"
source "package/iniparser/Config.in"

14
package/ftxui/Config.in Normal file
View File

@@ -0,0 +1,14 @@
config BR2_PACKAGE_FTXUI
bool "ftxui"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR # std::wstring()
help
FTXUI is a simple cross-platform C++ library
for terminal based user interfaces
https://arthursonzogni.github.io/FTXUI/
comment "ftxui needs a toolchain w/ C++, wchar and threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_USE_WCHAR

3
package/ftxui/ftxui.hash Normal file
View File

@@ -0,0 +1,3 @@
# locally computed
sha256 45819c1e54914783d4a1ca5633885035d74146778a1f74e1213cdb7b76340e71 ftxui-6.1.9.tar.gz
sha256 0224d97639ad37047d719a5ed5c0acc98de1c58ae63be0c27183dcad1328fc61 LICENSE

25
package/ftxui/ftxui.mk Normal file
View File

@@ -0,0 +1,25 @@
################################################################################
#
# ftxui
#
################################################################################
FTXUI_VERSION = 6.1.9
FTXUI_SITE = $(call github,ArthurSonzogni,FTXUI,v$(FTXUI_VERSION))
FTXUI_LICENSE = MIT
FTXUI_LICENSE_FILES = LICENSE
FTXUI_INSTALL_STAGING = YES
FTXUI_CONF_OPTS = \
-DFTXUI_BUILD_DOCS=OFF \
-DFTXUI_BUILD_EXAMPLES=OFF \
-DFTXUI_BUILD_TESTS=OFF \
-DFTXUI_BUILD_TESTS_FUZZER=OFF \
-DFTXUI_CLANG_TIDY=OFF \
-DFTXUI_DEV_WARNINGS=OFF \
-DFTXUI_ENABLE_COVERAGE=OFF \
-DFTXUI_ENABLE_INSTALL=ON \
-DFTXUI_QUIET=OFF
$(eval $(cmake-package))