Adding partially sflphone (only daemon, maybe failing to build)
This commit is contained in:
parent
d3e7649eee
commit
53f38dcbd0
@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchurl, libyaml, alsaLib, openssl, libuuid, pkgconfig, pulseaudio, libsamplerate,
|
||||
commoncpp2, ccrtp, libzrtpcpp, dbus, dbus_cplusplus, expat, pcre, gsm, speex, ilbc, libopus,
|
||||
autoconf, automake, libtool, gettext, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sflphone-1.2.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://projects.savoirfairelinux.com/attachments/download/6423/${name}.tar.gz";
|
||||
sha256 = "0aiwlky7mp5l51a7kkhkmaz7ivapypar291kdxzdxl1s3qy0x6fd";
|
||||
};
|
||||
|
||||
patches = [ ./libzrtpcpp-cflags.patch ];
|
||||
|
||||
preConfigure = ''
|
||||
cd daemon
|
||||
|
||||
# Post patch, required
|
||||
autoreconf -vfi
|
||||
|
||||
cd libs
|
||||
bash ./compile_pjsip.sh
|
||||
cd ..
|
||||
'';
|
||||
|
||||
configureFlags = "--with-expat --with-expat-inc=${expat}/include " +
|
||||
"--with-expat-lib=-lexpat --with-opus ";
|
||||
|
||||
buildInputs = [ libyaml alsaLib openssl libuuid pkgconfig pulseaudio libsamplerate
|
||||
commoncpp2 ccrtp libzrtpcpp dbus dbus_cplusplus expat pcre gsm speex ilbc libopus
|
||||
autoconf automake libtool gettext perl ];
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
diff --git a/daemon/src/audio/audiortp/Makefile.am b/daemon/src/audio/audiortp/Makefile.am
|
||||
index c27eedd..fe64077 100644
|
||||
--- a/daemon/src/audio/audiortp/Makefile.am
|
||||
+++ b/daemon/src/audio/audiortp/Makefile.am
|
||||
@@ -4,6 +4,10 @@ noinst_LTLIBRARIES = libaudiortp.la
|
||||
|
||||
if BUILD_ZRTP
|
||||
SFL_ZRTP_SRC=audio_zrtp_session.h audio_zrtp_session.cpp zrtp_session_callback.cpp zrtp_session_callback.h
|
||||
+libaudiortp_la_CXXFLAGS = \
|
||||
+ @CCGNU2_CFLAGS@ \
|
||||
+ @ZRTPCPP_CFLAGS@ \
|
||||
+ @CCRTP_CFLAGS@
|
||||
endif
|
||||
|
||||
libaudiortp_la_SOURCES = \
|
@ -8107,6 +8107,8 @@ let
|
||||
|
||||
seq24 = callPackage ../applications/audio/seq24 { };
|
||||
|
||||
sflphone = callPackage ../applications/networking/instant-messengers/sflphone { };
|
||||
|
||||
siproxd = callPackage ../applications/networking/siproxd { };
|
||||
|
||||
skype = callPackage_i686 ../applications/networking/instant-messengers/skype {
|
||||
@ -8115,7 +8117,6 @@ let
|
||||
|
||||
skype4pidgin = callPackage ../applications/networking/instant-messengers/pidgin-plugins/skype4pidgin { };
|
||||
|
||||
|
||||
skype_call_recorder = callPackage ../applications/networking/instant-messengers/skype-call-recorder { };
|
||||
|
||||
st = callPackage ../applications/misc/st {
|
||||
|
Loading…
Reference in New Issue
Block a user