forked from mirrors/nixpkgs
Merge pull request #658 from aristidb/master
Pulseaudio 4.0 (and sbc 1.1)
This commit is contained in:
commit
26e9afaa28
|
@ -1,11 +1,11 @@
|
|||
{ stdenv, fetchurl, libsndfile, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sbc-1.0";
|
||||
name = "sbc-1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.kernel.org/pub/linux/bluetooth/${name}.tar.xz";
|
||||
sha256 = "10mq2rmh3h90bwq5cdcmizf93zf8f2br8gds0jxr9i962ai0m5xz";
|
||||
sha256 = "1ipvkhilyhdbd2nzq0la6l7q361l0zm0c6kvga2a0y89q8nssc4s";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libsndfile ];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchurl, pkgconfig, gnum4, gdbm, libtool, glib, dbus, avahi
|
||||
, gconf, gtk, intltool, gettext
|
||||
, alsaLib, libsamplerate, libsndfile, speex, bluez, udev
|
||||
, alsaLib, libsamplerate, libsndfile, speex, bluez, sbc, udev, libcap
|
||||
, jackaudioSupport ? false, jackaudio ? null
|
||||
, x11Support ? false, xlibs
|
||||
, json_c
|
||||
|
@ -10,19 +10,19 @@
|
|||
assert jackaudioSupport -> jackaudio != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pulseaudio-2.1";
|
||||
name = "pulseaudio-4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-2.1.tar.xz";
|
||||
sha256 = "0zyal2mix7lzhxmr3pxlmss5kjca061iapvrh20bkgvsyixk8szg";
|
||||
url = "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-4.0.tar.xz";
|
||||
sha256 = "1bndz4l8jxyq3zq128gzp3gryxl6yjs66j2y1d7yabw2n5mv7kim";
|
||||
};
|
||||
|
||||
# Since `libpulse*.la' contain `-lgdbm', it must be propagated.
|
||||
propagatedBuildInputs = [ gdbm ];
|
||||
# Since `libpulse*.la' contain `-lgdbm' and `-lcap', it must be propagated.
|
||||
propagatedBuildInputs = [ gdbm libcap ];
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig gnum4 libtool intltool glib dbus avahi
|
||||
libsamplerate libsndfile speex alsaLib bluez udev
|
||||
libsamplerate libsndfile speex alsaLib bluez sbc udev
|
||||
json_c
|
||||
#gtk gconf
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue