changeset 5133:30b1469591b6

Add qttranslations (Bug #56614) * src/qttranslations.mk: new file * dist-files.mk: added ref to new file * changed index.html: added qttranslations link
author John Donoghue
date Wed, 31 Jul 2019 15:34:53 -0400
parents 0c1f94bce4e7
children 0ff5f24c0862
files dist-files.mk index.html src/qttranslations.mk
diffstat 3 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 \
--- 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 @@
         <td class="website"><a href="http://qt.nokia.com/">Qt5 base</a></td>
     </tr>
     <tr>
+        <td class="package">qttranslations</td>
+        <td class="website"><a href="http://qt.nokia.com/">Qt5 qttranslations</a></td>
+    </tr>
+    <tr>
         <td class="package">qttools</td>
         <td class="website"><a href="http://qt.nokia.com/">Qt5 tools</a></td>
     </tr>
--- /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
+