SmartAudio/package/libs/libgtk3/Config.in

91 lines
2.4 KiB
Plaintext

config LIBGTK3
bool "libgtk3"
select PACKAGE_atk
select PACKAGE_cairo
select CONFIG_CAIRO_PS
select CONFIG_CAIRO_PDF
select CONFIG_CAIRO_SVG
select CONFIG_LIBEPOXY
select PACKAGE_libglib2
select PACKAGE_pango
select PACKAGE_gdk_pixbuf
# At least one backend is required
select CONFIG_LIBGTK3_BROADWAY if \
!(CONFIG_LIBGTK3_X11 || CONFIG_LIBGTK3_WAYLAND)
depends on USE_WCHAR # glib2
depends on TOOLCHAIN_HAS_THREADS # glib2
depends on USE_MMU # glib2
depends on INSTALL_LIBSTDCPP # pango
depends on TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
depends on HAS_LIBEGL_WAYLAND || \
PACKAGE_HAS_LIBGL
help
The GTK+ version 3 graphical user interface library
http://www.gtk.org/
if PACKAGE_libgtk3
config LIBGTK3_BROADWAY
bool "Broadway GDK backend"
default y
help
This enables the Broadway backend for GDK, which provides support
for displaying GTK+ applications in a web browser, using HTML5 and
web sockets.
For example, to run gtk3-demo on a target which IP address is
192.168.0.1 and use it from a web browser, execute the following
commands:
$ broadwayd -a 192.168.0.1 -p 8080 :2 &
$ export GDK_BACKEND=broadway
$ export BROADWAY_DISPLAY=:2
$ gtk3-demo
Then open a web browser at address http://192.168.0.1:8080.
Javascript and web sockets should be enabled.
comment "Wayland GDK backend needs an OpenGL EGL backend provided by mesa3d w/ headers >= 3.17"
config LIBGTK3_WAYLAND
bool "Wayland GDK backend"
default y
select PACKAGE_wayland
select PACKAGE_wayland_protocols
select PACKAGE_libxkbcommon
help
This enables the Wayland backend for GDK.
comment "X11 GDK backend needs an OpenGL provider"
depends on !PACKAGE_HAS_LIBGL
config LIBGTK3_X11
bool "X11 GDK backend"
default y
depends on BR2_PACKAGE_XORG7
depends on BR2_PACKAGE_HAS_LIBGL
select PACKAGE_fontconfig
select PACKAGE_xlib_libx11
select PACKAGE_xlib_libxext
select PACKAGE_xlib_libxrender
select PACKAGE_xlib_libxi
help
This enables the X11 backend for GDK.
config LIBGTK3_DEMO
bool "Install libgtk3 demo program"
select PACKAGE_SHARED_MIME_INFO
select PACKAGE_HICOLOR_ICON_THEME
help
The GTK+ source base contains a demo program. This
option allows to install this program to the target.
config LIBGTK3_TESTS
bool "Install libgtk3 tests"
help
The GTK+ source base contains tests. This option
allows to install them to the target.
endif