gnu: emacs: Switch to GTK+ 3.
[jackhill/guix/guix.git] / gnu / packages / libcanberra.scm
CommitLineData
90ed6291
AE
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages libcanberra)
20 #:use-module ((guix licenses) #:select (lgpl2.1+))
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu)
24 #:use-module (gnu packages autotools)
25 #:use-module (gnu packages gstreamer)
26 #:use-module (gnu packages gtk)
27 #:use-module (gnu packages linux)
54ff0b7d
AE
28 #:use-module (gnu packages pkg-config)
29 #:use-module (gnu packages xiph))
90ed6291
AE
30
31(define-public libcanberra
32 (package
33 (name "libcanberra")
34 (version "0.30")
35 (source
36 (origin
37 (method url-fetch)
c8bf8b2f
LC
38
39 ;; This used to be at 0pointer.de but it vanished.
40 (uri (string-append
41 "http://pkgs.fedoraproject.org/repo/pkgs/libcanberra/libcanberra-"
42 version ".tar.xz/34cb7e4430afaf6f447c4ebdb9b42072/libcanberra-"
43 version ".tar.xz"))
90ed6291
AE
44 (sha256
45 (base32
46 "0wps39h8rx2b00vyvkia5j40fkak3dpipp1kzilqla0cgvk73dn2"))))
47 (build-system gnu-build-system)
48 (inputs
49 ;; FIXME: Add optional inputs udev and pulse.
50 `(("alsa-lib" ,alsa-lib)
51 ("gstreamer" ,gstreamer)
52 ("gtk+" ,gtk+)
53 ("libtool" ,libtool)
c4c4cc05
JD
54 ("libvorbis" ,libvorbis)))
55 (native-inputs
56 `(("pkg-config" ,pkg-config)))
90ed6291
AE
57 (home-page "http://0pointer.de/lennart/projects/libcanberra/")
58 (synopsis
59 "Implementation of the XDG Sound Theme and Name Specifications")
60 (description
61 "Libcanberra is an implementation of the XDG Sound Theme and Name
62Specifications, for generating event sounds on free desktops, such as
63GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer,
64null) and is designed to be portable.")
65 (license lgpl2.1+)))