mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 22:50:23 -05:00
gnu: musescore: Fix build.
* gnu/packages/music.scm (musescore)[snippet]: Remove crashpad_handler and associated install actions. [arguments]<#:configure-flags>: Add “-DBUILD_DIAGNOSTICS=OFF”. [inputs]: Add qtquickcontrols-5. Co-authored-by: Vivien Kraus <vivien@planete-kraus.eu> Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
05e4efe0c8
commit
5281bcc858
1 changed files with 8 additions and 2 deletions
|
@ -4787,14 +4787,19 @@ (define-public musescore
|
|||
(base32 "16rcwr6fzghv8100syzicabqg8jqvng3zzsi6h3ja4zkp9hcbkcr"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
;; Remove unused libraries.
|
||||
'(begin
|
||||
;; Remove unused libraries...
|
||||
(for-each delete-file-recursively
|
||||
'("thirdparty/freetype"))))))
|
||||
'("thirdparty/freetype"))
|
||||
;; ... and precompiled binaries.
|
||||
(delete-file-recursively "src/diagnostics/crashpad_handler")
|
||||
(substitute* "src/diagnostics/CMakeLists.txt"
|
||||
(("install") "#install"))))))
|
||||
(build-system qt-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
`("-DDOWNLOAD_SOUNDFONT=OFF"
|
||||
"-DBUILD_DIAGNOSTICS=OFF"
|
||||
"-DMUSESCORE_BUILD_CONFIG=release"
|
||||
"-DUSE_SYSTEM_FREETYPE=ON")
|
||||
;; There are tests, but no simple target to run. The command used to
|
||||
|
@ -4825,6 +4830,7 @@ (define-public musescore
|
|||
qtdeclarative-5
|
||||
qtgraphicaleffects
|
||||
qtnetworkauth-5
|
||||
qtquickcontrols-5
|
||||
qtquickcontrols2-5
|
||||
qtscript
|
||||
qtsvg-5
|
||||
|
|
Loading…
Reference in a new issue