|
@@ -18,7 +18,6 @@ WEBKITGTK_DEPENDENCIES = host-ruby host-python3 host-gperf \
|
|
libtasn1 libxml2 libxslt openjpeg sqlite webp woff2
|
|
libtasn1 libxml2 libxslt openjpeg sqlite webp woff2
|
|
WEBKITGTK_CONF_OPTS = \
|
|
WEBKITGTK_CONF_OPTS = \
|
|
-DENABLE_API_TESTS=OFF \
|
|
-DENABLE_API_TESTS=OFF \
|
|
- -DENABLE_GAMEPAD=OFF \
|
|
|
|
-DENABLE_GEOLOCATION=OFF \
|
|
-DENABLE_GEOLOCATION=OFF \
|
|
-DENABLE_GTKDOC=OFF \
|
|
-DENABLE_GTKDOC=OFF \
|
|
-DENABLE_MINIBROWSER=ON \
|
|
-DENABLE_MINIBROWSER=ON \
|
|
@@ -71,6 +70,13 @@ else
|
|
WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF
|
|
WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_LIBMANETTE),y)
|
|
|
|
+WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=ON
|
|
|
|
+WEBKITGTK_DEPENDENCIES += libmanette
|
|
|
|
+else
|
|
|
|
+WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=OFF
|
|
|
|
+endif
|
|
|
|
+
|
|
# Only one target platform can be built, assume X11 > Wayland
|
|
# Only one target platform can be built, assume X11 > Wayland
|
|
|
|
|
|
# GTK3-X11 target gives OpenGL from newer libgtk3 versions
|
|
# GTK3-X11 target gives OpenGL from newer libgtk3 versions
|