summaryrefslogtreecommitdiffstats
path: root/src/qtscxml.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtscxml.mk')
-rw-r--r--src/qtscxml.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/qtscxml.mk b/src/qtscxml.mk
new file mode 100644
index 0000000..ad0f6b1
--- /dev/null
+++ b/src/qtscxml.mk
@@ -0,0 +1,23 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := qtscxml
+$(PKG)_IGNORE :=
+$(PKG)_VERSION = $(qtbase_VERSION)
+$(PKG)_CHECKSUM := 370b13d76c9a2ddf05336e797edf7f54d41db6063e3b921e0825dd6dd26c51f1
+$(PKG)_SUBDIR = $(subst qtbase,qtscxml,$(qtbase_SUBDIR))
+$(PKG)_FILE = $(subst qtbase,qtscxml,$(qtbase_FILE))
+$(PKG)_URL = $(subst qtbase,qtscxml,$(qtbase_URL))
+$(PKG)_DEPS := gcc qtbase qtdeclarative
+
+define $(PKG)_UPDATE
+ echo $(qtbase_VERSION)
+endef
+
+define $(PKG)_BUILD
+ # invoke qmake with removed debug options as a workaround for
+ # https://bugreports.qt-project.org/browse/QTBUG-30898
+ cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' CONFIG-='debug debug_and_release'
+ $(MAKE) -C '$(1)' -j '$(JOBS)'
+ $(MAKE) -C '$(1)' -j 1 install
+endef