From 670da39888170d8f6acb9d0f2cf724b02c9f7ccb Mon Sep 17 00:00:00 2001 From: Alexandros Theodotou Date: Sat, 21 Mar 2020 19:38:41 +0000 Subject: [PATCH] gnu: Add lv2toweb. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/audio.scm (lv2toweb): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/audio.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index f3edd21c69..bad6f4a18d 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -78,6 +78,7 @@ (define-module (gnu packages audio) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) + #:use-module (gnu packages man) #:use-module (gnu packages maths) #:use-module (gnu packages mp3) ;taglib #:use-module (gnu packages multiprecision) @@ -4081,3 +4082,39 @@ (define-public lv2lint to well-known best practices.") (home-page "https://open-music-kontrollers.ch/lv2/lv2lint/") (license license:artistic2.0))) + +(define-public lv2toweb + (package + (name "lv2toweb") + (version "0.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/x42/lv2toweb") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "007aysqvgkf25za8nkmyd5g9kp1zla460dcpidlj5xg1zc3fcdfi")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no "check" target + #:make-flags (list "CC=gcc" + (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (inputs + `(("jalv", jalv) + ("lilv", lilv))) + (native-inputs + `(("help2man", help2man) + ("pkg-config", pkg-config))) + (synopsis "Documentation generator for LV2 plugins") + (description + "lv2toweb allows the user to create an xhtml page with information +about the given LV2 plugin, provided that the plugin and its UI(s) match up +with the provided metadata and adhere to well-known best practices.") + (home-page "https://github.com/x42/lv2toweb") + (license (list license:isc license:gpl2))))