me
/
guix
Archived
1
0
Fork 0

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>
Sughosha 2023-07-03 22:52:18 +02:00 committed by 宋文武
parent bf6727fadf
commit d1a76ac512
No known key found for this signature in database
GPG Key ID: D415BF253B515976
1 changed files with 21 additions and 3 deletions

View File

@ -736,6 +736,14 @@ purposes developed at Queen Mary, University of London.")
libdir "/surfaces" ":" libdir "/surfaces" ":"
libdir "/vamp" "\"]")))))) libdir "/vamp" "\"]"))))))
(define ardour-bundled-media
(origin
(method url-fetch)
(uri "http://stuff.ardour.org/loops/ArdourBundledMedia.zip")
(sha256
(base32
"0k135sm559yywfidrya7h5cddwqa2p2abhimrar2khydf43f03d0"))))
(define-public ardour (define-public ardour
(package (package
(name "ardour") (name "ardour")
@ -794,7 +802,14 @@ namespace ARDOUR { const char* revision = \"" version "\" ; const char* date = \
(add-after 'install 'install-man-page (add-after 'install 'install-man-page
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(install-file "ardour.1" (string-append (assoc-ref outputs "out") (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")) #:test-target "test"))
(inputs (inputs
(list alsa-lib (list alsa-lib
@ -849,14 +864,17 @@ namespace ARDOUR { const char* revision = \"" version "\" ; const char* date = \
gettext-minimal gettext-minimal
itstool itstool
perl perl
pkg-config)) pkg-config
unzip))
(home-page "https://ardour.org") (home-page "https://ardour.org")
(synopsis "Digital audio workstation") (synopsis "Digital audio workstation")
(description (description
"Ardour is a multi-channel digital audio workstation, allowing users to "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 record, edit, mix and master audio and MIDI projects. It is targeted at audio
engineers, musicians, soundtrack editors and composers.") 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 (define-public audacity
(package (package