ffmpeg: split into multiple outputs

Also fix some referrers.
This commit is contained in:
Vladimír Čunát
2015-10-11 16:34:23 +02:00
parent 493c947e4a
commit 4a571ba0dd
8 changed files with 19 additions and 10 deletions

View File

@@ -67,6 +67,10 @@ stdenv.mkDerivation rec {
patchPhase = ''patchShebangs .'';
outputs = [ "dev" "out" "bin" ]
++ optional (reqMin "1.0") "doc" ; # just dev-doc
setOutputFlags = false; # doesn't accept all and stores configureFlags in libs!
configureFlags = [
# License
"--enable-gpl"
@@ -145,6 +149,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postFixup = ''
_moveToOutput bin "$bin"
_moveToOutput share/ffmpeg/examples "$doc"
'';
/* Cross-compilation is untested, consider this an outline, more work
needs to be done to portions of the build to get it to work correctly */
crossAttrs = let