about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorEmery Hemingway <emery@vfemail.net>2016-09-26 00:23:04 +0200
committerEmery Hemingway <emery@vfemail.net>2016-09-26 00:29:39 +0200
commit94d059d1d9a0c9af467b9bfcaebc17fc4c59ac71 (patch)
tree173042306ebe278508681362c017d63617bc275d /pkgs/applications/networking
parent3edef544e4243088fb9d578d8400507970152eac (diff)
downloadnixlib-94d059d1d9a0c9af467b9bfcaebc17fc4c59ac71.tar
nixlib-94d059d1d9a0c9af467b9bfcaebc17fc4c59ac71.tar.gz
nixlib-94d059d1d9a0c9af467b9bfcaebc17fc4c59ac71.tar.bz2
nixlib-94d059d1d9a0c9af467b9bfcaebc17fc4c59ac71.tar.lz
nixlib-94d059d1d9a0c9af467b9bfcaebc17fc4c59ac71.tar.xz
nixlib-94d059d1d9a0c9af467b9bfcaebc17fc4c59ac71.tar.zst
nixlib-94d059d1d9a0c9af467b9bfcaebc17fc4c59ac71.zip
baresip: enable G.711 codec
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/instant-messengers/baresip/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/baresip/default.nix b/pkgs/applications/networking/instant-messengers/baresip/default.nix
index c671ea0a586d..dbb7b3fe2373 100644
--- a/pkgs/applications/networking/instant-messengers/baresip/default.nix
+++ b/pkgs/applications/networking/instant-messengers/baresip/default.nix
@@ -1,7 +1,7 @@
 {stdenv, fetchurl, zlib, openssl, libre, librem, pkgconfig
 , cairo, mpg123, gstreamer, gst_ffmpeg, gst_plugins_base, gst_plugins_bad
 , gst_plugins_good, alsaLib, SDL, libv4l, celt, libsndfile, srtp, ffmpeg
-, gsm, speex, portaudio, spandsp, libuuid
+, gsm, speex, portaudio, spandsp, libuuid, ccache
 }:
 stdenv.mkDerivation rec {
   version = "0.4.20";
@@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
   buildInputs = [zlib openssl libre librem pkgconfig
     cairo mpg123 gstreamer gst_ffmpeg gst_plugins_base gst_plugins_bad gst_plugins_good
     alsaLib SDL libv4l celt libsndfile srtp ffmpeg gsm speex portaudio spandsp libuuid
+    ccache
     ];
   makeFlags = [
     "LIBRE_MK=${libre}/share/re/re.mk"
@@ -21,6 +22,7 @@ stdenv.mkDerivation rec {
     "LIBREM_PATH=${librem}"
     ''PREFIX=$(out)''
     "USE_VIDEO=1"
+    "CCACHE_DISABLE=1"
 
     "USE_ALSA=1" "USE_AMR=1" "USE_CAIRO=1" "USE_CELT=1" 
     "USE_CONS=1" "USE_EVDEV=1" "USE_FFMPEG=1"  "USE_GSM=1" "USE_GST=1" 
@@ -29,7 +31,7 @@ stdenv.mkDerivation rec {
     "USE_SPEEX_AEC=1" "USE_SPEEX_PP=1" "USE_SPEEX_RESAMP=1" "USE_SRTP=1" 
     "USE_STDIO=1" "USE_SYSLOG=1" "USE_UUID=1" "USE_V4L2=1" "USE_X11=1"
 
-    "USE_BV32=" "USE_COREAUDIO=" "USE_G711=" "USE_G722=" "USE_G722_1=" 
+    "USE_BV32=" "USE_COREAUDIO=" "USE_G711=1" "USE_G722=1" "USE_G722_1="
     "USE_ILBC=" "USE_OPUS=" "USE_SILK=" 
   ]
   ++ stdenv.lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}"