ffmpeg: split into multiple outputs
Also fix some referrers.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user