From b6b4761dc68e12d0ea4bff5241bf3c853de0f573 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 17 Jul 2011 13:27:12 +0000 Subject: [PATCH] * libcanberra updated to 0.28. Disabled the gstreamer backend by default because there doesn't seem to be much point to it. svn path=/nixpkgs/branches/kde-4.7/; revision=27809 --- pkgs/development/libraries/libcanberra/default.nix | 13 ++++++------- pkgs/top-level/all-packages.nix | 8 +------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/pkgs/development/libraries/libcanberra/default.nix b/pkgs/development/libraries/libcanberra/default.nix index db2feeecb122..691294d4a85d 100644 --- a/pkgs/development/libraries/libcanberra/default.nix +++ b/pkgs/development/libraries/libcanberra/default.nix @@ -1,19 +1,18 @@ -{ stdenv, fetchurl, pkgconfig, libtool, gtk -, alsaLib, pulseaudio, gstreamer, libvorbis, libcap }: +{ stdenv, fetchurl, pkgconfig, libtool, gtk ? null +, alsaLib, pulseaudio, gstreamer ? null, libvorbis, libcap }: stdenv.mkDerivation rec { - name = "libcanberra-0.23"; + name = "libcanberra-0.28"; src = fetchurl { url = "http://0pointer.de/lennart/projects/libcanberra/${name}.tar.gz"; - sha256 = "0q09gasvm5dc9d4640lzb5nnmy2cpyi74aq83kjd3j4z58lczl57"; + sha256 = "1346d2y24wiyanyr5bvdnjjgq7iysy8nlq2dwjv0fzxdmcn8n7zb"; }; buildInputs = - [ pkgconfig libtool alsaLib pulseaudio gstreamer libvorbis libcap ]; - propagatedBuildInputs = [ gtk ]; + [ pkgconfig libtool alsaLib pulseaudio gstreamer libvorbis libcap gtk ]; - configureFlags = "--disable-oss"; + configureFlags = "--disable-oss --disable-schemas-install"; meta = { description = "libcanberra, an implementation of the XDG Sound Theme and Name Specifications"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e296cd90d4c7..3a102f36f98e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3564,13 +3564,7 @@ let libcaca = callPackage ../development/libraries/libcaca { }; libcanberra = callPackage ../development/libraries/libcanberra { - /* Using GNU Make 3.82 leads to this: - - Makefile:939: *** missing separator (did you mean TAB instead of 8 spaces?). Stop. - - So use 3.81. */ - stdenv = overrideInStdenv stdenv [gnumake381]; - gstreamer = gst_all.gstreamer; + # gstreamer = gst_all.gstreamer; }; libcdaudio = callPackage ../development/libraries/libcdaudio { };