package/wpewebkit: add BR2_PACKAGE_HAS_LIBEGL_WAYLAND dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 16 May 2019 20:12:20 +0000 (22:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 18 May 2019 19:29:45 +0000 (21:29 +0200)
Commit 5b3c7a3e7828107eaa9dad49ba2650466277d891 added a
BR2_PACKAGE_HAS_LIBEGL_WAYLAND dependency to wpebackend-fdo but forget
to add it to wpewebkit

Fixes:
 - http://autobuild.buildroot.net/results/49e04166de68358e69bce580b29ba3a25b313acf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/wpewebkit/Config.in

index 07a4fa04560f01844c25552c904f7045f489287a..39f64c4e54c60b135a2c180e038e51aaeb4fbb8c 100644 (file)
@@ -35,10 +35,11 @@ comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gc
                || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
                || !BR2_TOOLCHAIN_GCC_AT_LEAST_6 || !BR2_HOST_GCC_AT_LEAST_4_8
 
-comment "wpewebkit needs an OpenGL ES w/ EGL backend"
+comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend"
        depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
        depends on !BR2_BINFMT_FLAT
-       depends on !BR2_PACKAGE_HAS_LIBGLES || !BR2_PACKAGE_HAS_LIBEGL
+       depends on !BR2_PACKAGE_HAS_LIBGLES || !BR2_PACKAGE_HAS_LIBEGL \
+               || !BR2_PACKAGE_HAS_LIBEGL_WAYLAND
 
 config BR2_PACKAGE_WPEWEBKIT
        bool "wpewebkit"
@@ -51,6 +52,7 @@ config BR2_PACKAGE_WPEWEBKIT
        depends on BR2_USE_WCHAR # icu, libsoup
        depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy
        depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy
+       depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND # wpebackend-fdo
        depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS
        select BR2_PACKAGE_CAIRO
        select BR2_PACKAGE_CAIRO_PNG