civodul pushed a commit to branch master
in repository guix.
commit 62b4cc14f882553a824d32848a6ebe503fd11320
Author: Michael Rohleder <[email protected]>
AuthorDate: Sat May 1 01:29:00 2021 +0200
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 <[email protected]>
---
gnu/packages/games.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index f12f2bc..41d8ea7 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -11907,6 +11907,12 @@ and chess engines.")
(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")