gnu: musescore: Update to 3.0.

* gnu/packages/music.scm (musescore): Update to 3.0.
[build-system]: Switch to CMake build system.
[arguments]: Apply build system change.
[native-inputs]: Remove unnecessary "cmake" input.
This commit is contained in:
Nicolas Goaziou 2018-12-28 13:26:02 +01:00
parent 4bc00b5631
commit 11d44d0b2a
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 11 additions and 18 deletions

View File

@ -3610,7 +3610,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.3.2") (version "3.0")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -3619,7 +3619,7 @@ audio samples and various soft sythesizers. It can receive input from a MIDI ke
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0ncv0xfmq87plqa43cm0fpidlwzz1nq5s7h7139llrbc36yp3pr1")) "0g8n8xpw5d6wh8bwbvy12sinl9i0ir009sr28i4izr28lr4x8v50"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Un-bundle OpenSSL and remove unused libraries. ;; Un-bundle OpenSSL and remove unused libraries.
@ -3634,27 +3634,21 @@ audio samples and various soft sythesizers. It can receive input from a MIDI ke
"thirdparty/openssl" "thirdparty/openssl"
"thirdparty/portmidi")) "thirdparty/portmidi"))
#t)))) #t))))
(build-system gnu-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:make-flags `(#:configure-flags
`(,(string-append "PREFIX=" (assoc-ref %outputs "out")) `("-DUSE_SYSTEM_FREETYPE=ON"
"USE_SYSTEM_FREETYPE=ON" "-DBUILD_WEBENGINE=OFF"
"DOWNLOAD_SOUNDFONT=OFF" "-DDOWNLOAD_SOUNDFONT=OFF")
;; The following is not supported since Qt 5.11. May be removed in ;; There are tests, but no simple target to run. The command used to
;; a future release. ;; run them is:
"BUILD_WEBKIT=OFF")
;; There are tests, but no simple target to run. The command
;; used to run them is:
;; ;;
;; make debug && sudo make installdebug && cd \ ;; make debug && sudo make installdebug && cd \
;; build.debug/mtest && make && ctest ;; build.debug/mtest && make && ctest
;; ;;
;; Basically, it requires to start a whole new build process. ;; Basically, it requires to start a whole new build process.
;; So we simply skip them. ;; So we simply skip them.
#:tests? #f #:tests? #f))
#:phases
(modify-phases %standard-phases
(delete 'configure))))
(inputs (inputs
`(("alsa-lib" ,alsa-lib) `(("alsa-lib" ,alsa-lib)
("freetype" ,freetype) ("freetype" ,freetype)
@ -3673,8 +3667,7 @@ audio samples and various soft sythesizers. It can receive input from a MIDI ke
("qtsvg" ,qtsvg) ("qtsvg" ,qtsvg)
("qtxmlpatterns" ,qtxmlpatterns))) ("qtxmlpatterns" ,qtxmlpatterns)))
(native-inputs (native-inputs
`(("cmake" ,cmake) `(("pkg-config" ,pkg-config)
("pkg-config" ,pkg-config)
("qttools" ,qttools))) ("qttools" ,qttools)))
(synopsis "Music composition and notation software") (synopsis "Music composition and notation software")
(description "MuseScore is a music score typesetter. Its main purpose is (description "MuseScore is a music score typesetter. Its main purpose is