2009-01-22 23:34:06 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libtool, gtk, gthread
|
2010-03-03 15:27:17 +01:00
|
|
|
, alsaLib, pulseaudio, gstreamer, libvorbis, libcap }:
|
2009-01-20 10:50:15 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-03-03 15:27:17 +01:00
|
|
|
name = "libcanberra-0.23";
|
2009-01-20 10:50:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://0pointer.de/lennart/projects/libcanberra/${name}.tar.gz";
|
2010-03-03 15:27:17 +01:00
|
|
|
sha256 = "0q09gasvm5dc9d4640lzb5nnmy2cpyi74aq83kjd3j4z58lczl57";
|
2009-01-20 10:50:15 +01:00
|
|
|
};
|
|
|
|
|
2010-03-03 15:27:17 +01:00
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig libtool alsaLib pulseaudio gstreamer libvorbis libcap ];
|
2009-04-04 15:53:07 +02:00
|
|
|
propagatedBuildInputs = [ gtk ];
|
2009-01-20 10:50:15 +01:00
|
|
|
|
2009-01-22 23:34:06 +01:00
|
|
|
configureFlags = "--disable-oss";
|
|
|
|
|
2009-01-20 10:50:15 +01:00
|
|
|
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+";
|
2010-03-03 15:27:17 +01:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
2009-01-20 10:50:15 +01:00
|
|
|
};
|
|
|
|
}
|