Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions DEVELOPERS
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
1 change: 1 addition & 0 deletions package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
14 changes: 14 additions & 0 deletions package/ftxui/Config.in
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions package/ftxui/ftxui.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# locally computed
sha256 45819c1e54914783d4a1ca5633885035d74146778a1f74e1213cdb7b76340e71 ftxui-6.1.9.tar.gz
sha256 0224d97639ad37047d719a5ed5c0acc98de1c58ae63be0c27183dcad1328fc61 LICENSE
25 changes: 25 additions & 0 deletions package/ftxui/ftxui.mk
Original file line number Diff line number Diff line change
@@ -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))