me
/
guix
Archived
1
0
Fork 0

gnu: ardour: Update to 6.6.

* gnu/packages/audio.scm (ardour): Update to 6.6.
[origin]: Use git protocol, https isn't available anymore.  Adapt snippet.
[arguments]: Add "--optimize" flags.  Switch to python3.
[inputs]: Add dbus, libwebsockets, openssl, pulseaudio and soundtouch.
master
Pierre Langlois 2021-04-05 15:55:24 +01:00
parent acd953bd64
commit 7fc922fdaf
No known key found for this signature in database
GPG Key ID: A8FC9E447F4F7D54
1 changed files with 12 additions and 7 deletions

View File

@ -18,7 +18,7 @@
;;; Copyright © 2018 Thorsten Wilms <t_w_@freenet.de> ;;; Copyright © 2018 Thorsten Wilms <t_w_@freenet.de>
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2018 Brendan Tildesley <mail@brendan.scot> ;;; Copyright © 2018 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright © 2019, 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2019, 2021 Leo Famulari <leo@famulari.name> ;;; Copyright © 2019, 2021 Leo Famulari <leo@famulari.name>
;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com> ;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
@ -567,11 +567,11 @@ streams from live audio.")
(define-public ardour (define-public ardour
(package (package
(name "ardour") (name "ardour")
(version "5.12") (version "6.6")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://git.ardour.org/ardour/ardour.git") (url "git://git.ardour.org/ardour/ardour.git")
(commit version))) (commit version)))
(snippet (snippet
;; Ardour expects this file to exist at build time. The revision ;; Ardour expects this file to exist at build time. The revision
@ -581,15 +581,16 @@ streams from live audio.")
"libs/ardour/revision.cc" "libs/ardour/revision.cc"
(lambda (port) (lambda (port)
(format port ,(string-append "#include \"ardour/revision.h\" (format port ,(string-append "#include \"ardour/revision.h\"
namespace ARDOUR { const char* revision = \"" version "\" ; }")) namespace ARDOUR { const char* revision = \"" version "\" ; const char* date = \"\"; }"))
#t))) #t)))
(sha256 (sha256
(base32 (base32
"0mla5lm51ryikc2rrk53max2m7a5ds6i1ai921l2h95wrha45nkr")) "0k5rxh8b3d8si3lj01gfqj0pmd448d8sj4asnb205mwhwbfgn0cp"))
(file-name (string-append name "-" version)))) (file-name (string-append name "-" version))))
(build-system waf-build-system) (build-system waf-build-system)
(arguments (arguments
`(#:configure-flags '("--cxx11" ; required by gtkmm `(#:configure-flags '("--cxx11" ; required by gtkmm
"--optimize"
"--no-phone-home" ; don't contact ardour.org "--no-phone-home" ; don't contact ardour.org
"--freedesktop" ; build .desktop file "--freedesktop" ; build .desktop file
"--test") ; build unit tests "--test") ; build unit tests
@ -619,8 +620,7 @@ namespace ARDOUR { const char* revision = \"" version "\" ; }"))
ver ".appdata.xml") ver ".appdata.xml")
(string-append share "/appdata/"))) (string-append share "/appdata/")))
#t))) #t)))
#:test-target "test" #:test-target "test"))
#:python ,python-2))
(inputs (inputs
`(("alsa-lib" ,alsa-lib) `(("alsa-lib" ,alsa-lib)
("atkmm" ,atkmm) ("atkmm" ,atkmm)
@ -628,6 +628,7 @@ namespace ARDOUR { const char* revision = \"" version "\" ; }"))
("boost" ,boost) ("boost" ,boost)
("cairomm" ,cairomm) ("cairomm" ,cairomm)
("curl" ,curl) ("curl" ,curl)
("dbus" ,dbus)
("eudev" ,eudev) ("eudev" ,eudev)
("fftw" ,fftw) ("fftw" ,fftw)
("fftwf" ,fftwf) ("fftwf" ,fftwf)
@ -644,17 +645,21 @@ namespace ARDOUR { const char* revision = \"" version "\" ; }"))
("libsndfile" ,libsndfile) ("libsndfile" ,libsndfile)
("libusb" ,libusb) ("libusb" ,libusb)
("libvorbis" ,libvorbis) ("libvorbis" ,libvorbis)
("libwebsockets" ,libwebsockets)
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("lilv" ,lilv) ("lilv" ,lilv)
("lrdf" ,lrdf) ("lrdf" ,lrdf)
("lv2" ,lv2) ("lv2" ,lv2)
("openssl" ,openssl) ; Required by libwebsockets.
("pangomm" ,pangomm) ("pangomm" ,pangomm)
("python-rdflib" ,python-rdflib) ("python-rdflib" ,python-rdflib)
("pulseaudio" ,pulseaudio)
("readline" ,readline) ("readline" ,readline)
("redland" ,redland) ("redland" ,redland)
("rubberband" ,rubberband) ("rubberband" ,rubberband)
("serd" ,serd) ("serd" ,serd)
("sord" ,sord) ("sord" ,sord)
("soundtouch" ,soundtouch)
("sratom" ,sratom) ("sratom" ,sratom)
("suil" ,suil) ("suil" ,suil)
("taglib" ,taglib) ("taglib" ,taglib)