1config BR2_PACKAGE_VTE
2	bool "vte"
3	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # libgtk3 -> host-libgtk3 -> host-librsvg
4	depends on BR2_USE_WCHAR
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	depends on BR2_USE_MMU
7	depends on BR2_INSTALL_LIBSTDCPP
8	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20
9	depends on BR2_TOOLCHAIN_HAS_SYNC_4
10	depends on !BR2_TOOLCHAIN_USES_MUSL
11	depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \
12		BR2_PACKAGE_HAS_LIBGL
13	depends on BR2_PACKAGE_XORG7
14	select BR2_PACKAGE_LIBGTK3
15	select BR2_PACKAGE_PCRE2
16	help
17	  VTE is a library (libvte) implementing a terminal emulator
18	  widget for GTK+, and a minimal sample application (vte)
19	  using that. Vte is mainly used in gnome-terminal, but
20	  can also be used to embed a console/terminal in games,
21	  editors, IDEs, etc.
22
23	  http://github.com/GNOME/vte
24
25comment "vte needs a uClibc or glibc toolchain w/ wchar, threads, C++, gcc >= 10"
26	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
27	depends on BR2_USE_MMU
28	depends on BR2_TOOLCHAIN_HAS_SYNC_4
29	depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \
30		!BR2_TOOLCHAIN_HAS_THREADS || \
31		!BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \
32		BR2_TOOLCHAIN_USES_MUSL
33
34comment "vte needs an OpenGL or an OpenGL-EGL/wayland backend"
35	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
36	depends on BR2_USE_MMU
37	depends on BR2_TOOLCHAIN_HAS_SYNC_4
38	depends on !BR2_PACKAGE_HAS_LIBEGL_WAYLAND && \
39		!BR2_PACKAGE_HAS_LIBGL
40