diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-12-03 17:21:43 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-12-03 18:31:48 +0100 |
commit | a36047422fedae1629f973a975e08d9c6941d0b4 (patch) | |
tree | 943c297877231610b8b293a6acbeb67c7b7e3f3d /gnu/packages/audio.scm | |
parent | 518957128f8c473fe762c1f41b254d6b7968eea1 (diff) |
gnu: faust: Update to 0.9.90.
* gnu/packages/audio.scm (faust): Update to 0.9.90.
[source]: Download sources via git-fetch.
[arguments]: Add phase "fix-permissions".
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r-- | gnu/packages/audio.scm | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index da93143924..2407f00796 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -1100,17 +1100,19 @@ PS, and DAB+.") (define-public faust (package (name "faust") - (version "0.9.67") + (version "0.9.90") (source (origin - (method url-fetch) - (uri (string-append - "mirror://sourceforge/faudiostream/faust-" version ".zip")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/grame-cncm/faust.git") + (commit (string-append "v" + (string-map (lambda (c) + (if (char=? c #\.) #\- c)) + version))))) + (file-name (string-append "faust-" version "-checkout")) (sha256 (base32 - "068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1")) - (snippet - ;; Remove prebuilt library - '(delete-file "architecture/android/libs/armeabi-v7a/libfaust_dsp.so")))) + "0qc6iwjd3i80jdyjc186c6ywipmjzl8wlsp4050pbr56q4rlkd4z")))) (build-system gnu-build-system) (arguments `(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))) @@ -1118,7 +1120,16 @@ PS, and DAB+.") #:phases (modify-phases %standard-phases ;; no "configure" script - (delete 'configure)))) + (delete 'configure) + ;; Files appear under $out/share/faust that are read-only. The + ;; install phase tries to overwrite them and fails, so we change + ;; the permissions first. + (add-before 'install 'fix-permissions + (lambda _ + (for-each (lambda (file) + (chmod file #o644)) + (find-files "architecture/max-msp" ".*")) + #t))))) (native-inputs `(("unzip" ,unzip))) (home-page "http://faust.grame.fr/") |