mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 14:11:21 +00:00
Add `libcanberra'.
svn path=/nixpkgs/trunk/; revision=13814
This commit is contained in:
parent
5f8017b492
commit
269f914ab7
29
pkgs/development/libraries/libcanberra/default.nix
Normal file
29
pkgs/development/libraries/libcanberra/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libtool, gtk
|
||||
, alsaLib, pulseaudio, gstreamer, libvorbis }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libcanberra-0.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://0pointer.de/lennart/projects/libcanberra/${name}.tar.gz";
|
||||
sha256 = "0wl2hd8zqwzbbp4icng6siim85jb6hvczy9c6m92lh85wrcwpqxh";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libtool gtk alsaLib pulseaudio gstreamer libvorbis ];
|
||||
|
||||
meta = {
|
||||
description = "libcanberra, an implementation of the XDG Sound Theme and Name Specifications";
|
||||
|
||||
longDescription = ''
|
||||
libcanberra is an implementation of the XDG Sound Theme and Name
|
||||
Specifications, for generating event sounds on free desktops
|
||||
such as GNOME. It comes with several backends (ALSA,
|
||||
PulseAudio, OSS, GStreamer, null) and is designed to be
|
||||
portable.
|
||||
'';
|
||||
|
||||
homepage = http://0pointer.de/lennart/projects/libcanberra/;
|
||||
|
||||
license = "LGPLv2+";
|
||||
};
|
||||
}
|
@ -3205,6 +3205,12 @@ let
|
||||
inherit fetchurl stdenv ncurses;
|
||||
};
|
||||
|
||||
libcanberra = import ../development/libraries/libcanberra {
|
||||
inherit fetchurl stdenv pkgconfig libtool alsaLib pulseaudio libvorbis;
|
||||
inherit (gtkLibs) gtk;
|
||||
gstreamer = gst_all.gstreamer;
|
||||
};
|
||||
|
||||
libcdaudio = import ../development/libraries/libcdaudio {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user