darkice: Fix build due to multiple outputs
This commit is contained in:
parent
9ad2832b1b
commit
76fc67a083
@ -1,10 +1,20 @@
|
|||||||
{ stdenv, buildEnv, fetchurl, alsaLib, faac, libjack2, lame, libogg, libopus, libpulseaudio, libsamplerate, libvorbis }:
|
{ stdenv, buildEnv, fetchurl
|
||||||
|
, libjack2, alsaLib, libpulseaudio
|
||||||
|
, faac, lame, libogg, libopus, libvorbis, libsamplerate
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
oggEnv = buildEnv {
|
oggEnv = buildEnv {
|
||||||
name = "env-darkice-ogg";
|
name = "env-darkice-ogg";
|
||||||
paths = [
|
paths = [
|
||||||
libopus libvorbis libogg
|
libopus.dev libopus libvorbis.dev libvorbis libogg.dev libogg
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
darkiceEnv = buildEnv {
|
||||||
|
name = "env-darkice";
|
||||||
|
paths = [
|
||||||
|
lame.out lame.lib libpulseaudio libpulseaudio.dev alsaLib alsaLib.dev libsamplerate.out libsamplerate.dev
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -18,13 +28,13 @@ in stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-alsa-prefix=${alsaLib}"
|
"--with-alsa-prefix=${darkiceEnv}"
|
||||||
"--with-faac-prefix=${faac}"
|
"--with-faac-prefix=${faac}"
|
||||||
"--with-jack-prefix=${libjack2}"
|
"--with-jack-prefix=${libjack2}"
|
||||||
"--with-lame-prefix=${lame}"
|
"--with-lame-prefix=${darkiceEnv}"
|
||||||
"--with-opus-prefix=${oggEnv}"
|
"--with-opus-prefix=${oggEnv}"
|
||||||
"--with-pulseaudio-prefix=${libpulseaudio}"
|
"--with-pulseaudio-prefix=${darkiceEnv}"
|
||||||
"--with-samplerate-prefix=${libsamplerate}"
|
"--with-samplerate-prefix=${darkiceEnv}"
|
||||||
"--with-vorbis-prefix=${oggEnv}"
|
"--with-vorbis-prefix=${oggEnv}"
|
||||||
# "--with-aacplus-prefix=${aacplus}" ### missing: aacplus
|
# "--with-aacplus-prefix=${aacplus}" ### missing: aacplus
|
||||||
# "--with-twolame-prefix=${twolame}" ### missing: twolame
|
# "--with-twolame-prefix=${twolame}" ### missing: twolame
|
||||||
@ -34,6 +44,6 @@ in stdenv.mkDerivation rec {
|
|||||||
homepage = http://darkice.org/;
|
homepage = http://darkice.org/;
|
||||||
description = "Live audio streamer";
|
description = "Live audio streamer";
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
maintainers = with stdenv.lib.maintainers; [ ikervagyok ];
|
maintainers = with stdenv.lib.maintainers; [ ikervagyok fpletz ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user