Browse Source

gnu: Add ALSA-lib; use it.

* gnu/packages/linux.scm (alsa-lib): New variable.
* gnu/packages/oggvorbis.scm (ao): Add ALSA-lib as an input.
gn-latest-20200428
Ludovic Courtès 8 years ago
parent
commit
ba04571a83
2 changed files with 24 additions and 3 deletions
  1. +20
    -0
      gnu/packages/linux.scm
  2. +4
    -3
      gnu/packages/oggvorbis.scm

+ 20
- 0
gnu/packages/linux.scm View File

@ -429,3 +429,23 @@ slabtop, and skill.")
"strace is a system call tracer, i.e. a debugging tool which prints out a
trace of all the system calls made by a another process/program.")
(license bsd-3)))
(define-public alsa-lib
(package
(name "alsa-lib")
(version "1.0.27.1")
(source (origin
(method url-fetch)
(uri (string-append
"ftp://ftp.alsa-project.org/pub/lib/alsa-lib-"
version ".tar.bz2"))
(sha256
(base32
"0fx057746dj7rjdi0jnvx2m9b0y1lgdkh1hks87d8w32xyihf3k9"))))
(build-system gnu-build-system)
(home-page "http://www.alsa-project.org/")
(synopsis "The Advanced Linux Sound Architecture libraries")
(description
"The Advanced Linux Sound Architecture (ALSA) provides audio and
MIDI functionality to the Linux-based operating system.")
(license lgpl2.1+)))

+ 4
- 3
gnu/packages/oggvorbis.scm View File

@ -25,6 +25,7 @@
#:use-module (gnu packages libpng)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages linux)
#:use-module ((guix licenses)
#:renamer (symbol-prefix-proc 'license:))
#:use-module (guix packages)
@ -118,9 +119,9 @@ data (e.g., voice mail), and audio books.")
"1m0v2y6bhr4iwsgdkc7b3y0qgpvpv1ifbxsy8n8ahsvjn6wmppi9"))))
(build-system gnu-build-system)
;; FIXME: Add further backends, see the summary printed after configure.
(inputs `(("pkg-config" ,pkg-config)))
(synopsis
"libao, a cross platform audio library")
(inputs `(("pkg-config" ,pkg-config)
("alsa-lib" ,alsa-lib)))
(synopsis "Cross platform audio library")
(description
"Libao is a cross-platform audio library that allows programs to
output audio using a simple API on a wide variety of platforms.


Loading…
Cancel
Save