cdc3b2db07f7f6595a77bd97944595beb34b4d7f
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libgtk3 / Config.in
1 config BR2_PACKAGE_LIBGTK3
2         bool "libgtk3"
3         select BR2_PACKAGE_ATK
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
19         help
20           The GTK+ version 3 graphical user interface library
21
22           http://www.gtk.org/
23
24 if BR2_PACKAGE_LIBGTK3
25
26 comment "GDK backend"
27
28 config BR2_PACKAGE_LIBGTK3_X11
29         bool "GDK X11 backend"
30         default y
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
37         help
38           This enables the X11 backend for GDK.
39
40 config BR2_PACKAGE_LIBGTK3_WAYLAND
41         bool "GDK Wayland backend"
42         default y
43         depends on BR2_PACKAGE_WAYLAND
44         select BR2_PACKAGE_LIBXKBCOMMON
45         help
46           This enables the Wayland backend for GDK.
47
48 config BR2_PACKAGE_LIBGTK3_BROADWAY
49         bool "GDK Broadway backend"
50         help
51           This enables the Broadway backend for GDK, which provides support
52           for displaying GTK+ applications in a web browser, using HTML5 and
53           web sockets.
54
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
57           commands:
58
59             $ broadwayd -a 192.168.0.1 -p 8080 :2 &
60             $ export GDK_BACKEND=broadway
61             $ export BROADWAY_DISPLAY=:2
62             $ gtk3-demo
63
64           Then open a web browser at address http://192.168.0.1:8080.
65           Javascript and web sockets should be enabled.
66
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
71         help
72           The GTK+ source base contains a demo program. This
73           option allows to install this program to the target.
74
75 config BR2_PACKAGE_LIBGTK3_TESTS
76         bool "Install libgtk3 tests"
77         help
78           The GTK+ source base contains tests. This option
79           allows to install them to the target.
80
81 endif
82
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