libvpx: split into multiple outputs
Rather an easy one, it seems.
This commit is contained in:
parent
91407a8bdf
commit
f28924173e
@ -72,6 +72,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patchPhase = ''patchShebangs .'';
|
patchPhase = ''patchShebangs .'';
|
||||||
|
|
||||||
|
outputs = [ "dev" "out" "bin" ];
|
||||||
|
setOutputFlags = false;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
(enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
|
(enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
|
||||||
(enableFeature vp8EncoderSupport "vp8-encoder")
|
(enableFeature vp8EncoderSupport "vp8-encoder")
|
||||||
@ -146,6 +149,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
postInstall = ''_moveToOutput bin "$bin" '';
|
||||||
|
|
||||||
crossAttrs = let
|
crossAttrs = let
|
||||||
isCygwin = stdenv.cross.libc == "msvcrt";
|
isCygwin = stdenv.cross.libc == "msvcrt";
|
||||||
isDarwin = stdenv.cross.libc == "libSystem";
|
isDarwin = stdenv.cross.libc == "libSystem";
|
||||||
|
@ -73,6 +73,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patchPhase = ''patchShebangs .'';
|
patchPhase = ''patchShebangs .'';
|
||||||
|
|
||||||
|
outputs = [ "dev" "out" "bin" ];
|
||||||
|
setOutputFlags = false;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
(enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
|
(enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
|
||||||
(enableFeature vp8EncoderSupport "vp8-encoder")
|
(enableFeature vp8EncoderSupport "vp8-encoder")
|
||||||
@ -147,6 +150,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
postInstall = ''_moveToOutput bin "$bin" '';
|
||||||
|
|
||||||
crossAttrs = let
|
crossAttrs = let
|
||||||
isCygwin = stdenv.cross.libc == "msvcrt";
|
isCygwin = stdenv.cross.libc == "msvcrt";
|
||||||
isDarwin = stdenv.cross.libc == "libSystem";
|
isDarwin = stdenv.cross.libc == "libSystem";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user