Commit dc3af9cb authored by Alberto Garcia's avatar Alberto Garcia
Browse files

Enable OpenGL ES in arm

parent b645cf86
webkit2gtk (2.28.3-3) UNRELEASED; urgency=medium
* Enable OpenGL ES in arm:
+ debian/rules:
- Build with -DENABLE_GLES2=ON in armel/armhf/arm64.
+ debian/control:
- Always depend on libgl1-mesa-dev.
-- Alberto Garcia <berto@igalia.com> Mon, 27 Jul 2020 16:20:14 +0200
webkit2gtk (2.28.3-2) unstable; urgency=high
* The WebKitGTK security advisory WSA-2020-0006 lists the following
......
......@@ -54,7 +54,7 @@ Build-Depends: gawk,
mesa-common-dev,
ninja-build,
libegl1-mesa-dev,
libgl1-mesa-dev [!armel !armhf !arm64],
libgl1-mesa-dev,
libgles2-mesa-dev
Build-Depends-Indep: gtk-doc-tools,
libglib2.0-doc,
......
......@@ -42,6 +42,11 @@ ifneq (,$(filter $(DEB_HOST_ARCH),sh3 sh4))
CPPFLAGS += -mlra -fno-move-loop-invariants
endif
# Enable OpenGL ES in arm
ifneq (,$(filter $(DEB_HOST_ARCH),armel armhf arm64))
EXTRA_CMAKE_ARGUMENTS += -DENABLE_GLES2
endif
ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
EXTRA_CMAKE_ARGUMENTS += -DUSE_SYSTEM_MALLOC=ON
CPPFLAGS += -DRELEASE_WITHOUT_OPTIMIZATIONS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment