Archived
1
0
Fork 0

gnu: supercollider: Reformat package definition.

* gnu/packages/audio.scm (supercollider)[source]<origin>: Re-indent.
[arguments]<#:phases>: Remove trailing #T.
This commit is contained in:
Nicolas Goaziou 2021-12-17 09:33:54 +01:00
parent 0745c8205a
commit abd2a5a807
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -2912,7 +2912,8 @@ background file post-processing.")
(package
(name "supercollider")
(version "3.12.1")
(source (origin
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/supercollider/supercollider")
@ -2943,8 +2944,7 @@ background file post-processing.")
(("include\\(\\.\\./external_libraries/link/\
AbletonLinkConfig\\.cmake\\)")
"find_package(AbletonLink NAMES AbletonLink ableton-link \
link REQUIRED)"))
#t))))
link REQUIRED)"))))))
(build-system cmake-build-system)
(outputs
'("out" ;core language
@ -2964,8 +2964,7 @@ link REQUIRED)"))
;; The graphical tests also hang without it.
(add-after 'unpack 'set-home-directory
(lambda _
(setenv "HOME" (getcwd))
#t))
(setenv "HOME" (getcwd))))
(add-after 'unpack 'patch-scclass-dir
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@ -2976,13 +2975,11 @@ link REQUIRED)"))
(((string-append
"SC_Filesystem::instance\\(\\)\\.getDirectory"
"\\(DirName::Resource\\) / CLASS_LIB_DIR_NAME"))
(string-append "Path(\"" scclass-dir "\")")))
#t)))
(string-append "Path(\"" scclass-dir "\")"))))))
(add-before 'build 'prepare-x
(lambda _
(system "Xvfb &")
(setenv "DISPLAY" ":0")
#t))
(setenv "DISPLAY" ":0")))
(add-before 'install 'install-ide
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@ -2990,8 +2987,7 @@ link REQUIRED)"))
(scide "editors/sc-ide/scide"))
(install-file scide
(string-append ide "/bin"))
(delete-file scide)
#t))))))
(delete-file scide)))))))
(native-inputs
(list ableton-link pkg-config qttools xorg-server-for-tests))
(inputs (list jack-1