summaryrefslogtreecommitdiffstats
path: root/src/qtwebchannel.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2014-12-06 00:35:22 (GMT)
committerMark Brand <mabrand@mabrand.nl>2014-12-06 02:13:02 (GMT)
commitfb586f07d7d5e65d9f176c63fc2c2234316ffa18 (patch)
tree7a1379e943df1ba7be54bf9ab66aa1dcd8e7d97e /src/qtwebchannel.mk
parentb5249edbb7844f0fabb84d06bdd51323ec8b09a3 (diff)
downloadmxe-fb586f07d7d5e65d9f176c63fc2c2234316ffa18.zip
mxe-fb586f07d7d5e65d9f176c63fc2c2234316ffa18.tar.gz
mxe-fb586f07d7d5e65d9f176c63fc2c2234316ffa18.tar.bz2
new qt5 modules: qtwebchannel and qtwebengine
Diffstat (limited to 'src/qtwebchannel.mk')
-rw-r--r--src/qtwebchannel.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/qtwebchannel.mk b/src/qtwebchannel.mk
new file mode 100644
index 0000000..d7f6344
--- /dev/null
+++ b/src/qtwebchannel.mk
@@ -0,0 +1,22 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := qtwebchannel
+$(PKG)_IGNORE :=
+$(PKG)_VERSION = $(qtbase_VERSION)
+$(PKG)_CHECKSUM := fc40a24c4aa5df2d0719d238e176b55cf33b86ae
+$(PKG)_SUBDIR = $(subst qtbase,qtwebchannel,$(qtbase_SUBDIR))
+$(PKG)_FILE = $(subst qtbase,qtwebchannel,$(qtbase_FILE))
+$(PKG)_URL = $(subst qtbase,qtwebchannel,$(qtbase_URL))
+$(PKG)_DEPS := gcc qtbase qtdeclarative qtwebsockets
+
+define $(PKG)_UPDATE
+ echo $(qtbase_VERSION)
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake'
+ $(MAKE) -C '$(1)' -j '$(JOBS)'
+ $(MAKE) -C '$(1)' -j 1 install
+endef
+