From 77bf5b5a618d4e835de81fb2af58c28c60bf4605 Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Tue, 25 Feb 2020 14:46:08 +0000
Subject: [PATCH 1/3] gnu: Add vl1-emulator.
* gnu/packages/music.scm (vl1-emulator): New variable.
---
gnu/packages/music.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
@@ -5189,3 +5189,45 @@ featureful and easy to use. It offers unlimited automation options, LV2
plugin support, JACK support and chord assistance.")
(home-page "https://www.zrythm.org")
(license license:agpl3+)))
+
+(define-public vl1-emulator
+ (package
+ (name "vl1-emulator")
+ (version "1.1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/linuxmao-org/VL1-emulator.git")
+ (commit (string-append "v" version))
+ ;; bundles a specific commit of the DISTRHO plugin framework
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1npc86vqma8gk1hawa0lii0r2xmnv846plyl1ci3bdswyrdk5chm"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no check target
+ #:make-flags
+ (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+ "CC=gcc")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)))) ; no configure target
+ (inputs
+ `(("cairo" ,cairo)
+ ("jack" ,jack-1)
+ ("libx11" ,libx11)
+ ("mesa" ,mesa)))
+ (native-inputs
+ `(("lv2" ,lv2)
+ ("pkg-config" ,pkg-config)))
+ (home-page "https://github.com/linuxmao-org/VL1-emulator")
+ (synopsis "Emulator of Casio VL-Tone VL1")
+ (description
+ "The VL1-Emulator is an emulator of Casio VL-Tone VL1, based on source
+code by PolyValens, offered as a VST plugin, an LV2 plugin and a standalone
+JACK application.")
+ ;; Expat or CC0
+ (license (list license:expat license:cc0))))
--
2.25.1