gnu: musescore: Update to 2.2.

* gnu/packages/music.scm (musescore): Update to 2.2.
[arguments]: Use new flag for freetype and remove corresponding fix.  Prevent
downloading sound fonts during installation.
[inputs]: Add portmidi.
This commit is contained in:
Nicolas Goaziou 2018-04-02 23:21:13 +02:00
parent a374d9c9b0
commit b3891a25f8
No known key found for this signature in database
GPG Key ID: A834B9E080A93738
1 changed files with 7 additions and 13 deletions

View File

@ -3482,7 +3482,7 @@ audio samples and various soft sythesizers. It can receive input from a MIDI ke
(define-public musescore (define-public musescore
(package (package
(name "musescore") (name "musescore")
(version "2.1.0") (version "2.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -3491,7 +3491,7 @@ audio samples and various soft sythesizers. It can receive input from a MIDI ke
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0irwsq6ihfz3y3b943cwqy29g3si7gqbgxdscgw53vwv9vfvi085")) "1qnmmh05z1kzcwa8vddywrxs8g7zvp5vpwz4v7w7c135hjwrb6jy"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Un-bundle OpenSSL and remove unused libraries. ;; Un-bundle OpenSSL and remove unused libraries.
@ -3509,7 +3509,9 @@ audio samples and various soft sythesizers. It can receive input from a MIDI ke
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags `(#:make-flags
`(,(string-append "PREFIX=" (assoc-ref %outputs "out"))) `(,(string-append "PREFIX=" (assoc-ref %outputs "out"))
"USE_SYSTEM_FREETYPE=ON"
"DOWNLOAD_SOUNDFONT=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:
;; ;;
@ -3521,16 +3523,7 @@ audio samples and various soft sythesizers. It can receive input from a MIDI ke
#:tests? #f #:tests? #f
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) (delete 'configure))))
(add-after 'unpack 'use-system-freetype
(lambda _
;; XXX: For the time being, we grossly insert the CMake
;; option needed to ignore bundled freetype. However,
;; there's a pending PR to have it as a regular make
;; option, in a future release.
(substitute* "Makefile"
(("cmake -DCMAKE") "cmake -DUSE_SYSTEM_FREETYPE=ON -DCMAKE"))
#t)))))
(inputs (inputs
`(("alsa-lib" ,alsa-lib) `(("alsa-lib" ,alsa-lib)
("freetype" ,freetype) ("freetype" ,freetype)
@ -3541,6 +3534,7 @@ audio samples and various soft sythesizers. It can receive input from a MIDI ke
("libsndfile" ,libsndfile) ("libsndfile" ,libsndfile)
("libvorbis" ,libvorbis) ("libvorbis" ,libvorbis)
("portaudio" ,portaudio) ("portaudio" ,portaudio)
("portmidi" ,portmidi)
("pulseaudio" ,pulseaudio) ("pulseaudio" ,pulseaudio)
("qtbase" ,qtbase) ("qtbase" ,qtbase)
("qtdeclarative" ,qtdeclarative) ("qtdeclarative" ,qtdeclarative)