mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
deps are included in source
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
SUBDIRS = utilspp stund src ringtones
|
||||
SUBDIRS = deps utilspp stund src ringtones
|
||||
EXTRA_DIST = tools/*.sh
|
||||
|
15
Makefile.cvs
15
Makefile.cvs
@ -1,4 +1,6 @@
|
||||
all:
|
||||
DEPS=deps/ccrtp-1.3.5 deps/libosip2-2.2.1 deps/portaudio deps/commoncpp2-1.3.21 deps/libeXosip2-1.9.1-pre17
|
||||
|
||||
all: $(DEPS)
|
||||
@echo "This Makefile is only for the CVS repository"
|
||||
@echo "This will be deleted before making the distribution"
|
||||
@echo ""
|
||||
@ -8,3 +10,14 @@ all:
|
||||
exit 1 ;\
|
||||
fi
|
||||
$(MAKE) -f admin/Makefile.common cvs
|
||||
|
||||
|
||||
deps/ccrtp-1.3.5: deps/ccrtp-1.3.5.tar.gz
|
||||
cd deps/ && \
|
||||
tar zxvf ccrtp-1.3.5.tar.gz
|
||||
|
||||
deps/: %.tar.gz
|
||||
cd deps/ && \
|
||||
tar zxvf $<
|
||||
|
||||
|
||||
|
@ -18,9 +18,6 @@
|
||||
/* Define to 1 if you have the <ostream> header file. */
|
||||
#undef HAVE_OSTREAM
|
||||
|
||||
/* Define to 1 if you have the <portaudio.h> header file. */
|
||||
#undef HAVE_PORTAUDIO_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
|
28
configure.ac
28
configure.ac
@ -12,6 +12,8 @@ AC_SUBST(RPM_VERSION)
|
||||
|
||||
LIBS="$LIBS -lstdc++"
|
||||
|
||||
ac_configure_args="$ac_configure_args --disable-josua"
|
||||
|
||||
dnl
|
||||
dnl Solaris pkgadd support definitions
|
||||
PKGADD_PKG="SFLPhoned"
|
||||
@ -55,7 +57,6 @@ AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS( \
|
||||
ostream \
|
||||
eXosip2/eXosip.h \
|
||||
portaudio.h \
|
||||
)
|
||||
|
||||
LIBCCGNU2_MIN_VERSION=1.3.1
|
||||
@ -90,18 +91,23 @@ SFLPHONE_LIBS="$SFLPHONE_LIBS $libexosip2_LIBS"
|
||||
|
||||
dnl AC_SUBST(LIBQT)
|
||||
|
||||
if test $ac_cv_header_portaudio_h = no; then
|
||||
AC_MSG_ERROR([*** missing portaudio.h. You need a working PortAudio installation. See http://www.portaudio.com])
|
||||
else
|
||||
portaudio_LIBS="-lportaudio "
|
||||
portaudio_CFLAGS="-DAUDIO_PORTAUDIO "
|
||||
fi
|
||||
dnl if test $ac_cv_header_portaudio_h = no; then
|
||||
dnl ;
|
||||
dnl AC_MSG_WARNING([*** You have an already installed version of portaudio. We'll use this version instead of the version included in the package. This might broke the compilation.])
|
||||
dnl else
|
||||
dnl fi
|
||||
LDFLAGS="$LDFLAGS -L"'$(top_srcdir)/portaudio/lib/'
|
||||
CPPFLAGS="$CPPFLAGS "'-I$(top_srcdir)/portaudio/pa_common/'
|
||||
CXXFLAGS="$CXXFLAGS"' `bash $(top_srcdir)/portaudio/portaudio-config --cflags`'
|
||||
|
||||
portaudio_LIBS='`bash $(top_srcdir)/portaudio/portaudio-config --libs`'
|
||||
portaudio_CFLAGS="-DAUDIO_PORTAUDIO "
|
||||
SFLPHONE_LIBS="$SFLPHONE_LIBS $portaudio_LIBS"
|
||||
SFLPHONE_CXXFLAGS=="$SFLPHONE_CXXFLAGS $portaudio_CFLAGS"
|
||||
AC_SUBST(portaudio_CFLAGS)
|
||||
AC_SUBST(portaudio_LIB)
|
||||
|
||||
|
||||
AC_SUBST(SFLPHONE_CXXFLAGS)
|
||||
AC_SUBST(SFLPHONE_LIBS)
|
||||
|
||||
@ -142,11 +148,19 @@ fi
|
||||
AC_SUBST(LIB_DNSSD)
|
||||
AM_CONDITIONAL(USE_ZEROCONF, test "$have_libdns_sd" = "yes")
|
||||
|
||||
AC_CONFIG_SUBDIRS(\
|
||||
deps/ccrtp-1.3.5 \
|
||||
deps/commoncpp2-1.3.21 \
|
||||
deps/libeXosip2-1.9.1-pre17 \
|
||||
deps/libosip2-2.2.1 \
|
||||
deps/portaudio)
|
||||
|
||||
dnl AC_CONFIG_FILES(
|
||||
AC_OUTPUT(
|
||||
sflphone.spec \
|
||||
sflphoned-fedora.spec \
|
||||
Makefile \
|
||||
deps/Makefile \
|
||||
src/Makefile \
|
||||
src/sflphone \
|
||||
src/audio/Makefile \
|
||||
|
7
deps/Makefile.am
vendored
Normal file
7
deps/Makefile.am
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
SUBDIRS = \
|
||||
ccrtp-1.3.5 \
|
||||
commoncpp2-1.3.21 \
|
||||
libeXosip2-1.9.1-pre17 \
|
||||
libosip2-2.2.1 \
|
||||
portaudio
|
||||
|
BIN
deps/ccrtp-1.3.5.tar.gz
vendored
Normal file
BIN
deps/ccrtp-1.3.5.tar.gz
vendored
Normal file
Binary file not shown.
BIN
deps/commoncpp2-1.3.21.tar.gz
vendored
Normal file
BIN
deps/commoncpp2-1.3.21.tar.gz
vendored
Normal file
Binary file not shown.
BIN
deps/libeXosip2-1.9.1-pre17.tar.gz
vendored
Normal file
BIN
deps/libeXosip2-1.9.1-pre17.tar.gz
vendored
Normal file
Binary file not shown.
BIN
deps/libosip2-2.2.1.tar.gz
vendored
Normal file
BIN
deps/libosip2-2.2.1.tar.gz
vendored
Normal file
Binary file not shown.
BIN
deps/pa_snapshot_v19.tar.gz
vendored
Normal file
BIN
deps/pa_snapshot_v19.tar.gz
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user