[gnome-sdk-images/wip/tvb/aarch64] webkitgtk4: Use straight cmake and support armv7a & i686
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sdk-images/wip/tvb/aarch64] webkitgtk4: Use straight cmake and support armv7a & i686
- Date: Thu, 5 May 2016 16:32:19 +0000 (UTC)
commit dd84b4737bf743c44ed00bf5752250b74fa59f03
Author: Tristan Van Berkom <tristan vanberkom codethink co uk>
Date: Thu May 5 12:30:24 2016 -0400
webkitgtk4: Use straight cmake and support armv7a & i686
When building for i686 on an x86_64 system, or building for armv7a
on an aarch64 system, one must specify -DCMAKE_SYSTEM_PROCESSOR
to ensure that webkitgtk build scripts select the correct assembly
code paths.
org.gnome.Sdk.json.in | 39 +++++++++++++++++++++++++++++------
webkitgtk-configure | 53 -------------------------------------------------
2 files changed, 32 insertions(+), 60 deletions(-)
---
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index 8c32d67..2d1faa5 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -616,11 +616,41 @@
},
{
"name": "webkitgtk4",
+ "cmake": true,
"build-options" : {
"cflags": "-O2 -g1",
- "cxxflags": "-O2 -g1"
+ "cxxflags": "-O2 -g1",
+ "arch" : {
+ "i686" : {
+ "config-opts" : [
+ "-DCMAKE_SYSTEM_PROCESSOR=i686"
+ ]
+ },
+ "armv7a" : {
+ "config-opts" : [
+ "-DCMAKE_SYSTEM_PROCESSOR=arm"
+ ]
+ }
+ }
},
- "sources": [
+ "config-opts": [
+ "-DPORT=GTK",
+ "-DCMAKE_BUILD_TYPE=Release",
+ "-DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG",
+ "-DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG",
+ "-DENABLE_ACCELERATED_2D_CANVAS=OFF",
+ "-DCMAKE_INSTALL_PREFIX:PATH=/usr",
+ "-DLIB_INSTALL_DIR:PATH=/usr/lib",
+ "-DSYSCONF_INSTALL_DIR:PATH=/usr/etc",
+ "-DSHARE_INSTALL_PREFIX:PATH=/usr/share",
+ "-DINCLUDE_INSTALL_DIR:PATH=/usr/include",
+ "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON",
+ "-DBUILD_SHARED_LIBS:BOOL=ON",
+ "-DENABLE_GTKDOC=OFF",
+ "-DENABLE_VIDEO=ON",
+ "-DENABLE_WEB_AUDIO=ON"
+ ],
+ "sources": [
{
"type": "archive",
"url": "http://www.webkitgtk.org/releases/webkitgtk-2.11.5.tar.xz",
@@ -629,11 +659,6 @@
{
"type": "patch",
"path": "webkitgtk-cmake-buildapi.patch"
- },
- {
- "type": "file",
- "path": "webkitgtk-configure",
- "dest-filename": "configure"
}
]
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]