gnu: musescore: Update to 2.3.
* gnu/packages/music.scm (musescore): Update to 2.3. [source]: Switch to a more stable location. [arguments]: Remove a fix applied upstream.
This commit is contained in:
parent
dfee30c7ea
commit
545ceac801
|
@ -3513,16 +3513,16 @@ (define-public lmms
|
||||||
(define-public musescore
|
(define-public musescore
|
||||||
(package
|
(package
|
||||||
(name "musescore")
|
(name "musescore")
|
||||||
(version "2.2.1")
|
(version "2.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append
|
(uri (git-reference
|
||||||
"https://github.com/musescore/MuseScore/archive/"
|
(url "https://github.com/musescore/MuseScore.git")
|
||||||
"v" version ".tar.gz"))
|
(commit (string-append "v" version))))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1ml99ayzpdyd18cypcp0lbsbasfg3abw57i5fl7ph5739vikj6i6"))
|
"1y5x0a40x7ji4g4181adm95qxk2dfjiy5xb5wksps90ji9q2qlcs"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
;; Un-bundle OpenSSL and remove unused libraries.
|
;; Un-bundle OpenSSL and remove unused libraries.
|
||||||
|
@ -3543,8 +3543,8 @@ (define-public musescore
|
||||||
`(,(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
`(,(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
"USE_SYSTEM_FREETYPE=ON"
|
"USE_SYSTEM_FREETYPE=ON"
|
||||||
"DOWNLOAD_SOUNDFONT=OFF"
|
"DOWNLOAD_SOUNDFONT=OFF"
|
||||||
;; The following is not supported since Qt 5.11. Can be
|
;; The following is not supported since Qt 5.11. May be removed in
|
||||||
;; removed in Musescore 2.2.2+.
|
;; a future release.
|
||||||
"BUILD_WEBKIT=OFF")
|
"BUILD_WEBKIT=OFF")
|
||||||
;; There are tests, but no simple target to run. The command
|
;; There are tests, but no simple target to run. The command
|
||||||
;; used to run them is:
|
;; used to run them is:
|
||||||
|
@ -3557,14 +3557,6 @@ (define-public musescore
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
;; Fix Qt 5.11 upgrade. Should be fixed in 2.2.2+, see:
|
|
||||||
;; <https://github.com/musescore/MuseScore/commit/d10e70415c8e52e2ba9d45de564467e42f66c102>
|
|
||||||
(add-after 'unpack 'patch-sources
|
|
||||||
(lambda _
|
|
||||||
(substitute* "all.h"
|
|
||||||
(("#include <QRadioButton>") "#include <QRadioButton>
|
|
||||||
#include <QButtonGroup>"))
|
|
||||||
#t))
|
|
||||||
(delete 'configure))))
|
(delete 'configure))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("alsa-lib" ,alsa-lib)
|
`(("alsa-lib" ,alsa-lib)
|
||||||
|
|
Loading…
Reference in a new issue