gnu: lmms: Use Gexp.

* gnu/packages/music.scm (lmms)[arguments]: Use gexp; drop trailing #T from
build phase.
This commit is contained in:
Ricardo Wurmus 2023-02-07 11:21:44 +01:00
parent 5a88a42fde
commit 7dcc4d70ee
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4725,29 +4725,25 @@ (define-public lmms
"11xgf461cnmq0jkgdgx5bddi87ammpik4whg1m4fcvd3i0d5i601")))) "11xgf461cnmq0jkgdgx5bddi87ammpik4whg1m4fcvd3i0d5i601"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f ; no tests (list
;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of #:tests? #f ; no tests
;; LMMS, so try removing "-DWANT_QT5=ON" in later versions. ;; Qt 5 support must be explicitly enabled in the 1.2 stable versions of
;; Also, explicitly disabling VST support gets rid of the in-tree ;; LMMS, so try removing "-DWANT_QT5=ON" in later versions.
;; dependency on qt5-x11embed. ;; Also, explicitly disabling VST support gets rid of the in-tree
#:configure-flags '("-DWANT_QT5=ON" ;; dependency on qt5-x11embed.
"-DWANT_VST=OFF") #:configure-flags '(list "-DWANT_QT5=ON" "-DWANT_VST=OFF")
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'unpack-rpmalloc (add-after 'unpack 'unpack-rpmalloc
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(copy-recursively (assoc-ref inputs "rpmalloc") (copy-recursively (assoc-ref inputs "rpmalloc")
"src/3rdparty/rpmalloc/rpmalloc") "src/3rdparty/rpmalloc/rpmalloc")))
#t)) (add-before 'configure 'set-ldflags
(add-before 'configure 'set-ldflags (lambda _
(lambda* (#:key outputs #:allow-other-keys) (setenv "LDFLAGS"
(setenv "LDFLAGS" (string-append
(string-append "-Wl,-rpath=\"" #$output "/lib/lmms"
"-Wl,-rpath=\"" ":" #$output "/lib/lmms/ladspa" "\"")))))))
(assoc-ref outputs "out") "/lib/lmms"
":"
(assoc-ref outputs "out") "/lib/lmms/ladspa"
"\"")))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("qttools-5" ,qttools-5) ("qttools-5" ,qttools-5)