ffmpeg: fix includedir in pkg-config files
This commit is contained in:
parent
ad19127009
commit
342f72e747
@ -170,9 +170,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = false; # fails
|
doCheck = false; # fails
|
||||||
|
|
||||||
|
# ffmpeg 3+ generates pkg-config (.pc) files that don't have the
|
||||||
|
# form automatically handled by the multiple-outputs hooks.
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
moveToOutput bin "$bin"
|
moveToOutput bin "$bin"
|
||||||
moveToOutput share/ffmpeg/examples "$doc"
|
moveToOutput share/ffmpeg/examples "$doc"
|
||||||
|
for pc in ''${!outputDev}/lib/pkgconfig/*.pc; do
|
||||||
|
substituteInPlace $pc \
|
||||||
|
--replace "includedir=$out" "includedir=''${!outputInclude}"
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installFlags = [ "install-man" ];
|
installFlags = [ "install-man" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user