guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add Ardour 4.


From: Ricardo Wurmus
Subject: 01/01: gnu: Add Ardour 4.
Date: Thu, 07 May 2015 20:37:23 +0000

rekado pushed a commit to branch master
in repository guix.

commit 002806c929b88781adbcd376de7cc581a9234c58
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Apr 20 21:36:17 2015 +0200

    gnu: Add Ardour 4.
    
    * gnu/packages/audio.scm (ardour): Rename to ...
      (ardour-3): ... this.
      (ardour): New variable.
---
 gnu/packages/audio.scm |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 17a64a0..82e2d3a 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]