From fca9377762504f4fb70bc1427335dafbed4b0fe5 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Wed, 17 Jun 2020 15:07:02 -0400 Subject: [PATCH 46/58] gnu: Add tinyalsa. * gnu/packages/audio.scm (tinyalsa): New variable. --- gnu/packages/audio.scm | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 993ee64455..17991c43b7 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -127,31 +127,34 @@ #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) -(define-public opensles +(define-public tinyalsa (package - (name "opensles") - (version "1.1.0") + (name "tinyalsa") + (version "1.1.1") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/KhronosGroup/OpenSL-ES-Registry.git") - (commit "ea5104b"))) + (url "https://github.com/tinyalsa/tinyalsa.git") + (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0j5bm7h3ahz66f23i9abwc0y10agfkpksnj6y078x2nichq66h4f")))) - (build-system copy-build-system) - (synopsis "Embedded Audio Acceleration") - (description "OpenSLES is a royalty-free, cross-platform, -hardware-accelerated audio API tuned for embedded systems. It provides a -standardized, high-performance, low-latency method to access audio -functionality for developers of native applications on embedded mobile -multimedia devices, enabling straightforward cross-platform deployment of -hardware and software audio capabilities, reducing implementation effort, and -promoting the market for advanced audio.") - (home-page "https://www.khronos.org/opensles/") - (license (license:non-copyleft "Refer individual files")))) + (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 -- 2.26.2