summaryrefslogtreecommitdiff
path: root/devel/ftxui
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ftxui')
-rw-r--r--devel/ftxui/Makefile21
-rw-r--r--devel/ftxui/distinfo10
-rw-r--r--devel/ftxui/files/patch-cmake_ftxui__fuzzer.cmake12
-rw-r--r--devel/ftxui/pkg-plist95
4 files changed, 118 insertions, 20 deletions
diff --git a/devel/ftxui/Makefile b/devel/ftxui/Makefile
index 32f08ce228de..9493acb2a9ba 100644
--- a/devel/ftxui/Makefile
+++ b/devel/ftxui/Makefile
@@ -1,8 +1,14 @@
PORTNAME= ftxui
DISTVERSIONPREFIX= v
-DISTVERSION= 5.0.0
+DISTVERSION= 6.1.9
CATEGORIES= devel science
+PATCH_SITES= https://aur.archlinux.org/cgit/aur.git/plain/
+# Adds the "ALL" option back and adds the install target for docs
+PATCHFILES+= ftxui_build_docs_target_all.patch?h=ftxui:-p1
+# Adds the the install target for examples
+PATCHFILES+= ftxui_make_examples_installable.patch?h=ftxui:-p1
+
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ Functional Terminal User Interface (TUI) library
WWW= https://github.com/ArthurSonzogni/FTXUI
@@ -20,8 +26,19 @@ USE_GITHUB= yes
GH_ACCOUNT= ArthurSonzogni
GH_PROJECT= FTXUI
-CMAKE_OFF= FTXUI_BUILD_DOCS FTXUI_BUILD_EXAMPLES FTXUI_BUILD_TESTS
+CMAKE_OFF= FTXUI_BUILD_TESTS
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_TESTING_ON= FTXUI_BUILD_TESTS
+PLIST_SUB= SOVERSION=${DISTVERSION}
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_SUB= yes
+
+DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
+DOCS_CMAKE_BOOL= FTXUI_BUILD_DOCS
+EXAMPLES_CMAKE_BOOL= FTXUI_BUILD_EXAMPLES
+
+PORTDOCS= *
+
.include <bsd.port.mk>
diff --git a/devel/ftxui/distinfo b/devel/ftxui/distinfo
index f0794f80a043..e200f22948b9 100644
--- a/devel/ftxui/distinfo
+++ b/devel/ftxui/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1699202613
-SHA256 (ArthurSonzogni-FTXUI-v5.0.0_GH0.tar.gz) = a2991cb222c944aee14397965d9f6b050245da849d8c5da7c72d112de2786b5b
-SIZE (ArthurSonzogni-FTXUI-v5.0.0_GH0.tar.gz) = 236755
+TIMESTAMP = 1755969505
+SHA256 (ArthurSonzogni-FTXUI-v6.1.9_GH0.tar.gz) = 45819c1e54914783d4a1ca5633885035d74146778a1f74e1213cdb7b76340e71
+SIZE (ArthurSonzogni-FTXUI-v6.1.9_GH0.tar.gz) = 262230
+SHA256 (ftxui_build_docs_target_all.patch?h=ftxui) = 2b513c179f998e02404dc147ad99c5d57a4fe91dce6cfb7f82de4e101b789fc0
+SIZE (ftxui_build_docs_target_all.patch?h=ftxui) = 1529
+SHA256 (ftxui_make_examples_installable.patch?h=ftxui) = 62457257e81d1ab735aece92aa6817a6e05d18ec5236b5dbb0e67532d1b1850f
+SIZE (ftxui_make_examples_installable.patch?h=ftxui) = 1150
diff --git a/devel/ftxui/files/patch-cmake_ftxui__fuzzer.cmake b/devel/ftxui/files/patch-cmake_ftxui__fuzzer.cmake
deleted file mode 100644
index a3ce3c931e9b..000000000000
--- a/devel/ftxui/files/patch-cmake_ftxui__fuzzer.cmake
+++ /dev/null
@@ -1,12 +0,0 @@
-- workaround for https://github.com/ArthurSonzogni/FTXUI/issues/556
-
---- cmake/ftxui_fuzzer.cmake.orig 2023-01-14 19:37:42 UTC
-+++ cmake/ftxui_fuzzer.cmake
-@@ -23,5 +23,5 @@ function(fuzz name)
- )
- endfunction(fuzz)
-
--fuzz(terminal_input_parser_test_fuzzer)
--fuzz(component_fuzzer)
-+#fuzz(terminal_input_parser_test_fuzzer)
-+#fuzz(component_fuzzer)
diff --git a/devel/ftxui/pkg-plist b/devel/ftxui/pkg-plist
index be96adde827b..53adfda1a59a 100644
--- a/devel/ftxui/pkg-plist
+++ b/devel/ftxui/pkg-plist
@@ -1,3 +1,89 @@
+%%EXAMPLES%%bin/ftxui_example_border
+%%EXAMPLES%%bin/ftxui_example_border_colored
+%%EXAMPLES%%bin/ftxui_example_border_style
+%%EXAMPLES%%bin/ftxui_example_button
+%%EXAMPLES%%bin/ftxui_example_button_animated
+%%EXAMPLES%%bin/ftxui_example_button_in_frame
+%%EXAMPLES%%bin/ftxui_example_button_style
+%%EXAMPLES%%bin/ftxui_example_canvas
+%%EXAMPLES%%bin/ftxui_example_canvas_animated
+%%EXAMPLES%%bin/ftxui_example_checkbox
+%%EXAMPLES%%bin/ftxui_example_checkbox_in_frame
+%%EXAMPLES%%bin/ftxui_example_collapsible
+%%EXAMPLES%%bin/ftxui_example_color_gallery
+%%EXAMPLES%%bin/ftxui_example_color_info_palette256
+%%EXAMPLES%%bin/ftxui_example_color_truecolor_HSV
+%%EXAMPLES%%bin/ftxui_example_color_truecolor_RGB
+%%EXAMPLES%%bin/ftxui_example_composition
+%%EXAMPLES%%bin/ftxui_example_custom_loop
+%%EXAMPLES%%bin/ftxui_example_dbox
+%%EXAMPLES%%bin/ftxui_example_dropdown
+%%EXAMPLES%%bin/ftxui_example_dropdown_custom
+%%EXAMPLES%%bin/ftxui_example_flexbox_gallery
+%%EXAMPLES%%bin/ftxui_example_focus
+%%EXAMPLES%%bin/ftxui_example_focus_cursor
+%%EXAMPLES%%bin/ftxui_example_gallery
+%%EXAMPLES%%bin/ftxui_example_gauge
+%%EXAMPLES%%bin/ftxui_example_gauge_direction
+%%EXAMPLES%%bin/ftxui_example_graph
+%%EXAMPLES%%bin/ftxui_example_gridbox
+%%EXAMPLES%%bin/ftxui_example_hflow
+%%EXAMPLES%%bin/ftxui_example_homescreen
+%%EXAMPLES%%bin/ftxui_example_html_like
+%%EXAMPLES%%bin/ftxui_example_input
+%%EXAMPLES%%bin/ftxui_example_input_in_frame
+%%EXAMPLES%%bin/ftxui_example_input_style
+%%EXAMPLES%%bin/ftxui_example_linear_gradient
+%%EXAMPLES%%bin/ftxui_example_linear_gradient_gallery
+%%EXAMPLES%%bin/ftxui_example_maybe
+%%EXAMPLES%%bin/ftxui_example_menu
+%%EXAMPLES%%bin/ftxui_example_menu2
+%%EXAMPLES%%bin/ftxui_example_menu_entries
+%%EXAMPLES%%bin/ftxui_example_menu_entries_animated
+%%EXAMPLES%%bin/ftxui_example_menu_in_frame
+%%EXAMPLES%%bin/ftxui_example_menu_in_frame_horizontal
+%%EXAMPLES%%bin/ftxui_example_menu_multiple
+%%EXAMPLES%%bin/ftxui_example_menu_style
+%%EXAMPLES%%bin/ftxui_example_menu_underline_animated_gallery
+%%EXAMPLES%%bin/ftxui_example_modal_dialog
+%%EXAMPLES%%bin/ftxui_example_modal_dialog_custom
+%%EXAMPLES%%bin/ftxui_example_nested_screen
+%%EXAMPLES%%bin/ftxui_example_package_manager
+%%EXAMPLES%%bin/ftxui_example_paragraph
+%%EXAMPLES%%bin/ftxui_example_print_key_press
+%%EXAMPLES%%bin/ftxui_example_radiobox
+%%EXAMPLES%%bin/ftxui_example_radiobox_in_frame
+%%EXAMPLES%%bin/ftxui_example_renderer
+%%EXAMPLES%%bin/ftxui_example_resizable_split
+%%EXAMPLES%%bin/ftxui_example_scrollbar
+%%EXAMPLES%%bin/ftxui_example_selection
+%%EXAMPLES%%bin/ftxui_example_separator
+%%EXAMPLES%%bin/ftxui_example_separator_style
+%%EXAMPLES%%bin/ftxui_example_size
+%%EXAMPLES%%bin/ftxui_example_slider
+%%EXAMPLES%%bin/ftxui_example_slider_direction
+%%EXAMPLES%%bin/ftxui_example_slider_rgb
+%%EXAMPLES%%bin/ftxui_example_spinner
+%%EXAMPLES%%bin/ftxui_example_style_blink
+%%EXAMPLES%%bin/ftxui_example_style_bold
+%%EXAMPLES%%bin/ftxui_example_style_color
+%%EXAMPLES%%bin/ftxui_example_style_dim
+%%EXAMPLES%%bin/ftxui_example_style_gallery
+%%EXAMPLES%%bin/ftxui_example_style_hyperlink
+%%EXAMPLES%%bin/ftxui_example_style_inverted
+%%EXAMPLES%%bin/ftxui_example_style_italic
+%%EXAMPLES%%bin/ftxui_example_style_strikethrough
+%%EXAMPLES%%bin/ftxui_example_style_underlined
+%%EXAMPLES%%bin/ftxui_example_style_underlined_double
+%%EXAMPLES%%bin/ftxui_example_tab_horizontal
+%%EXAMPLES%%bin/ftxui_example_tab_vertical
+%%EXAMPLES%%bin/ftxui_example_table
+%%EXAMPLES%%bin/ftxui_example_textarea
+%%EXAMPLES%%bin/ftxui_example_toggle
+%%EXAMPLES%%bin/ftxui_example_vbox_hbox
+%%EXAMPLES%%bin/ftxui_example_vflow
+%%EXAMPLES%%bin/ftxui_example_window
+%%EXAMPLES%%bin/ftxui_example_with_restored_io
include/ftxui/component/animation.hpp
include/ftxui/component/captured_mouse.hpp
include/ftxui/component/component.hpp
@@ -17,12 +103,15 @@ include/ftxui/dom/flexbox_config.hpp
include/ftxui/dom/linear_gradient.hpp
include/ftxui/dom/node.hpp
include/ftxui/dom/requirement.hpp
+include/ftxui/dom/selection.hpp
include/ftxui/dom/table.hpp
include/ftxui/dom/take_any_args.hpp
include/ftxui/screen/box.hpp
include/ftxui/screen/color.hpp
include/ftxui/screen/color_info.hpp
include/ftxui/screen/deprecated.hpp
+include/ftxui/screen/image.hpp
+include/ftxui/screen/pixel.hpp
include/ftxui/screen/screen.hpp
include/ftxui/screen/string.hpp
include/ftxui/screen/terminal.hpp
@@ -33,9 +122,9 @@ lib/cmake/ftxui/ftxui-config.cmake
lib/cmake/ftxui/ftxui-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/ftxui/ftxui-targets.cmake
lib/libftxui-component.so
-lib/libftxui-component.so.5.0.0
+lib/libftxui-component.so.%%SOVERSION%%
lib/libftxui-dom.so
-lib/libftxui-dom.so.5.0.0
+lib/libftxui-dom.so.%%SOVERSION%%
lib/libftxui-screen.so
-lib/libftxui-screen.so.5.0.0
+lib/libftxui-screen.so.%%SOVERSION%%
libdata/pkgconfig/ftxui.pc