# HG changeset patch
# User John Donoghue
# Date 1564601693 14400
# Node ID 30b1469591b673d6951a986c86e4c96701e85d42
# Parent 0c1f94bce4e7708c9913410c13e8426555cb59f9
Add qttranslations (Bug #56614)
* src/qttranslations.mk: new file
* dist-files.mk: added ref to new file
* changed index.html: added qttranslations link
diff -r 0c1f94bce4e7 -r 30b1469591b6 dist-files.mk
--- a/dist-files.mk Tue Jul 30 08:06:51 2019 -0400
+++ b/dist-files.mk Wed Jul 31 15:34:53 2019 -0400
@@ -619,6 +619,7 @@
qtimageformats-1.patch \
qtimageformats.mk \
qtsvg.mk \
+ qttranslations.mk \
qttools-1.patch \
qttools.mk \
qwt-1-fixes.patch \
diff -r 0c1f94bce4e7 -r 30b1469591b6 index.html
--- a/index.html Tue Jul 30 08:06:51 2019 -0400
+++ b/index.html Wed Jul 31 15:34:53 2019 -0400
@@ -2534,6 +2534,10 @@
Qt5 base |
+ qttranslations |
+ Qt5 qttranslations |
+
+
qttools |
Qt5 tools |
diff -r 0c1f94bce4e7 -r 30b1469591b6 src/qttranslations.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/qttranslations.mk Wed Jul 31 15:34:53 2019 -0400
@@ -0,0 +1,21 @@
+# This file is part of MXE. See LICENSE.md for licensing information.
+
+PKG := qttranslations
+$(PKG)_IGNORE :=
+$(PKG)_VERSION = $(qtbase_VERSION)
+$(PKG)_CHECKSUM := ab726c8311749191a7fcdef5aa317ee72779e983
+$(PKG)_SUBDIR = $(subst qtbase,qttranslations,$(qtbase_SUBDIR))
+$(PKG)_FILE = $(subst qtbase,qttranslations,$(qtbase_FILE))
+$(PKG)_URL = $(subst qtbase,qttranslations,$(qtbase_URL))
+$(PKG)_DEPS := qtbase qttools
+
+define $(PKG)_UPDATE
+ echo $(qtbase_VERSION)
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && '$(MXE_QMAKE)'
+ $(MAKE) -C '$(1)' -j '$(JOBS)'
+ $(MAKE) -C '$(1)' -j 1 install
+endef
+