fix wavpack .pc file

The .pc file is missing declaration of exec_prefix causing other packages to
fail such as gst-plugins-good beacuse pkg-config stops processing
remaining .pc files

I notified david at wavpack com

enableParallelBuilding = true; also happens to work
This commit is contained in:
Marc Weber 2015-05-04 08:09:42 +00:00
parent 365fd9efeb
commit 2d34bc06a0

View File

@ -4,6 +4,12 @@ stdenv.mkDerivation rec {
name = "wavpack-${version}";
version = "4.70.0";
enableParallelBuilding = true;
preConfigure = ''
sed -i '2iexec_prefix=@exec_prefix@' wavpack.pc.in
'';
src = fetchurl {
url = "http://www.wavpack.com/${name}.tar.bz2";
sha256 = "191h8hv8qk72hfh1crg429i9yq3cminwqb249sy9zadbn1wy7b9c";