ffmpeg-full: use cf-private to fix Darwin build
This commit is contained in:
parent
d349cfee88
commit
471804736d
@ -140,7 +140,7 @@
|
||||
* Darwin frameworks
|
||||
*/
|
||||
, Cocoa, CoreAudio, CoreServices, AVFoundation, MediaToolbox
|
||||
, VideoDecodeAcceleration, CF
|
||||
, VideoDecodeAcceleration, cf-private
|
||||
}:
|
||||
|
||||
/* Maintainer notes:
|
||||
@ -434,7 +434,7 @@ stdenv.mkDerivation rec {
|
||||
FILES+=($(ls $out/lib/*.dylib))
|
||||
for f in ''${FILES[@]}; do
|
||||
if [ ! -h "$f" ]; then
|
||||
install_name_tool -change ${CF}/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation "$f"
|
||||
install_name_tool -change ${cf-private}/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation "$f"
|
||||
fi
|
||||
done
|
||||
'';
|
||||
|
@ -9731,7 +9731,7 @@ in
|
||||
vid-stab = if stdenv.isDarwin then null else vid-stab;
|
||||
x265 = if stdenv.isDarwin then null else x265;
|
||||
xavs = if stdenv.isDarwin then null else xavs;
|
||||
inherit (darwin) CF;
|
||||
inherit (darwin) cf-private;
|
||||
inherit (darwin.apple_sdk.frameworks)
|
||||
Cocoa CoreServices CoreAudio AVFoundation MediaToolbox
|
||||
VideoDecodeAcceleration;
|
||||
|
Loading…
Reference in New Issue
Block a user