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".
This commit is contained in:
Ricardo Wurmus 2017-12-03 17:21:43 +01:00
parent 518957128f
commit a36047422f
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1100,17 +1100,19 @@ (define-public faad2
(define-public faust (define-public faust
(package (package
(name "faust") (name "faust")
(version "0.9.67") (version "0.9.90")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"mirror://sourceforge/faudiostream/faust-" version ".zip")) (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 (sha256
(base32 (base32
"068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1")) "0qc6iwjd3i80jdyjc186c6ywipmjzl8wlsp4050pbr56q4rlkd4z"))))
(snippet
;; Remove prebuilt library
'(delete-file "architecture/android/libs/armeabi-v7a/libfaust_dsp.so"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))) `(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
@ -1118,7 +1120,16 @@ (define-public faust
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
;; no "configure" script ;; 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 (native-inputs
`(("unzip" ,unzip))) `(("unzip" ,unzip)))
(home-page "http://faust.grame.fr/") (home-page "http://faust.grame.fr/")