summaryrefslogtreecommitdiffstats
path: root/src/qtwebkit.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-02-16 15:24:20 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-02-16 15:24:20 (GMT)
commit927f87ba401d57a8a8931c681985b9571da8fa16 (patch)
tree3de4f527cb2d882a88c544de2c720bf38c430b75 /src/qtwebkit.mk
parent4777ef22e2b946db1a570ee3c6cbcd6ec9c23cef (diff)
downloadmxe-927f87ba401d57a8a8931c681985b9571da8fa16.zip
mxe-927f87ba401d57a8a8931c681985b9571da8fa16.tar.gz
mxe-927f87ba401d57a8a8931c681985b9571da8fa16.tar.bz2
add package qtwebkit
Diffstat (limited to 'src/qtwebkit.mk')
-rw-r--r--src/qtwebkit.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/qtwebkit.mk b/src/qtwebkit.mk
new file mode 100644
index 0000000..fa38fe1
--- /dev/null
+++ b/src/qtwebkit.mk
@@ -0,0 +1,23 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := qtwebkit
+$(PKG)_IGNORE :=
+$(PKG)_VERSION = $(qtbase_VERSION)
+$(PKG)_CHECKSUM := a3c6749c66d0192ef286c8a08c325124d52d9bc2
+$(PKG)_SUBDIR = $(subst qtbase,qtwebkit,$(qtbase_SUBDIR))
+$(PKG)_FILE = $(subst qtbase,qtwebkit,$(qtbase_FILE))
+$(PKG)_URL = $(subst qtbase,qtwebkit,$(qtbase_URL))
+$(PKG)_DEPS := gcc qtbase qtmultimedia qtquick1
+
+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)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' FLEX=flex
+ $(MAKE) -C '$(1)' -j '$(JOBS)'
+ $(MAKE) -C '$(1)' -j 1 install
+endef