mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
ffmpeg-full: fix the build phase
I was surprised the build is so slow, and I see it's single-threaded due to all work being done in install phase :-/ Please, do *not* rewrite phases unless you're really confident it's a good approach; typically postFoo and preFoo is much better. I considered filing this ffmpeg-related string of changes as a PR, but in the end it doesn't seem likely to need review and we have too many PRs as it is...
This commit is contained in:
parent
9fda8602e1
commit
5236232eea
@ -421,8 +421,8 @@ stdenv.mkDerivation rec {
|
||||
MediaToolbox VideoDecodeAcceleration
|
||||
libiconv cf-private /* For _OBJC_EHTYPE_$_NSException */ ];
|
||||
|
||||
# Build qt-faststart executable
|
||||
buildPhase = optional qtFaststartProgram ''make tools/qt-faststart'';
|
||||
buildFlags = [ "all" ]
|
||||
++ optional qtFaststartProgram "tools/qt-faststart"; # Build qt-faststart executable
|
||||
|
||||
# Hacky framework patching technique borrowed from the phantomjs2 package
|
||||
postInstall = optionalString qtFaststartProgram ''
|
||||
|
Loading…
Reference in New Issue
Block a user