package/libgtk3: needs OpenGL-EGL/wayland
Currently, libgtk3 depends on either a full OpenGL stack, or on a OpenGL-EGL stack provided by mesa3d. This is because, when using the wayland backend, libgtk3 needs an OpenGL-EGL stack tht provides the wayland extensions. So far, only mesa3d would provide those extensions. But now, those extensions are trickling down to other implementations, like the Nvidia driver or other (even non-public) implementations. Change the condition to be on the recently introduced libegl-wayland option. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
aab7cab822
commit
427fcaa523
@ -4,10 +4,10 @@ comment "libgtk3 needs a toolchain w/ wchar, threads, C++"
|
||||
depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
comment "libgtk3 needs an OpenGL or OpenGL EGL backend provided by mesa3d"
|
||||
comment "libgtk3 needs an OpenGL or an OpenGL-EGL/wayland backend"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && \
|
||||
depends on !BR2_PACKAGE_HAS_LIBEGL_WAYLAND && \
|
||||
!BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
config BR2_PACKAGE_LIBGTK3
|
||||
@ -29,7 +29,7 @@ config BR2_PACKAGE_LIBGTK3
|
||||
depends on BR2_USE_MMU # glib2
|
||||
depends on BR2_INSTALL_LIBSTDCPP # pango
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
|
||||
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || \
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL_WAYLANDD || \
|
||||
BR2_PACKAGE_HAS_LIBGL
|
||||
help
|
||||
The GTK+ version 3 graphical user interface library
|
||||
@ -65,7 +65,7 @@ comment "Wayland GDK backend needs an OpenGL EGL backend provided by mesa3d w/ h
|
||||
config BR2_PACKAGE_LIBGTK3_WAYLAND
|
||||
bool "Wayland GDK backend"
|
||||
default y
|
||||
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
|
||||
select BR2_PACKAGE_WAYLAND
|
||||
select BR2_PACKAGE_WAYLAND_PROTOCOLS
|
||||
|
Loading…
Reference in New Issue
Block a user