From d4bd5c60daa70f14fccb8789091e5a3f85b4f7dc Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 3 Jul 2020 09:41:39 -0400 Subject: gnu: Add tinyalsa. * gnu/packages/audio.scm (tinyalsa): New variable. Signed-off-by: Danny Milosavljevic --- gnu/packages/audio.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 75ffa7c033..a44fcbc3d0 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -114,6 +114,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) @@ -128,6 +129,35 @@ #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) +(define-public tinyalsa + (package + (name "tinyalsa") + (version "1.1.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/tinyalsa/tinyalsa.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0ajyvml5bnzvhiyyrn42gqwgg23ssxkfh09rvsnywhzxhd0xai4h")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; No target + #:phases + (modify-phases %standard-phases + (delete 'configure)) + #:make-flags + (list + (string-append "PREFIX=" (assoc-ref %outputs "out"))))) + (synopsis "ALSA interfacing library") + (description "TinyALSA is a small library to interface with ALSA in the +Linux kernel.") + (home-page "https://github.com/tinyalsa/tinyalsa") + (license (license:non-copyleft "file:///NOTICE")))) + (define-public libopenmpt (package (name "libopenmpt") -- cgit v1.2.3