~ruther/guix-local

ba04571a833e70860bb67ad9af8255b51031ea22 — Ludovic Courtès 12 years ago f88aeb6
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.
2 files changed, 24 insertions(+), 3 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/oggvorbis.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +20 -0
@@ 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+)))

M gnu/packages/oggvorbis.scm => gnu/packages/oggvorbis.scm +4 -3
@@ 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.