Commit 9bfcb82d authored by Ghislain MARY's avatar Ghislain MARY

Fill desktop configuration.

parent 97bca2d7
......@@ -20,7 +20,22 @@
#
############################################################################
.PHONY: build-bb10-i486 build-bb10-arm build-bb10
.PHONY: build-desktop build-bb10-i486 build-bb10-arm build-bb10
all: build-desktop
build-desktop:
mkdir -p build-desktop && \
cd build-desktop && \
cmake .. $(filter -D%,$(MAKEFLAGS)) && \
make
clean-desktop:
cd build-desktop && \
make clean
veryclean-desktop:
rm -rf build-desktop
build-bb10-i486:
mkdir -p liblinphonesdk && \
......
......@@ -20,11 +20,33 @@
#
############################################################################
set(AUTOTOOLS_SHARED_LIBRARIES "--disable-static --enable-shared")
set(CMAKE_SHARED_LIBRARIES "-DENABLE_STATIC=0")
# cunit
set(EP_cunit_CONFIGURE_OPTIONS "${AUTOTOOLS_SHARED_LIBRARIES}")
# xml2
set(EP_xml2_CONFIGURE_OPTIONS "${AUTOTOOLS_SHARED_LIBRARIES} ${EP_xml2_CONFIGURE_OPTIONS}")
# antlr3
set(EP_antlr3c_CMAKE_OPTIONS "${CMAKE_SHARED_LIBRARIES} ${EP_antlr3c_CMAKE_OPTIONS}")
# polarssl
set(EP_polarssl_CMAKE_OPTIONS "-DUSE_SHARED_POLARSSL_LIBRARY=1")
# bellesip
set(EP_bellesip_CONFIGURE_OPTIONS "${AUTOTOOLS_SHARED_LIBRARIES} ${EP_bellesip_CONFIGURE_OPTIONS}")
set(EP_bellesip_EXTRA_CFLAGS "-Wno-error=pragmas")
# srtp
set(EP_srtp_CONFIGURE_OPTIONS "--enable-shared ${EP_srtp_CONFIGURE_OPTIONS}")
# speex
set(EP_speex_CMAKE_OPTIONS "${CMAKE_SHARED_LIBRARIES} ${EP_speex_CMAKE_OPTIONS}")
# opus
set(EP_opus_CONFIGURE_OPTIONS "${EP_opus_CONFIGURE_OPTIONS} --enable-fixed-point --disable-asm")
set(EP_opus_CONFIGURE_OPTIONS "${AUTOTOOLS_SHARED_LIBRARIES} ${EP_opus_CONFIGURE_OPTIONS} --enable-fixed-point --disable-asm")
# linphone
set(EP_linphone_CONFIGURE_OPTIONS "${EP_linphone_CONFIGURE_OPTIONS} --disable-nls --with-readline=none --enable-gtk_ui=no --enable-console_ui=no --disable-theora --disable-sdl --disable-x11 --disable-tutorials --disable-tools --disable-msg-storage --disable-video --disable-zrtp --enable-broken-srtp --disable-alsa")
set(EP_linphone_CONFIGURE_OPTIONS "${AUTOTOOLS_SHARED_LIBRARIES} ${EP_linphone_CONFIGURE_OPTIONS} --disable-nls --with-readline=none --enable-gtk_ui=no --enable-console_ui=no --disable-theora --disable-sdl --disable-x11 --disable-tutorials --disable-tools --disable-msg-storage --disable-video --disable-zrtp --enable-broken-srtp --disable-alsa")
......@@ -37,12 +37,11 @@ set(LINPHONE_BUILDER_BUILDERS
# cunit
set(EP_cunit_GIT_REPOSITORY "git://git.linphone.org/cunit.git")
set(EP_cunit_GIT_TAG "linphone")
set(EP_cunit_CONFIGURE_OPTIONS "--disable-static --enable-shared")
# xml2
set(EP_xml2_GIT_REPOSITORY "git://git.gnome.org/libxml2")
set(EP_xml2_GIT_TAG "v2.8.0")
set(EP_xml2_CONFIGURE_OPTIONS "--disable-static --enable-shared --disable-rebuild-docs --with-iconv=no --with-python=no --with-zlib=no --with-modules=no")
set(EP_xml2_CONFIGURE_OPTIONS "--disable-rebuild-docs --with-iconv=no --with-python=no --with-zlib=no --with-modules=no")
# antlr3c
set(EP_antlr3c_GIT_REPOSITORY "git://git.linphone.org/antlr3.git")
......@@ -52,18 +51,17 @@ set(EP_antlr3c_CMAKE_OPTIONS "-DENABLE_DEBUGGER=0")
# polarssl
set(EP_polarssl_GIT_REPOSITORY "git://git.linphone.org/polarssl.git")
set(EP_polarssl_GIT_TAG "linphone")
set(EP_polarssl_CMAKE_OPTIONS "-DUSE_SHARED_POLARSSL_LIBRARY=1")
# belle-sip
set(EP_bellesip_GIT_REPOSITORY "git://git.linphone.org/belle-sip.git")
set(EP_bellesip_GIT_TAG "master")
set(EP_bellesip_CONFIGURE_OPTIONS "--disable-static --enable-shared --enable-tls")
set(EP_bellesip_CONFIGURE_OPTIONS "--enable-tls")
set(EP_bellesip_DEPENDENCIES EP_antlr3c EP_cunit EP_polarssl)
# srtp
set(EP_srtp_GIT_REPOSITORY "git://git.linphone.org/srtp.git")
set(EP_srtp_GIT_TAG "master")
set(EP_srtp_CONFIGURE_OPTIONS "--enable-shared --enable-pic")
set(EP_srtp_CONFIGURE_OPTIONS "--enable-pic")
# gsm
set(EP_gsm_GIT_REPOSITORY "git://git.linphone.org/gsm.git")
......@@ -73,15 +71,14 @@ set(EP_gsm_PATCH_COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${CMAKE_CURRENT_SOURCE_
# speex
set(EP_speex_GIT_REPOSITORY "git://git.linphone.org/speex.git")
set(EP_speex_GIT_TAG "linphone")
set(EP_speex_CMAKE_OPTIONS "-DENABLE_STATIC=0")
# opus
set(EP_opus_GIT_REPOSITORY "git://git.opus-codec.org/opus.git")
set(EP_opus_GIT_TAG "v1.0.3")
set(EP_opus_CONFIGURE_OPTIONS "--disable-static --enable-shared --disable-extra-programs --disable-doc")
set(EP_opus_CONFIGURE_OPTIONS "--disable-extra-programs --disable-doc")
# linphone
set(EP_linphone_GIT_REPOSITORY "git://git.linphone.org/linphone.git")
set(EP_linphone_GIT_TAG "master")
set(EP_linphone_CONFIGURE_OPTIONS "--disable-static --enable-shared --disable-strict --enable-bellesip")
set(EP_linphone_CONFIGURE_OPTIONS "--disable-strict --enable-bellesip")
set(EP_linphone_DEPENDENCIES EP_bellesip EP_xml2 EP_gsm EP_speex EP_opus EP_srtp)
......@@ -19,3 +19,33 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
############################################################################
set(AUTOTOOLS_SHARED_LIBRARIES "--disable-static --enable-shared")
set(CMAKE_SHARED_LIBRARIES "-DENABLE_STATIC=0")
# cunit
set(EP_cunit_CONFIGURE_OPTIONS "${AUTOTOOLS_SHARED_LIBRARIES}")
# xml2
set(EP_xml2_CONFIGURE_OPTIONS "${AUTOTOOLS_SHARED_LIBRARIES} ${EP_xml2_CONFIGURE_OPTIONS}")
# antlr3
set(EP_antlr3c_CMAKE_OPTIONS "${CMAKE_SHARED_LIBRARIES} ${EP_antlr3c_CMAKE_OPTIONS}")
# polarssl
set(EP_polarssl_CMAKE_OPTIONS "-DUSE_SHARED_POLARSSL_LIBRARY=1")
# bellesip
set(EP_bellesip_CONFIGURE_OPTIONS "${AUTOTOOLS_SHARED_LIBRARIES} ${EP_bellesip_CONFIGURE_OPTIONS}")
# srtp
set(EP_srtp_CONFIGURE_OPTIONS "--enable-shared ${EP_srtp_CONFIGURE_OPTIONS}")
# speex
set(EP_speex_CMAKE_OPTIONS "${CMAKE_SHARED_LIBRARIES} ${EP_speex_CMAKE_OPTIONS}")
# opus
set(EP_opus_CONFIGURE_OPTIONS "${AUTOTOOLS_SHARED_LIBRARIES} ${EP_opus_CONFIGURE_OPTIONS}")
# linphone
set(EP_linphone_CONFIGURE_OPTIONS "${AUTOTOOLS_SHARED_LIBRARIES} ${EP_linphone_CONFIGURE_OPTIONS}")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment