diff options
author | Mark Brand <mabrand@mabrand.nl> | 2016-03-17 10:41:32 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2016-03-19 13:52:08 (GMT) |
commit | 3d9f6e1d16350bb169dcd0ce0d9dda2c16dafbba (patch) | |
tree | ac91b7cd7001d7a5b8acd55e76dcf09502aaf200 /src/qtwebkit.mk | |
parent | 0a89a58bb7ed0a660f035ed479e199608933dc4d (diff) | |
download | mxe-3d9f6e1d16350bb169dcd0ce0d9dda2c16dafbba.zip mxe-3d9f6e1d16350bb169dcd0ce0d9dda2c16dafbba.tar.gz mxe-3d9f6e1d16350bb169dcd0ce0d9dda2c16dafbba.tar.bz2 |
qtwebkit: restore package
The Qt project decided to publish the qtwebkit tarball as a
"community release".
Diffstat (limited to 'src/qtwebkit.mk')
-rw-r--r-- | src/qtwebkit.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/qtwebkit.mk b/src/qtwebkit.mk new file mode 100644 index 0000000..6c7af6c --- /dev/null +++ b/src/qtwebkit.mk @@ -0,0 +1,25 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := qtwebkit +$(PKG)_IGNORE := +$(PKG)_VERSION = $(qtbase_VERSION) +$(PKG)_CHECKSUM := d5c4daac8eef1b24290cda59db432ccc390761af17661f64f3028482647521a1 +$(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' + # invoke qmake with removed debug options as a workaround for + # https://bugreports.qt-project.org/browse/QTBUG-30898 + cd '$(1)' && mkdir -p .git && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' FLEX=flex CONFIG-='debug debug_and_release' + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install +endef |