aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghav Gururajan <raghavgururajan@disroot.org>2020-07-03 09:41:39 -0400
committerDanny Milosavljevic <dannym@scratchpost.org>2020-08-18 22:56:34 +0200
commitd4bd5c60daa70f14fccb8789091e5a3f85b4f7dc (patch)
tree06d110b17fe2af8c1f261ccaec3f36ef964fa7dc
parentd6ef1039fe0f69e1b28b811c7a018a44eab721dc (diff)
downloadguix-d4bd5c60daa70f14fccb8789091e5a3f85b4f7dc.tar.gz
guix-d4bd5c60daa70f14fccb8789091e5a3f85b4f7dc.zip
gnu: Add tinyalsa.
* gnu/packages/audio.scm (tinyalsa): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
-rw-r--r--gnu/packages/audio.scm30
1 files changed, 30 insertions, 0 deletions
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")