me
/
guix
Archived
1
0
Fork 0

gnu: rosegarden: Update to 21.06.1.

* gnu/packages/music.scm (rosegarden): Update to 21.06.1.
master
Nicolas Goaziou 2021-07-26 09:41:22 +02:00
parent 16f0bdf5f0
commit 778af012ef
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 9 additions and 12 deletions

View File

@ -5126,14 +5126,15 @@ specification and header.")
(define-public rosegarden (define-public rosegarden
(package (package
(name "rosegarden") (name "rosegarden")
(version "21.06") (version "21.06.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://sourceforge/rosegarden/rosegarden/" (uri (string-append "mirror://sourceforge/rosegarden/rosegarden/"
version "/rosegarden-" version ".tar.bz2")) (version-major+minor version) "/"
"rosegarden-" version ".tar.bz2"))
(sha256 (sha256
(base32 "0rhbmygzh62hc3mkq60lh9r28wvfkhzzd5kspl1ll0h1ipjgvr6d")))) (base32 "0yir279gxc5b298sr0fg9jxgdi75bb1gvvy4mh3pxqjsnp00sxc7"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release") `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release")
@ -5144,8 +5145,7 @@ specification and header.")
(substitute* "CMakeLists.txt" (substitute* "CMakeLists.txt"
(("BUILD_TESTING OFF") "BUILD_TESTING ON") (("BUILD_TESTING OFF") "BUILD_TESTING ON")
;; Make tests work. ;; Make tests work.
((" -fvisibility=hidden") "")) ((" -fvisibility=hidden") ""))))
#t))
(add-after 'unpack 'fix-references (add-after 'unpack 'fix-references
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/gui/general/ProjectPackager.cpp" (substitute* "src/gui/general/ProjectPackager.cpp"
@ -5163,8 +5163,7 @@ specification and header.")
(("\"convert-ly\\>") (("\"convert-ly\\>")
(string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly")) (string-append "\"" (assoc-ref inputs "lilypond") "/bin/convert-ly"))
(("\"lilypond\\>") (("\"lilypond\\>")
(string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond"))) (string-append "\"" (assoc-ref inputs "lilypond") "/bin/lilypond")))))
#t))
(add-after 'unpack 'make-reproducible (add-after 'unpack 'make-reproducible
(lambda _ (lambda _
;; Prevent Last-Modified from being written. ;; Prevent Last-Modified from being written.
@ -5179,16 +5178,14 @@ specification and header.")
;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)") ;; "qt5_add_resources(rg_SOURCES ../data/data.qrc OPTIONS --format-version 1)")
) )
;; Make hashtable traversal order predicable. ;; Make hashtable traversal order predicable.
(setenv "QT_RCC_TEST" "1") ; important (setenv "QT_RCC_TEST" "1"))) ; important
#t))
(add-before 'check 'prepare-check (add-before 'check 'prepare-check
(lambda _ (lambda _
(setenv "QT_QPA_PLATFORM" "offscreen") (setenv "QT_QPA_PLATFORM" "offscreen")
;; Tests create files in $HOME/.local/share/rosegarden . ;; Tests create files in $HOME/.local/share/rosegarden .
(mkdir-p "/tmp/foo") (mkdir-p "/tmp/foo")
(setenv "HOME" "/tmp/foo") (setenv "HOME" "/tmp/foo")
(setenv "XDG_RUNTIME_DIR" "/tmp/foo") (setenv "XDG_RUNTIME_DIR" "/tmp/foo"))))))
#t)))))
(inputs (inputs
`(("alsa-lib" ,alsa-lib) `(("alsa-lib" ,alsa-lib)
("bash" ,bash) ("bash" ,bash)
@ -5208,7 +5205,7 @@ specification and header.")
("zlib" ,zlib))) ("zlib" ,zlib)))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("qtlinguist" ,qttools))) ("qttools" ,qttools))) ;for qtlinguist
(synopsis "Music composition and editing environment based around a MIDI (synopsis "Music composition and editing environment based around a MIDI
sequencer") sequencer")
(description "Rosegarden is a music composition and editing environment (description "Rosegarden is a music composition and editing environment