mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Merge pull request #27765 from rycee/fix/ffmpeg/frei0r-plugin
ffmpeg-full: fix path to frei0r filters
This commit is contained in:
commit
6d883df780
@ -241,6 +241,11 @@ stdenv.mkDerivation rec {
|
||||
patchPhase = ''patchShebangs .
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed -i 's/#ifndef __MAC_10_11/#if 1/' ./libavcodec/audiotoolboxdec.c
|
||||
'' + stdenv.lib.optionalString (frei0r != null) ''
|
||||
substituteInPlace libavfilter/vf_frei0r.c \
|
||||
--replace /usr/local/lib/frei0r-1 ${frei0r}/lib/frei0r-1
|
||||
substituteInPlace doc/filters.texi \
|
||||
--replace /usr/local/lib/frei0r-1 ${frei0r}/lib/frei0r-1
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user