You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

61 lines
2.3 KiB

  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. (define-module (gnu packages libcanberra)
  19. #:use-module ((guix licenses) #:select (lgpl2.1+))
  20. #:use-module (guix packages)
  21. #:use-module (guix download)
  22. #:use-module (guix build-system gnu)
  23. #:use-module (gnu packages autotools)
  24. #:use-module (gnu packages gstreamer)
  25. #:use-module (gnu packages gtk)
  26. #:use-module (gnu packages linux)
  27. #:use-module (gnu packages oggvorbis)
  28. #:use-module (gnu packages pkg-config))
  29. (define-public libcanberra
  30. (package
  31. (name "libcanberra")
  32. (version "0.30")
  33. (source
  34. (origin
  35. (method url-fetch)
  36. (uri (string-append "http://0pointer.de/lennart/projects/libcanberra/libcanberra-"
  37. version ".tar.xz"))
  38. (sha256
  39. (base32
  40. "0wps39h8rx2b00vyvkia5j40fkak3dpipp1kzilqla0cgvk73dn2"))))
  41. (build-system gnu-build-system)
  42. (inputs
  43. ;; FIXME: Add optional inputs udev and pulse.
  44. `(("alsa-lib" ,alsa-lib)
  45. ("gstreamer" ,gstreamer)
  46. ("gtk+" ,gtk+)
  47. ("libtool" ,libtool)
  48. ("libvorbis" ,libvorbis)
  49. ("pkg-config" ,pkg-config)))
  50. (home-page "http://0pointer.de/lennart/projects/libcanberra/")
  51. (synopsis
  52. "Implementation of the XDG Sound Theme and Name Specifications")
  53. (description
  54. "Libcanberra is an implementation of the XDG Sound Theme and Name
  55. Specifications, for generating event sounds on free desktops, such as
  56. GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer,
  57. null) and is designed to be portable.")
  58. (license lgpl2.1+)))