Subject: [PATCH] gnu: chessx: Update to 1.5.6.
From: Michael Rohleder <[email-masked]>
To: [email-masked]
Cc: Michael Rohleder <[email-masked]>
Date: Mon, 1 Mar 2021 23:23:15 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/games.scm (chessx): Update to 1.5.6.
[arguments]: Remove now unneeded build fix.
---
 gnu/packages/games.scm | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 14b6868a0e..74d04ad502 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -51,7 +51,7 @@
 ;;; Copyright © 2020 Vitaliy Shatrov <[email-masked]>
 ;;; Copyright © 2020 Jack Hill <[email-masked]>
 ;;; Copyright © 2020 Vincent Legoll <[email-masked]>
-;;; Copyright © 2020 Michael Rohleder <[email-masked]>
+;;; Copyright © 2020, 2021 Michael Rohleder <[email-masked]>
 ;;; Copyright © 2020 Trevor Hass <[email-masked]>
 ;;; Copyright © 2020, 2021 Leo Prikler <[email-masked]>
 ;;; Copyright © 2020 Lu hux <[email-masked]>
@@ -11794,14 +11794,14 @@ and chess engines.")
 (define-public chessx
   (package
     (name "chessx")
-    (version "1.5.4")
+    (version "1.5.6")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "mirror://sourceforge/chessx/chessx/"
                            version "/chessx-" version ".tgz"))
        (sha256
-        (base32 "1a3541vl5hp6jllgx998w9kjh9kp3wrl80yfwkxmq1bc5bzsrnz2"))))
+        (base32 "01fjchil2h6ry2ywr0dwjw2g7zd29580cr4c74d5z74h999lp6nh"))))
     (build-system qt-build-system)
     (native-inputs
      `(("qttools" ,qttools)))
@@ -11819,12 +11819,7 @@ and chess engines.")
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "chessx.pro"
                (("\\$\\$\\[QT_INSTALL_BINS\\]/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"))
+                (string-append (assoc-ref inputs "qttools") "/bin/lrelease")))
              #t))
          (add-after 'fix-paths 'make-qt-deterministic
            (lambda _
-- 
2.30.1