summaryrefslogtreecommitdiffstats
path: root/src/qtwebkit.mk
diff options
context:
space:
mode:
authorBoris Pek <tehnick-8@yandex.ru>2018-06-21 16:01:26 (GMT)
committerTony Theodore <tonyt@logyst.com>2019-01-11 07:24:50 (GMT)
commitcd73b2418f2ee62da2c876bfca15c33aef1979bc (patch)
treee584129e39d73b1fac47c35f589fdacb87caeee8 /src/qtwebkit.mk
parent698001de0249ac72d03e83c4195549ef9347b5f5 (diff)
downloadmxe-cd73b2418f2ee62da2c876bfca15c33aef1979bc.zip
mxe-cd73b2418f2ee62da2c876bfca15c33aef1979bc.tar.gz
mxe-cd73b2418f2ee62da2c876bfca15c33aef1979bc.tar.bz2
update qtwebkit
(Closes #2070, #2160)
Diffstat (limited to 'src/qtwebkit.mk')
-rw-r--r--src/qtwebkit.mk36
1 files changed, 22 insertions, 14 deletions
diff --git a/src/qtwebkit.mk b/src/qtwebkit.mk
index d5e54ef..f53c444 100644
--- a/src/qtwebkit.mk
+++ b/src/qtwebkit.mk
@@ -1,23 +1,31 @@
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := qtwebkit
-$(PKG)_WEBSITE := https://www.qt.io/
-$(PKG)_DESCR := Qt
+$(PKG)_WEBSITE := https://github.com/annulen/webkit
+$(PKG)_DESCR := QtWebKit
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 5.9.1
-$(PKG)_CHECKSUM := 28a560becd800a4229bfac317c2e5407cd3cc95308bc4c3ca90dba2577b052cf
-$(PKG)_SUBDIR := $(PKG)-opensource-src-$($(PKG)_VERSION)
-$(PKG)_FILE := $(PKG)-opensource-src-$($(PKG)_VERSION).tar.xz
-$(PKG)_URL := https://download.qt.io/official_releases/qt/5.9/$($(PKG)_VERSION)/submodules/$($(PKG)_FILE)
-$(PKG)_DEPS := cc qtbase qtmultimedia qtquickcontrols sqlite
-
-define $(PKG)_UPDATE
- echo $(qtbase_VERSION)
-endef
+$(PKG)_VERSION := 5.212
+$(PKG)_CHECKSUM := 283b907ea324a2c734e3983c73fc27dbd8b33e2383c583de41842ee84d648a3e
+$(PKG)_SUBDIR := qtwebkit-everywhere-src-$($(PKG)_VERSION)
+$(PKG)_FILE := qtwebkit-everywhere-src-$($(PKG)_VERSION).tar.xz
+$(PKG)_URL := https://download.qt.io/snapshots/ci/qtwebkit/$($(PKG)_VERSION)/latest/src/submodules/$($(PKG)_FILE)
+$(PKG)_DEPS := cc libxml2 libxslt libwebp qtbase qtmultimedia qtquickcontrols \
+ qtsensors qtwebchannel sqlite
define $(PKG)_BUILD_SHARED
- cd '$(BUILD_DIR)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' '$(SOURCE_DIR)'
- $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
+ cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
+ -DCMAKE_INSTALL_PREFIX=$(PREFIX)/$(TARGET)/qt5 \
+ -DCMAKE_CXX_FLAGS='-fpermissive' \
+ -DEGPF_DEPS='Qt5Core Qt5Gui Qt5Multimedia Qt5Widgets Qt5WebKit' \
+ -DPORT=Qt \
+ -DENABLE_GEOLOCATION=OFF \
+ -DENABLE_MEDIA_SOURCE=ON \
+ -DENABLE_VIDEO=ON \
+ -DENABLE_WEB_AUDIO=ON \
+ -DUSE_GSTREAMER=OFF \
+ -DUSE_MEDIA_FOUNDATION=OFF \
+ -DUSE_QT_MULTIMEDIA=ON
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' VERBOSE=1
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
# build test manually