* Fri Jun 10 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.6.1-1 - Update to 5.6.1 - Rebase linux-pri patch (drop the parts already fixed upstream) - Drop backported chimera-nss-init patch, already applied upstream - Rebase no-sse2 patch (the core_module.pro change)
30 lines
1.4 KiB
Diff
30 lines
1.4 KiB
Diff
diff -ur qtwebengine-opensource-src-5.6.1/src/core/config/linux.pri qtwebengine-opensource-src-5.6.1-linux-pri/src/core/config/linux.pri
|
|
--- qtwebengine-opensource-src-5.6.1/src/core/config/linux.pri 2016-05-26 20:01:25.000000000 +0200
|
|
+++ qtwebengine-opensource-src-5.6.1-linux-pri/src/core/config/linux.pri 2016-06-11 01:17:26.494650774 +0200
|
|
@@ -46,3 +46,25 @@
|
|
use?(system_icu): GYP_CONFIG += use_system_icu=1 icu_use_data_file_flag=0
|
|
use?(system_ffmpeg): GYP_CONFIG += use_system_ffmpeg=1
|
|
|
|
+# some more system packages, that are not checked for for some reason
|
|
+GYP_CONFIG += \
|
|
+ use_system_expat=1 \
|
|
+ use_system_re2=1 \
|
|
+ use_system_protobuf=1
|
|
+
|
|
+# yasm is only used on x86, and passing use_system_yasm makes the build fail on
|
|
+# other architectures (e.g., ARM), so make it conditional on the architecture
|
|
+contains(QT_ARCH, "x86_64")|contains(QT_ARCH, "i386") {
|
|
+ GYP_CONFIG += use_system_yasm=1
|
|
+}
|
|
+
|
|
+# link libpci instead of dlopening it, our Qt packaging depends on it anyway
|
|
+GYP_CONFIG += linux_link_libpci=1
|
|
+
|
|
+# run the unbundling script Chromium provides
|
|
+CHROMIUM_SRC_DIR = "$$QTWEBENGINE_ROOT/$$getChromiumSrcDir()"
|
|
+R_G_F_PY = "$$CHROMIUM_SRC_DIR/build/linux/unbundle/replace_gyp_files.py"
|
|
+R_G_F_PY_ARGS =
|
|
+for (config, GYP_CONFIG): R_G_F_PY_ARGS += "-D $$config"
|
|
+log("Running python $$R_G_F_PY $$R_G_F_PY_ARGS$${EOL}")
|
|
+!system("python $$R_G_F_PY $$R_G_F_PY_ARGS"): error("-- unbundling failed")
|