tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
darkice: Fix build due to multiple outputs
Franz Pletz
10 years ago
76fc67a0
9ad2832b
+17
-7
1 changed file
expand all
collapse all
unified
split
pkgs
tools
audio
darkice
default.nix
+17
-7
pkgs/tools/audio/darkice/default.nix
···
1
-
{ stdenv, buildEnv, fetchurl, alsaLib, faac, libjack2, lame, libogg, libopus, libpulseaudio, libsamplerate, libvorbis }:
0
0
0
2
3
let
4
oggEnv = buildEnv {
5
name = "env-darkice-ogg";
6
paths = [
7
-
libopus libvorbis libogg
0
0
0
0
0
0
0
8
];
9
};
10
···
18
};
19
20
configureFlags = [
21
-
"--with-alsa-prefix=${alsaLib}"
22
"--with-faac-prefix=${faac}"
23
"--with-jack-prefix=${libjack2}"
24
-
"--with-lame-prefix=${lame}"
25
"--with-opus-prefix=${oggEnv}"
26
-
"--with-pulseaudio-prefix=${libpulseaudio}"
27
-
"--with-samplerate-prefix=${libsamplerate}"
28
"--with-vorbis-prefix=${oggEnv}"
29
# "--with-aacplus-prefix=${aacplus}" ### missing: aacplus
30
# "--with-twolame-prefix=${twolame}" ### missing: twolame
···
34
homepage = http://darkice.org/;
35
description = "Live audio streamer";
36
license = stdenv.lib.licenses.gpl3;
37
-
maintainers = with stdenv.lib.maintainers; [ ikervagyok ];
38
};
39
}
···
1
+
{ stdenv, buildEnv, fetchurl
2
+
, libjack2, alsaLib, libpulseaudio
3
+
, faac, lame, libogg, libopus, libvorbis, libsamplerate
4
+
}:
5
6
let
7
oggEnv = buildEnv {
8
name = "env-darkice-ogg";
9
paths = [
10
+
libopus.dev libopus libvorbis.dev libvorbis libogg.dev libogg
11
+
];
12
+
};
13
+
14
+
darkiceEnv = buildEnv {
15
+
name = "env-darkice";
16
+
paths = [
17
+
lame.out lame.lib libpulseaudio libpulseaudio.dev alsaLib alsaLib.dev libsamplerate.out libsamplerate.dev
18
];
19
};
20
···
28
};
29
30
configureFlags = [
31
+
"--with-alsa-prefix=${darkiceEnv}"
32
"--with-faac-prefix=${faac}"
33
"--with-jack-prefix=${libjack2}"
34
+
"--with-lame-prefix=${darkiceEnv}"
35
"--with-opus-prefix=${oggEnv}"
36
+
"--with-pulseaudio-prefix=${darkiceEnv}"
37
+
"--with-samplerate-prefix=${darkiceEnv}"
38
"--with-vorbis-prefix=${oggEnv}"
39
# "--with-aacplus-prefix=${aacplus}" ### missing: aacplus
40
# "--with-twolame-prefix=${twolame}" ### missing: twolame
···
44
homepage = http://darkice.org/;
45
description = "Live audio streamer";
46
license = stdenv.lib.licenses.gpl3;
47
+
maintainers = with stdenv.lib.maintainers; [ ikervagyok fpletz ];
48
};
49
}