summaryrefslogtreecommitdiffstats
path: root/plugins/examples/qt5-freeze/qtactiveqt.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-07-20 00:56:39 (GMT)
committerGitHub <noreply@github.com>2017-07-20 00:56:39 (GMT)
commit4c73564d63345b35141de60fd2fa3805ecb8b1db (patch)
tree370521b53db0771dc4ebe9a26e643ab26e019c9e /plugins/examples/qt5-freeze/qtactiveqt.mk
parent7cde6141a4e27f44ed8d51f38fd50b0892bb312a (diff)
parent9f793b72dce2430eb9cf8af055701ca2de5c8232 (diff)
downloadmxe-4c73564d63345b35141de60fd2fa3805ecb8b1db.zip
mxe-4c73564d63345b35141de60fd2fa3805ecb8b1db.tar.gz
mxe-4c73564d63345b35141de60fd2fa3805ecb8b1db.tar.bz2
Merge pull request #1828 from tonytheodore/qt5-freeze
add qt5 freeze example plugin (e.g. winxp support)
Diffstat (limited to 'plugins/examples/qt5-freeze/qtactiveqt.mk')
-rw-r--r--plugins/examples/qt5-freeze/qtactiveqt.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/examples/qt5-freeze/qtactiveqt.mk b/plugins/examples/qt5-freeze/qtactiveqt.mk
new file mode 100644
index 0000000..d01e814
--- /dev/null
+++ b/plugins/examples/qt5-freeze/qtactiveqt.mk
@@ -0,0 +1,23 @@
+# This file is part of MXE. See LICENSE.md for licensing information.
+
+PKG := qtactiveqt
+$(PKG)_WEBSITE := http://qt-project.org/
+$(PKG)_DESCR := Qt
+$(PKG)_IGNORE :=
+$(PKG)_VERSION = $(qtbase_VERSION)
+$(PKG)_CHECKSUM := 0c09920de273fa12e40f6486a4715267e2fe54991303b6ddfdac69fe9a24a1d5
+$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/$(PKG)-[0-9]*.patch)))
+$(PKG)_SUBDIR = $(subst qtbase,qtactiveqt,$(qtbase_SUBDIR))
+$(PKG)_FILE = $(subst qtbase,qtactiveqt,$(qtbase_FILE))
+$(PKG)_URL = $(subst qtbase,qtactiveqt,$(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