ffmpeg-full: fix path to frei0r filters

Fixes #27555.
This commit is contained in:
Robert Helgesson 2017-07-30 12:52:03 +02:00
parent 5dc5dfdefb
commit f36323c81f
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -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 = [