gnu: chessx: Disable online version check by default.

* gnu/packages/games.scm (chessx)[arguments]: Add phase to disable
the online version check by default.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Michael Rohleder 2021-05-01 01:29:00 +02:00 committed by Ludovic Courtès
parent 8e637fb548
commit 62b4cc14f8
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -11907,6 +11907,12 @@ (define-public chessx
(lambda _
(setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
#t))
(add-after 'make-qt-deterministic 'disable-versioncheck
(lambda _
(substitute* "src/database/settings.cpp"
(("\"/General/onlineVersionCheck\", true")
"\"/General/onlineVersionCheck\", false"))
#t))
(replace 'configure
(lambda _
(invoke "qmake")