Subject: [PATCH] gnu: chessx: Update to 1.5.4.

From: Michael Rohleder <[email-masked]>
Date: Sun, 05 Jul 2020 10:39:16 +0200

From 806a8274057ebfb69960779ca1736c36c9b6edbb Mon Sep 17 00:00:00 2001
From: Michael Rohleder <[email-masked]>
Date: Sun, 5 Jul 2020 10:37:10 +0200
Subject: [PATCH] gnu: chessx: Update to 1.5.4.

* gnu/packages/games.scm (chessx): Update to 1.5.4.
---
 gnu/packages/games.scm | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c062729f89..d67ff17e3f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -11294,20 +11294,21 @@ and chess engines.")
 (define-public chessx
   (package
     (name "chessx")
-    (version "1.5.0")
+    (version "1.5.4")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://sourceforge/chessx/chessx/"
                            version "/chessx-" version ".tgz"))
        (sha256
-        (base32 "09rqyra28w3z9ldw8sx07k5ap3sjlli848p737maj7c240rasc6i"))))
+        (base32 "1a3541vl5hp6jllgx998w9kjh9kp3wrl80yfwkxmq1bc5bzsrnz2"))))
     (build-system qt-build-system)
     (native-inputs
      `(("qttools" ,qttools)))
     (inputs
      `(("qtbase" ,qtbase)
        ("qtmultimedia" ,qtmultimedia)
+       ("qtspeech" ,qtspeech)
        ("qtsvg" ,qtsvg)
        ("zlib" ,zlib)))
     (arguments
@@ -11318,7 +11319,12 @@ and chess engines.")
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "chessx.pro"
                (("\\$\\$\\[QT_INSTALL_BINS\\]/lrelease")
-                (string-append (assoc-ref inputs "qttools") "/bin/lrelease")))
+                (string-append (assoc-ref inputs "qttools") "/bin/lrelease"))
+               ;; fix missing translations
+               (("TRANSLATIONS = i18n/chessx_de.ts")
+                "TRANSLATIONS = i18n/chessx_de.ts i18n/chessx_da.ts \\
+i18n/chessx_fr.ts i18n/chessx_it.ts i18n/chessx_cz.ts i18n/chessx_ru.ts \\
+i18n/chessx_es.ts"))
              #t))
          (add-after 'fix-paths 'make-qt-deterministic
            (lambda _
-- 
2.27.0

-- 
"Auf einer Skala von 1 bis 10, wie gerne diskutieren Sie?"
"Geht auch 11?"
"Nein!"
"Warum nicht?"