pulseaudio: 6.0 -> 7.0
This commit is contained in:
parent
0f85ef3982
commit
83ac62eb5d
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user