summaryrefslogtreecommitdiffstats
path: root/plugins/examples/qt5-freeze/qtxmlpatterns.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-07-19 05:22:57 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-07-19 05:58:24 (GMT)
commit9f793b72dce2430eb9cf8af055701ca2de5c8232 (patch)
tree2502de3de9214bb34e3934ab0b6bf99b8b334e04 /plugins/examples/qt5-freeze/qtxmlpatterns.mk
parent56acbc69c3bc4c4b3bcf6a798e6f7398c78d0e08 (diff)
downloadmxe-9f793b72dce2430eb9cf8af055701ca2de5c8232.zip
mxe-9f793b72dce2430eb9cf8af055701ca2de5c8232.tar.gz
mxe-9f793b72dce2430eb9cf8af055701ca2de5c8232.tar.bz2
add qt5 freeze example plugin (e.g. winxp support)
Diffstat (limited to 'plugins/examples/qt5-freeze/qtxmlpatterns.mk')
-rw-r--r--plugins/examples/qt5-freeze/qtxmlpatterns.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/examples/qt5-freeze/qtxmlpatterns.mk b/plugins/examples/qt5-freeze/qtxmlpatterns.mk
new file mode 100644
index 0000000..6f6af7b
--- /dev/null
+++ b/plugins/examples/qt5-freeze/qtxmlpatterns.mk
@@ -0,0 +1,23 @@
+# This file is part of MXE. See LICENSE.md for licensing information.
+
+PKG := qtxmlpatterns
+$(PKG)_WEBSITE := http://qt-project.org/
+$(PKG)_DESCR := Qt
+$(PKG)_IGNORE :=
+$(PKG)_VERSION = $(qtbase_VERSION)
+$(PKG)_CHECKSUM := a805938c2ab1379d7dc83dcec606edd7950b5155c073b9eb53c53e62deb5f8e5
+$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/$(PKG)-[0-9]*.patch)))
+$(PKG)_SUBDIR = $(subst qtbase,qtxmlpatterns,$(qtbase_SUBDIR))
+$(PKG)_FILE = $(subst qtbase,qtxmlpatterns,$(qtbase_FILE))
+$(PKG)_URL = $(subst qtbase,qtxmlpatterns,$(qtbase_URL))
+$(PKG)_DEPS := gcc qtbase
+
+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