1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

pulseaudio: 6.0 -> 7.0

This commit is contained in:
William A. Kennington III 2015-09-24 16:33:57 -07:00
parent 0f85ef3982
commit 83ac62eb5d

View file

@ -34,11 +34,11 @@
stdenv.mkDerivation rec {
name = "${if libOnly then "lib" else ""}pulseaudio-${version}";
version = "6.0";
version = "7.0";
src = fetchurl {
url = "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-${version}.tar.xz";
sha256 = "1xpnfxa0d8pgf6b4qdgnkcvrvdxbbbjd5ync19h0f5hbp3h401mm";
sha256 = "1yp8x8z4wigrzik131kjdyhn7hznazvbkbp2zz1vy9l9gqvy26na";
};
patches = [ ./caps-fix.patch ];
@ -88,6 +88,7 @@ stdenv.mkDerivation rec {
[ "--localstatedir=/var"
"--sysconfdir=/etc"
"--with-access-group=audio"
"--with-bash-completion-dir=\${out}/share/bash-completions/completions"
]
++ lib.optional (jackaudioSupport && !libOnly) "--enable-jack"
++ lib.optional stdenv.isDarwin "--with-mac-sysroot=/"
@ -109,7 +110,7 @@ stdenv.mkDerivation rec {
postInstall = lib.optionalString libOnly ''
rm -rf $out/{bin,share,etc,lib/{pulse-*,systemd}}
sed 's|-lltdl|-L${libtool}/lib -lltdl|' -i $out/lib/libpulsecore-6.0.la
sed 's|-lltdl|-L${libtool}/lib -lltdl|' -i $out/lib/libpulsecore-${version}.la
'';
meta = {