[gnome-build-meta/dylanmccall/webkitgtk-arm-gles2] sdk/WebKitGTK.bst: Enable GLES2 on arm architecture
- From: Dylan McCall <dylanmccall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/dylanmccall/webkitgtk-arm-gles2] sdk/WebKitGTK.bst: Enable GLES2 on arm architecture
- Date: Fri, 27 Mar 2020 15:55:14 +0000 (UTC)
commit 9ca6c8eb5e4d9b092486ceffd8245dec6a255448
Author: Dylan McCall <dylan endlessm com>
Date: Thu Mar 26 15:06:54 2020 -0700
sdk/WebKitGTK.bst: Enable GLES2 on arm architecture
I am making the assumption that 32-bit arm devices will generally
require OpenGL ES, rather than OpenGL, for hardware acceleration. The
build environment for WebKitGTK always includes libgl, so we need to
build with the `ENABLE_GLES2` option to enable OpenGL ES.
elements/sdk/WebKitGTK.bst | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/elements/sdk/WebKitGTK.bst b/elements/sdk/WebKitGTK.bst
index 53fba255..9fea2e8a 100644
--- a/elements/sdk/WebKitGTK.bst
+++ b/elements/sdk/WebKitGTK.bst
@@ -42,13 +42,18 @@ depends:
- freedesktop-sdk.bst:bootstrap-import.bst
variables:
webkitgtk_toolchain: ''
+ webkitgtk_arch_options: ''
(?):
- arch == "i686" or arch == "arm":
webkitgtk_toolchain: -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=toolchain.%{arch}
+ - arch == "arm":
+ webkitgtk_arch_options: |
+ -DENABLE_GLES2=ON
cmake-local: >-
-DPORT=GTK
-DENABLE_BUBBLEWRAP_SANDBOX=OFF
%{webkitgtk_toolchain}
+ %{webkitgtk_arch_options}
(?):
- arch == "i686":
environment:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]