1 config BR2_PACKAGE_LIBGTK3
4 select BR2_PACKAGE_CAIRO
5 select BR2_PACKAGE_CAIRO_PS
6 select BR2_PACKAGE_CAIRO_PDF
7 select BR2_PACKAGE_CAIRO_SVG
8 select BR2_PACKAGE_LIBGLIB2
9 select BR2_PACKAGE_PANGO
10 select BR2_PACKAGE_GDK_PIXBUF
11 # atleast 1 backend must be enabled
12 select BR2_PACKAGE_LIBGTK3_BROADWAY if \
13 !(BR2_PACKAGE_LIBGTK3_X11 || BR2_PACKAGE_LIBGTK3_WAYLAND)
14 depends on BR2_USE_WCHAR # glib2
15 depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
16 depends on BR2_USE_MMU # glib2
17 depends on BR2_INSTALL_LIBSTDCPP # pango
18 depends on BR2_ARCH_HAS_ATOMICS # cairo
20 The GTK+ version 3 graphical user interface library
24 if BR2_PACKAGE_LIBGTK3
28 config BR2_PACKAGE_LIBGTK3_X11
29 bool "GDK X11 backend"
31 depends on BR2_PACKAGE_XORG7
32 select BR2_PACKAGE_FONTCONFIG
33 select BR2_PACKAGE_XLIB_LIBX11
34 select BR2_PACKAGE_XLIB_LIBXEXT
35 select BR2_PACKAGE_XLIB_LIBXRENDER
36 select BR2_PACKAGE_XLIB_LIBXI
38 This enables the X11 backend for GDK.
40 config BR2_PACKAGE_LIBGTK3_WAYLAND
41 bool "GDK Wayland backend"
43 depends on BR2_PACKAGE_WAYLAND
44 select BR2_PACKAGE_LIBXKBCOMMON
46 This enables the Wayland backend for GDK.
48 config BR2_PACKAGE_LIBGTK3_BROADWAY
49 bool "GDK Broadway backend"
51 This enables the Broadway backend for GDK, which provides support
52 for displaying GTK+ applications in a web browser, using HTML5 and
55 For example, to run gtk3-demo on a target which IP address is
56 192.168.0.1 and use it from a web browser, execute the following
59 $ broadwayd -a 192.168.0.1 -p 8080 :2 &
60 $ export GDK_BACKEND=broadway
61 $ export BROADWAY_DISPLAY=:2
64 Then open a web browser at address http://192.168.0.1:8080.
65 Javascript and web sockets should be enabled.
67 config BR2_PACKAGE_LIBGTK3_DEMO
68 bool "Install libgtk3 demo program"
69 select BR2_PACKAGE_SHARED_MIME_INFO
70 select BR2_PACKAGE_HICOLOR_ICON_THEME
72 The GTK+ source base contains a demo program. This
73 option allows to install this program to the target.
75 config BR2_PACKAGE_LIBGTK3_TESTS
76 bool "Install libgtk3 tests"
78 The GTK+ source base contains tests. This option
79 allows to install them to the target.
83 comment "libgtk3 needs a toolchain w/ wchar, threads, C++"
84 depends on BR2_USE_MMU
85 depends on BR2_ARCH_HAS_ATOMICS
86 depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \
87 !BR2_TOOLCHAIN_HAS_THREADS