[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: ardour: Install bundled MIDI loops.
From: |
guix-commits |
Subject: |
08/10: gnu: ardour: Install bundled MIDI loops. |
Date: |
Tue, 18 Jul 2023 08:24:39 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit d1a76ac512cb0dab5fb8401e4d587f83042a7758
Author: Sughosha <sughosha@disroot.org>
AuthorDate: Mon Jul 3 22:52:18 2023 +0200
gnu: ardour: Install bundled MIDI loops.
* gnu/packages/audio.scm (ardour)[#:phases]: Add install-bundled-media.
[native-inputs]: Add unzip.
[license]: Add cc0 and expat.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/audio.scm | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e35e44febb..2e2632f356 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -736,6 +736,14 @@ purposes developed at Queen Mary, University of London.")
libdir "/surfaces" ":"
libdir "/vamp" "\"]"))))))
+(define ardour-bundled-media
+ (origin
+ (method url-fetch)
+ (uri "http://stuff.ardour.org/loops/ArdourBundledMedia.zip")
+ (sha256
+ (base32
+ "0k135sm559yywfidrya7h5cddwqa2p2abhimrar2khydf43f03d0"))))
+
(define-public ardour
(package
(name "ardour")
@@ -794,7 +802,14 @@ namespace ARDOUR { const char* revision = \"" version "\"
; const char* date = \
(add-after 'install 'install-man-page
(lambda* (#:key outputs #:allow-other-keys)
(install-file "ardour.1" (string-append (assoc-ref outputs "out")
- "/share/man/man1")))))
+ "/share/man/man1"))))
+ (add-after 'install 'install-bundled-media
+ (lambda* (#:key outputs #:allow-other-keys)
+ (invoke "unzip" "-d" (string-append (assoc-ref outputs "out")
+ "/share/ardour"
+ ,(version-major version)
+ "/media/")
+ ,ardour-bundled-media))))
#:test-target "test"))
(inputs
(list alsa-lib
@@ -849,14 +864,17 @@ namespace ARDOUR { const char* revision = \"" version "\"
; const char* date = \
gettext-minimal
itstool
perl
- pkg-config))
+ pkg-config
+ unzip))
(home-page "https://ardour.org")
(synopsis "Digital audio workstation")
(description
"Ardour is a multi-channel digital audio workstation, allowing users to
record, edit, mix and master audio and MIDI projects. It is targeted at audio
engineers, musicians, soundtrack editors and composers.")
- (license license:gpl2+)))
+ (license (list license:gpl2+
+ license:cc0 ;used by MIDI Beats
+ license:expat)))) ;used by MIDI Chords and Progressions
(define-public audacity
(package
- branch master updated (d2c6d1d818 -> bd0e7c5e17), guix-commits, 2023/07/18
- 03/10: gnu: libnatpmp: Update to 20230423., guix-commits, 2023/07/18
- 05/10: gnu: mingw-w64-tools: Update to 11.0.0., guix-commits, 2023/07/18
- 08/10: gnu: ardour: Install bundled MIDI loops.,
guix-commits <=
- 06/10: gnu: nsis: Update to 3.09., guix-commits, 2023/07/18
- 02/10: gnu: libupnp: Update to 1.14.17., guix-commits, 2023/07/18
- 09/10: gnu: ardour: Inline ardour-rpath-phase into its definition., guix-commits, 2023/07/18
- 10/10: gnu: zsh: Update to 5.9., guix-commits, 2023/07/18
- 04/10: gnu: mingw: Update to 11.0.0., guix-commits, 2023/07/18
- 01/10: gnu: newick-utils: Skip tests on riscv64-linux., guix-commits, 2023/07/18
- 07/10: gnu: ardour: Update to 7.5., guix-commits, 2023/07/18