From: Sughosha via Guix-patches via <guix-patches@gnu.org>
To: 64374@debbugs.gnu.org
Cc: Sughosha <sughosha@disroot.org>
Subject: [bug#64374] [PATCH v2 2/3] gnu: ardour: Install bundled MIDI loops.
Date: Mon, 3 Jul 2023 22:52:18 +0200 [thread overview]
Message-ID: <525fecd2e07fd9e513af675ecae52cde0911cc62.1688416868.git.sughosha@disroot.org> (raw)
In-Reply-To: <d0bfbab5a54924ecb9d780ab17fba4fea1457063.1688416868.git.sughosha@disroot.org>
* gnu/packages/audio.scm (ardour)[#:phases]: Add install-bundled-media.
[native-inputs]: Add unzip.
[license]: Add cc0 and expat.
---
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 550f653420..25fa8acf33 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -735,6 +735,14 @@ (define (ardour-rpath-phase major-version)
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")
@@ -793,7 +801,14 @@ (define-public ardour
(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
@@ -848,14 +863,17 @@ (define-public ardour
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
--
2.40.1
next prev parent reply other threads:[~2023-07-03 20:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-30 19:59 [bug#64374] [PATCH] gnu: ardour: Update to 7.5 Sughosha via Guix-patches via
2023-07-03 20:52 ` [bug#64374] [PATCH v2 1/3] " Sughosha via Guix-patches via
2023-07-03 20:52 ` Sughosha via Guix-patches via [this message]
2023-07-03 20:52 ` [bug#64374] [PATCH v2 3/3] gnu: ardour: Move ardour-rpath-phase inside this definition Sughosha via Guix-patches via
2023-07-18 12:27 ` bug#64374: [PATCH] gnu: ardour: Update to 7.5 宋文武 via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=525fecd2e07fd9e513af675ecae52cde0911cc62.1688416868.git.sughosha@disroot.org \
--to=guix-patches@gnu.org \
--cc=64374@debbugs.gnu.org \
--cc=sughosha@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.