all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add Ardour 4.
@ 2015-04-20 19:37 Ricardo Wurmus
  2015-04-23 20:29 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2015-04-20 19:37 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]

A new version of Ardour is out!  This patch adds a new variable ardour-4
for this package in addition to the existing major version 3.5.x.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-Ardour-4.patch --]
[-- Type: text/x-patch, Size: 1484 bytes --]

From a72f8aabeba004067c1acb48ceebbd3c0e1fbdd8 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Mon, 20 Apr 2015 21:36:17 +0200
Subject: [PATCH] gnu: Add Ardour 4.

* gnu/packages/audio.scm (ardour-4): New variable.
---
 gnu/packages/audio.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index b10cb24..5043db2 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -200,6 +200,26 @@ 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-4
+  (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
+               '(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")
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: Add Ardour 4.
  2015-04-20 19:37 [PATCH] gnu: Add Ardour 4 Ricardo Wurmus
@ 2015-04-23 20:29 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-04-23 20:29 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Guix-devel

Ricardo Wurmus <rekado@elephly.net> skribis:

> From a72f8aabeba004067c1acb48ceebbd3c0e1fbdd8 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Mon, 20 Apr 2015 21:36:17 +0200
> Subject: [PATCH] gnu: Add Ardour 4.
>
> * gnu/packages/audio.scm (ardour-4): New variable.

[...]

> +              (snippet
> +               '(call-with-output-file
> +                    "libs/ardour/revision.cc"
> +                  (lambda (port)
> +                    (format port "#include \"ardour/revision.h\"
> +namespace ARDOUR { const char* revision = \"4.0\" ; }"))))

Could you add a comment to explain this?

Otherwise LGTM, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-23 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-20 19:37 [PATCH] gnu: Add Ardour 4 Ricardo Wurmus
2015-04-23 20:29 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.