gnu: chessx: Update to 1.5.4.

* gnu/packages/games.scm (chessx): Update to 1.5.4,
[inputs]: add "qtspeech",
[arguments]: fix missing translations.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Michael Rohleder 2020-07-05 10:39:16 +02:00 committed by Mathieu Othacehe
parent f96c3bbe24
commit 5b87bacd54
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -11294,20 +11294,21 @@ (define-public eboard
(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 @@ (define-public chessx
(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 _