gnu: musescore: Update to 4.0.

* gnu/packages/music.scm (musescore): Update to 4.0.
[snippet]: Do not remove non-existing directories.
[arguments]<#:configure-flags>: Do not mention non-existing flags.
[native-inputs]: Add GIT-MINIMAL.
[inputs]: Add PYTHON, QTNETWORKAUTH-5, QTX11EXTRAS.
[license]: Switch to GPL3.
This commit is contained in:
Nicolas Goaziou 2022-12-14 18:19:49 +01:00
parent ced3be2b56
commit 9f93bcd186
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -4775,7 +4775,7 @@ (define-public sfizz
(define-public musescore
(package
(name "musescore")
(version "3.6.2")
(version "4.0")
(source
(origin
(method git-fetch)
@ -4784,22 +4784,17 @@ (define-public musescore
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0szvb6mlzy9df9lrq546rrpixa480knzij1wgh6ilflxz87q048q"))
(base32 "16rcwr6fzghv8100syzicabqg8jqvng3zzsi6h3ja4zkp9hcbkcr"))
(modules '((guix build utils)))
(snippet
;; Remove unused libraries.
'(begin
(for-each delete-file-recursively
'("thirdparty/freetype"
"thirdparty/openssl"
"thirdparty/portmidi"
"thirdparty/qt-google-analytics"))))))
'("thirdparty/freetype"))))))
(build-system qt-build-system)
(arguments
`(#:configure-flags
`("-DBUILD_TELEMETRY_MODULE=OFF" ;don't phone home
"-DBUILD_WEBENGINE=OFF"
"-DDOWNLOAD_SOUNDFONT=OFF"
`("-DDOWNLOAD_SOUNDFONT=OFF"
"-DMUSESCORE_BUILD_CONFIG=release"
"-DUSE_SYSTEM_FREETYPE=ON")
;; There are tests, but no simple target to run. The command used to
@ -4811,6 +4806,8 @@ (define-public musescore
;; Basically, it requires to start a whole new build process.
;; So we simply skip them.
#:tests? #f))
(native-inputs
(list git-minimal pkg-config qttools-5))
(inputs
(list alsa-lib
freetype
@ -4823,15 +4820,16 @@ (define-public musescore
portaudio
portmidi
pulseaudio
python
qtbase-5
qtdeclarative-5
qtgraphicaleffects
qtnetworkauth-5
qtquickcontrols2-5
qtscript
qtsvg-5
qtx11extras
qtxmlpatterns))
(native-inputs
(list pkg-config qttools-5))
(synopsis "Music composition and notation software")
(description
"MuseScore is a music score typesetter. Its main purpose is the creation
@ -4846,7 +4844,7 @@ (define-public musescore
MuseScore can also play back scores through the built-in sequencer and SoundFont
sample library.")
(home-page "https://musescore.org")
(license license:gpl2)))
(license license:gpl3)))
(define-public muse-sequencer
(package