summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-04-20 21:36:17 +0200
committerRicardo Wurmus <rekado@elephly.net>2015-05-07 22:37:16 +0200
commit002806c929b88781adbcd376de7cc581a9234c58 (patch)
tree7e8184e2f56a57b6ceb089a52b066860f91e1540 /gnu/packages
parente55c1b67ead07be673d2b86bf48575db959b885f (diff)
gnu: Add Ardour 4.
* gnu/packages/audio.scm (ardour): Rename to ... (ardour-3): ... this. (ardour): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/audio.scm28
1 files changed, 27 insertions, 1 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 17a64a050f..82e2d3a5c8 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -128,7 +128,7 @@ attacks, performing pitch detection, tapping the beat and producing MIDI
streams from live audio.")
(license license:gpl3+)))
-(define-public ardour
+(define-public ardour-3
(package
(name "ardour")
(version "3.5.403")
@@ -140,6 +140,9 @@ streams from live audio.")
(url "git://git.ardour.org/ardour/ardour.git")
(commit version)))
(snippet
+ ;; Ardour expects this file to exist at build time. It can be
+ ;; created from a git checkout with:
+ ;; ./waf create_stored_revision
'(call-with-output-file
"libs/ardour/revision.cc"
(lambda (port)
@@ -222,6 +225,29 @@ record, edit, mix and master audio and MIDI projects. It is targeted at audio
engineers, musicians, soundtrack editors and composers.")
(license license:gpl2+)))
+(define-public ardour
+ (package (inherit ardour)
+ (name "ardour")
+ (version "4.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "git://git.ardour.org/ardour/ardour.git")
+ (commit version)))
+ (snippet
+ ;; Ardour expects this file to exist at build time. It can be
+ ;; created from a git checkout with:
+ ;; ./waf create_stored_revision
+ '(call-with-output-file
+ "libs/ardour/revision.cc"
+ (lambda (port)
+ (format port "#include \"ardour/revision.h\"
+namespace ARDOUR { const char* revision = \"4.0\" ; }"))))
+ (sha256
+ (base32
+ "0a8bydc24xv0cahdqfaxdmi1f43cyr9psiyshxpbrkdqw2c7a4xi"))
+ (file-name (string-append name "-" version))))))
+
(define-public azr3
(package
(name "azr3")