@@ -1,7 +1,7 @@
11{stdenv, fetchurl, zlib, openssl, libre, librem, pkgconfig
22, cairo, mpg123, gstreamer, gst_ffmpeg, gst_plugins_base, gst_plugins_bad
33, gst_plugins_good, alsaLib, SDL, libv4l, celt, libsndfile, srtp, ffmpeg
4−, gsm, speex, portaudio, spandsp, libuuid
4+, gsm, speex, portaudio, spandsp, libuuid, ccache
55}:
66stdenv.mkDerivation rec {
77 version = "0.4.20";
@@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
1313 buildInputs = [zlib openssl libre librem pkgconfig
1414 cairo mpg123 gstreamer gst_ffmpeg gst_plugins_base gst_plugins_bad gst_plugins_good
1515 alsaLib SDL libv4l celt libsndfile srtp ffmpeg gsm speex portaudio spandsp libuuid
16+ ccache
1617 ];
1718 makeFlags = [
1819 "LIBRE_MK=${libre}/share/re/re.mk"
@@ -21,6 +22,7 @@ stdenv.mkDerivation rec {
2122 "LIBREM_PATH=${librem}"
2223 ''PREFIX=$(out)''
2324 "USE_VIDEO=1"
25+ "CCACHE_DISABLE=1"
2426
2527 "USE_ALSA=1" "USE_AMR=1" "USE_CAIRO=1" "USE_CELT=1"
2628 "USE_CONS=1" "USE_EVDEV=1" "USE_FFMPEG=1" "USE_GSM=1" "USE_GST=1"
@@ -29,7 +31,7 @@ stdenv.mkDerivation rec {
2931 "USE_SPEEX_AEC=1" "USE_SPEEX_PP=1" "USE_SPEEX_RESAMP=1" "USE_SRTP=1"
3032 "USE_STDIO=1" "USE_SYSLOG=1" "USE_UUID=1" "USE_V4L2=1" "USE_X11=1"
3133
32− "USE_BV32=" "USE_COREAUDIO=" "USE_G711=" "USE_G722=" "USE_G722_1="
34+ "USE_BV32=" "USE_COREAUDIO=" "USE_G711=1" "USE_G722=1" "USE_G722_1="
3335 "USE_ILBC=" "USE_OPUS=" "USE_SILK="
3436 ]
3537 ++ stdenv.lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}"