diff options
Diffstat (limited to 'plugins/examples/qt5-freeze/qtwebkit.mk')
-rw-r--r-- | plugins/examples/qt5-freeze/qtwebkit.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/examples/qt5-freeze/qtwebkit.mk b/plugins/examples/qt5-freeze/qtwebkit.mk new file mode 100644 index 0000000..62a7832 --- /dev/null +++ b/plugins/examples/qt5-freeze/qtwebkit.mk @@ -0,0 +1,25 @@ +# This file is part of MXE. See LICENSE.md for licensing information. + +PKG := qtwebkit +$(PKG)_WEBSITE := http://qt-project.org/ +$(PKG)_DESCR := Qt +$(PKG)_IGNORE := +$(PKG)_VERSION = $(qtbase_VERSION) +$(PKG)_CHECKSUM := a46cf7c89339645f94a5777e8ae5baccf75c5fc87ab52c9dafc25da3327b5f03 +$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/$(PKG)-[0-9]*.patch))) +$(PKG)_SUBDIR = $(subst qtbase,qtwebkit,$(qtbase_SUBDIR)) +$(PKG)_FILE = $(subst qtbase,qtwebkit,$(qtbase_FILE)) +$(PKG)_URL = $(subst /submodules/,/,$(subst official_releases/qt,community_releases,$(subst qtbase,qtwebkit,$(qtbase_URL)))) +$(PKG)_DEPS := gcc qtbase qtmultimedia sqlite + +define $(PKG)_UPDATE + echo $(qtbase_VERSION) +endef + +define $(PKG)_BUILD_SHARED + # looks for build tools with .exe suffix and tries to use win_flex + $(SED) -i 's,\.exe,,' '$(1)/Tools/qmake/mkspecs/features/functions.prf' + cd '$(1)' && mkdir -p .git && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' FLEX=flex + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install +endef |