libvpx: split into multiple outputs

Rather an easy one, it seems.
This commit is contained in:
Vladimír Čunát 2015-10-05 22:47:22 +02:00
parent 91407a8bdf
commit f28924173e
2 changed files with 10 additions and 0 deletions

View File

@ -72,6 +72,9 @@ stdenv.mkDerivation rec {
patchPhase = ''patchShebangs .'';
outputs = [ "dev" "out" "bin" ];
setOutputFlags = false;
configureFlags = [
(enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
(enableFeature vp8EncoderSupport "vp8-encoder")
@ -146,6 +149,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postInstall = ''_moveToOutput bin "$bin" '';
crossAttrs = let
isCygwin = stdenv.cross.libc == "msvcrt";
isDarwin = stdenv.cross.libc == "libSystem";

View File

@ -73,6 +73,9 @@ stdenv.mkDerivation rec {
patchPhase = ''patchShebangs .'';
outputs = [ "dev" "out" "bin" ];
setOutputFlags = false;
configureFlags = [
(enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
(enableFeature vp8EncoderSupport "vp8-encoder")
@ -147,6 +150,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postInstall = ''_moveToOutput bin "$bin" '';
crossAttrs = let
isCygwin = stdenv.cross.libc == "msvcrt";
isDarwin = stdenv.cross.libc == "libSystem";