mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: chessx: Add Wayland.
* gnu/packages/games.scm (chessx)[inputs]: Add qtwayland-5.
[arguments]<#:phases>{fix-library-paths}: New phase.
Change-Id: If2ed48442fdcdf51b0d6b8d1a1620227c25be518
This commit is contained in:
parent
0a27a3d5fb
commit
538d0218c4
1 changed files with 9 additions and 2 deletions
|
|
@ -11744,7 +11744,7 @@ and chess engines.")
|
|||
(native-inputs
|
||||
(list qttools-5))
|
||||
(inputs
|
||||
(list qtbase-5 qtmultimedia-5 qtspeech-5 qtsvg-5 zlib))
|
||||
(list qtbase-5 qtmultimedia-5 qtspeech-5 qtsvg-5 qtwayland-5 zlib))
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f
|
||||
|
|
@ -11758,7 +11758,14 @@ and chess engines.")
|
|||
(substitute* "chessx.pro"
|
||||
(("\\$\\$\\[QT_INSTALL_BINS\\]/lrelease")
|
||||
(search-input-file inputs "/bin/lrelease")))))
|
||||
(add-after 'fix-paths 'make-qt-deterministic
|
||||
(add-after 'fix-paths 'fix-library-paths
|
||||
(lambda _
|
||||
;; Otherwise it won't find the wayland shell integration
|
||||
;; or qt plugin for wayland-egl.
|
||||
(substitute* "src/gui/main.cpp"
|
||||
(("QApplication::setLibraryPaths\\(l\\);")
|
||||
"/* QApplication::setLibraryPaths(l); */"))))
|
||||
(add-after 'fix-library-paths 'make-qt-deterministic
|
||||
(lambda _
|
||||
(setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")))
|
||||
(add-after 'make-qt-deterministic 'disable-versioncheck
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue