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
1
-
{ stdenv, buildEnv, fetchurl, alsaLib, faac, libjack2, lame, libogg, libopus, libpulseaudio, libsamplerate, libvorbis }:
1
1
+
{ stdenv, buildEnv, fetchurl
2
2
+
, libjack2, alsaLib, libpulseaudio
3
3
+
, faac, lame, libogg, libopus, libvorbis, libsamplerate
4
4
+
}:
2
5
3
6
let
4
7
oggEnv = buildEnv {
5
8
name = "env-darkice-ogg";
6
9
paths = [
7
7
-
libopus libvorbis libogg
10
10
+
libopus.dev libopus libvorbis.dev libvorbis libogg.dev libogg
11
11
+
];
12
12
+
};
13
13
+
14
14
+
darkiceEnv = buildEnv {
15
15
+
name = "env-darkice";
16
16
+
paths = [
17
17
+
lame.out lame.lib libpulseaudio libpulseaudio.dev alsaLib alsaLib.dev libsamplerate.out libsamplerate.dev
8
18
];
9
19
};
10
20
···
18
28
};
19
29
20
30
configureFlags = [
21
21
-
"--with-alsa-prefix=${alsaLib}"
31
31
+
"--with-alsa-prefix=${darkiceEnv}"
22
32
"--with-faac-prefix=${faac}"
23
33
"--with-jack-prefix=${libjack2}"
24
24
-
"--with-lame-prefix=${lame}"
34
34
+
"--with-lame-prefix=${darkiceEnv}"
25
35
"--with-opus-prefix=${oggEnv}"
26
26
-
"--with-pulseaudio-prefix=${libpulseaudio}"
27
27
-
"--with-samplerate-prefix=${libsamplerate}"
36
36
+
"--with-pulseaudio-prefix=${darkiceEnv}"
37
37
+
"--with-samplerate-prefix=${darkiceEnv}"
28
38
"--with-vorbis-prefix=${oggEnv}"
29
39
# "--with-aacplus-prefix=${aacplus}" ### missing: aacplus
30
40
# "--with-twolame-prefix=${twolame}" ### missing: twolame
···
34
44
homepage = http://darkice.org/;
35
45
description = "Live audio streamer";
36
46
license = stdenv.lib.licenses.gpl3;
37
37
-
maintainers = with stdenv.lib.maintainers; [ ikervagyok ];
47
47
+
maintainers = with stdenv.lib.maintainers; [ ikervagyok fpletz ];
38
48
};
39
49
}