Commit 76b45cd8 authored by Ghislain MARY's avatar Ghislain MARY

Rework LINPHONE_BUILDER_LATEST.

parent 06d9ae0a
......@@ -21,11 +21,9 @@
############################################################################
set(EP_antlr3c_GIT_REPOSITORY "git://git.linphone.org/antlr3.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_antlr3c_GIT_TAG "linphone")
else()
set(EP_antlr3c_GIT_TAG "8b8f6295c2c48136c8c6f2925d6fe8acef6162dc")
endif()
set(EP_antlr3c_GIT_TAG_LATEST "linphone")
set(EP_antlr3c_GIT_TAG "8b8f6295c2c48136c8c6f2925d6fe8acef6162dc")
set(EP_antlr3c_CMAKE_OPTIONS "-DENABLE_DEBUGGER=0")
set(EP_antlr3c_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_bcg729_GIT_REPOSITORY "git://git.linphone.org/bcg729.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_bcg729_GIT_TAG "master")
else()
set(EP_bcg729_GIT_TAG "28fdc4259dad961705d3581d3837bbdf066cacfb")
endif()
set(EP_bcg729_GIT_TAG_LATEST "master")
set(EP_bcg729_GIT_TAG "28fdc4259dad961705d3581d3837bbdf066cacfb")
set(EP_linphone_CMAKE_OPTIONS )
set(EP_linphone_LINKING_TYPE "-DENABLE_STATIC=NO")
set(EP_bcg729_DEPENDENCIES EP_ms2)
......@@ -21,11 +21,9 @@
############################################################################
set(EP_bellesip_GIT_REPOSITORY "git://git.linphone.org/belle-sip.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_bellesip_GIT_TAG "master")
else()
set(EP_bellesip_GIT_TAG "a83140a531e8bbb8c43c11bc1a506fa42548f83a")
endif()
set(EP_bellesip_GIT_TAG_LATEST "master")
set(EP_bellesip_GIT_TAG "a83140a531e8bbb8c43c11bc1a506fa42548f83a")
set(EP_bellesip_CMAKE_OPTIONS )
set(EP_bellesip_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_bellesip_DEPENDENCIES EP_antlr3c EP_polarssl)
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_bzrtp_GIT_REPOSITORY "git://git.linphone.org/bzrtp.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_bzrtp_GIT_TAG "master")
else()
set(EP_bzrtp_GIT_TAG "f0bda2c4f58e90142fc0f4a4f33363aa38c0cdc7")
endif()
set(EP_bzrtp_GIT_TAG_LATEST "master")
set(EP_bzrtp_GIT_TAG "f0bda2c4f58e90142fc0f4a4f33363aa38c0cdc7")
set(EP_bzrtp_CMAKE_OPTIONS )
set(EP_bzrtp_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_bzrtp_DEPENDENCIES EP_polarssl EP_xml2)
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_cunit_GIT_REPOSITORY "git://git.linphone.org/cunit.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_cunit_GIT_TAG "linphone")
else()
set(EP_cunit_GIT_TAG "eb4626ad1d68cdb29e4d9719f9de3948d35c449d")
endif()
set(EP_cunit_GIT_TAG_LATEST "linphone")
set(EP_cunit_GIT_TAG "eb4626ad1d68cdb29e4d9719f9de3948d35c449d")
set(EP_cunit_CMAKE_OPTIONS "-DENABLE_AUTOMATED=1" "-DENABLE_CONSOLE=0")
set(EP_cunit_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
......
......@@ -21,12 +21,8 @@
############################################################################
set(EP_flexisip_GIT_REPOSITORY "gitosis@git.linphone.org:flexisip")
if(LINPHONE_BUILDER_LATEST)
set(EP_flexisip_GIT_TAG "master")
else()
set(EP_flexisip_GIT_TAG "7892114eb03c28a4983dd5626aed704cca9efa1b")
endif()
set(EP_flexisip_GIT_TAG_LATEST "master")
set(EP_flexisip_GIT_TAG "7892114eb03c28a4983dd5626aed704cca9efa1b")
set(EP_flexisip_DEPENDENCIES EP_ortp EP_unixodbc EP_myodbc EP_sofiasip )
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_gsm_GIT_REPOSITORY "git://git.linphone.org/gsm.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_gsm_GIT_TAG "linphone")
else()
set(EP_gsm_GIT_TAG "8722e2c643ab6cc727c62fc960cbefd43e024329")
endif()
set(EP_gsm_GIT_TAG_LATEST "linphone")
set(EP_gsm_GIT_TAG "8722e2c643ab6cc727c62fc960cbefd43e024329")
set(EP_gsm_PATCH_COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${CMAKE_CURRENT_SOURCE_DIR}/builders/gsm/CMakeLists.txt" "<SOURCE_DIR>")
set(EP_gsm_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_libilbcrfc3951_GIT_REPOSITORY "git://git.linphone.org/libilbc-rfc3951.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_libilbcrfc3951_GIT_TAG "master")
else()
set(EP_libilbcrfc3951_GIT_TAG "488f2159378d2c1956135604736dfddaeb947ef5")
endif()
set(EP_libilbcrfc3951_GIT_TAG_LATEST "master")
set(EP_libilbcrfc3951_GIT_TAG "488f2159378d2c1956135604736dfddaeb947ef5")
set(EP_libilbcrfc3951_BUILD_METHOD "autotools")
set(EP_libilbcrfc3951_USE_AUTOGEN "yes")
set(EP_libilbcrfc3951_CROSS_COMPILATION_OPTIONS
......
......@@ -21,11 +21,8 @@
############################################################################
set(EP_linphone_GIT_REPOSITORY "git://git.linphone.org/linphone.git")
if(${LINPHONE_BUILDER_LATEST})
set(EP_linphone_GIT_TAG "master")
else()
set(EP_linphone_GIT_TAG "88c902d12dea1fe5332c3a8a3b0e8bd63e4690a2")
endif()
set(EP_linphone_GIT_TAG_LATEST "master")
set(EP_linphone_GIT_TAG "88c902d12dea1fe5332c3a8a3b0e8bd63e4690a2")
set(EP_linphone_CMAKE_OPTIONS )
set(EP_linphone_LINKING_TYPE "-DENABLE_STATIC=NO")
......
......@@ -21,11 +21,8 @@
############################################################################
set(EP_ms2_GIT_REPOSITORY "git://git.linphone.org/mediastreamer2.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_ms2_GIT_TAG "master")
else()
set(EP_ms2_GIT_TAG "323dcac7fd1b8f2fc5c2acaa1fe73dc3d4ce15eb")
endif()
set(EP_ms2_GIT_TAG_LATEST "master")
set(EP_ms2_GIT_TAG "323dcac7fd1b8f2fc5c2acaa1fe73dc3d4ce15eb")
set(EP_ms2_CMAKE_OPTIONS )
set(EP_ms2_LINKING_TYPE "-DENABLE_STATIC=NO")
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_msamr_GIT_REPOSITORY "git://git.linphone.org/msamr.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_msamr_GIT_TAG "master")
else()
set(EP_msamr_GIT_TAG "8d41ba5708fbdc07db11dc87b9ad1628e461c6c6")
endif()
set(EP_msamr_GIT_TAG_LATEST "master")
set(EP_msamr_GIT_TAG "8d41ba5708fbdc07db11dc87b9ad1628e461c6c6")
set(EP_msamr_CMAKE_OPTIONS )
set(EP_msamr_DEPENDENCIES EP_ms2 EP_opencoreamr)
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_msilbc_GIT_REPOSITORY "git://git.linphone.org/msilbc.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_msilbc_GIT_TAG "master")
else()
set(EP_msilbc_GIT_TAG "00bd16fc869414dc9a68a56251ed3f895f106f2f")
endif()
set(EP_msilbc_GIT_TAG_LATEST "master")
set(EP_msilbc_GIT_TAG "00bd16fc869414dc9a68a56251ed3f895f106f2f")
set(EP_msilbc_BUILD_METHOD "autotools")
set(EP_msilbc_USE_AUTOGEN "yes")
set(EP_msilbc_CROSS_COMPILATION_OPTIONS
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_msopenh264_GIT_REPOSITORY "git://git.linphone.org/msopenh264.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_msopenh264_GIT_TAG "master")
else()
set(EP_msopenh264_GIT_TAG "e58cda7e1dc4bd9001d3cd4cd57b4cdc5dce6178")
endif()
set(EP_msopenh264_GIT_TAG_LATEST "master")
set(EP_msopenh264_GIT_TAG "e58cda7e1dc4bd9001d3cd4cd57b4cdc5dce6178")
set(EP_msopenh264_CMAKE_OPTIONS )
if(APPLE)
set(EP_msopenh264_EXTRA_LDFLAGS "-Wl,-read_only_relocs,suppress")
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_mssilk_GIT_REPOSITORY "git://git.linphone.org/mssilk.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_mssilk_GIT_TAG "master")
else()
set(EP_mssilk_GIT_TAG "a5a4cd468e7a5dd95f3f18e044c245cdc4788520")
endif()
set(EP_mssilk_GIT_TAG_LATEST "master")
set(EP_mssilk_GIT_TAG "a5a4cd468e7a5dd95f3f18e044c245cdc4788520")
set(EP_mssilk_BUILD_METHOD "autotools")
set(EP_mssilk_USE_AUTOGEN "yes")
set(EP_mssilk_CROSS_COMPILATION_OPTIONS
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_mswebrtc_GIT_REPOSITORY "git://git.linphone.org/mswebrtc.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_mswebrtc_GIT_TAG "master")
else()
set(EP_mswebrtc_GIT_TAG "0032453985975530356fb702c6ea46e45ecd3eb2")
endif()
set(EP_mswebrtc_GIT_TAG_LATEST "master")
set(EP_mswebrtc_GIT_TAG "0032453985975530356fb702c6ea46e45ecd3eb2")
set(EP_mswebrtc_BUILD_METHOD "autotools")
set(EP_mswebrtc_USE_AUTOGEN "yes")
set(EP_mswebrtc_CROSS_COMPILATION_OPTIONS
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_msx264_GIT_REPOSITORY "git://git.linphone.org/msx264.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_msx264_GIT_TAG "master")
else()
set(EP_msx264_GIT_TAG "6532dd845c59631a9149e9146ba5cf9426db906b")
endif()
set(EP_msx264_GIT_TAG_LATEST "master")
set(EP_msx264_GIT_TAG "6532dd845c59631a9149e9146ba5cf9426db906b")
set(EP_msx264_BUILD_METHOD "autotools")
set(EP_msx264_USE_AUTOGEN "yes")
set(EP_msx264_CROSS_COMPILATION_OPTIONS
......
......@@ -21,11 +21,8 @@
############################################################################
set(EP_myodbc_GIT_REPOSITORY "git://git.linphone.org/myodbc.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_myodbc_GIT_TAG "master")
else()
set(EP_myodbc_GIT_TAG "1806820618f15e2c7ca298b6ec4006c8f48bcf7d")
endif()
set(EP_myodbc_GIT_TAG_LATEST "master")
set(EP_myodbc_GIT_TAG "1806820618f15e2c7ca298b6ec4006c8f48bcf7d")
set(EP_myodbc_CMAKE_OPTIONS "-DWITH_UNIXODBC=1")
set(EP_myodbc_LINKING_TYPE )
......
......@@ -21,11 +21,8 @@
############################################################################
set(EP_ortp_GIT_REPOSITORY "git://git.linphone.org/ortp.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_ortp_GIT_TAG "master")
else()
set(EP_ortp_GIT_TAG "211d12a2a2f4ed6f9c518be57fffa7955a04633e")
endif()
set(EP_ortp_GIT_TAG_LATEST "master")
set(EP_ortp_GIT_TAG "211d12a2a2f4ed6f9c518be57fffa7955a04633e")
if("${EP_ortp_FORCE_AUTOTOOLS}" STREQUAL "yes")
set(EP_ortp_LINKING_TYPE "--enable-static")
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_polarssl_GIT_REPOSITORY "git://git.linphone.org/polarssl.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_polarssl_GIT_TAG "linphone-1.3.4")
else()
set(EP_polarssl_GIT_TAG "e9169953cd8f035c93fade0cd9db17138cf85596")
endif()
set(EP_polarssl_GIT_TAG_LATEST "linphone-1.3.4")
set(EP_polarssl_GIT_TAG "e9169953cd8f035c93fade0cd9db17138cf85596")
set(EP_polarssl_LINKING_TYPE "-DUSE_SHARED_POLARSSL_LIBRARY=1")
if(MSVC)
set(EP_polarssl_EXTRA_LDFLAGS "/SAFESEH:NO")
......
......@@ -21,12 +21,8 @@
############################################################################
set(EP_sofiasip_GIT_REPOSITORY "git://git.linphone.org/sofia-sip.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_sofiasip_GIT_TAG "bc")
else()
set(EP_sofiasip_GIT_TAG "869aff4a3c2b6a554f3546b804c0ca3f991b9f26")
endif()
set(EP_sofiasip_GIT_TAG_LATEST "bc")
set(EP_sofiasip_GIT_TAG "869aff4a3c2b6a554f3546b804c0ca3f991b9f26")
#set(EP_sofiasip_CMAKE_OPTIONS )
#set(EP_sofiasip_LINKING_TYPE "-DENABLE_STATIC=0")
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_speex_GIT_REPOSITORY "git://git.linphone.org/speex.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_speex_GIT_TAG "linphone")
else()
set(EP_speex_GIT_TAG "d472c4c38a3105c4d0ca574547c2c4865491df1d")
endif()
set(EP_speex_GIT_TAG_LATEST "linphone")
set(EP_speex_GIT_TAG "d472c4c38a3105c4d0ca574547c2c4865491df1d")
set(EP_speex_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
set(EP_speex_EXTRA_LDFLAGS "/SAFESEH:NO")
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_srtp_GIT_REPOSITORY "git://git.linphone.org/srtp.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_srtp_GIT_TAG "master")
else()
set(EP_srtp_GIT_TAG "662e37c9d5cc2a73e1755b50c7d89a5f00081a4d")
endif()
set(EP_srtp_GIT_TAG_LATEST "master")
set(EP_srtp_GIT_TAG "662e37c9d5cc2a73e1755b50c7d89a5f00081a4d")
set(EP_srtp_LINKING_TYPE "-DENABLE_STATIC=0")
if(MSVC)
set(EP_srtp_EXTRA_LDFLAGS "/SAFESEH:NO")
......
......@@ -21,11 +21,9 @@
############################################################################
set(EP_tunnel_GIT_REPOSITORY "gitosis@git.linphone.org:tunnel.git") # Private repository
if(LINPHONE_BUILDER_LATEST)
set(EP_tunnel_GIT_TAG "master")
else()
set(EP_tunnel_GIT_TAG "d0af683ace8a2ea404ac9017a84261d68f739cbd")
endif()
set(EP_tunnel_GIT_TAG_LATEST "master")
set(EP_tunnel_GIT_TAG "d0af683ace8a2ea404ac9017a84261d68f739cbd")
set(EP_tunnel_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_tunnel_CMAKE_OPTIONS "-DENABLE_SERVERS=0")
set(EP_tunnel_DEPENDENCIES EP_polarssl)
......@@ -21,13 +21,8 @@
############################################################################
set(EP_unixodbc_GIT_REPOSITORY "git://git.linphone.org/unixODBC.git")
if(LINPHONE_BUILDER_LATEST)
set(EP_unixodbc_GIT_TAG "master")
else()
set(EP_unixodbc_GIT_TAG "9558dcfdfa89c75699d4d47c0cf4ae14962a3374")
endif()
set(EP_unixodbc_GIT_TAG_LATEST "master")
set(EP_unixodbc_GIT_TAG "9558dcfdfa89c75699d4d47c0cf4ae14962a3374")
set(EP_unixodbc_DEPENDENCIES )
set(EP_unixodbc_LINKING_TYPE "--disable-static" "--enable-shared")
......
......@@ -640,9 +640,11 @@ function(linphone_builder_add_project PROJNAME)
unset(_match)
endif()
endif()
else(NOT "${EP_${PROJNAME}_URL}" STREQUAL "")
elseif(LINPHONE_BUILDER_LATEST AND EP_${PROJNAME}_GIT_TAG_LATEST)
set(DOWNLOAD_SOURCE GIT_REPOSITORY ${EP_${PROJNAME}_GIT_REPOSITORY} GIT_TAG ${EP_${PROJNAME}_GIT_TAG_LATEST})
else()
set(DOWNLOAD_SOURCE GIT_REPOSITORY ${EP_${PROJNAME}_GIT_REPOSITORY} GIT_TAG ${EP_${PROJNAME}_GIT_TAG})
endif(NOT "${EP_${PROJNAME}_URL}" STREQUAL "")
endif()
ExternalProject_Add(EP_${PROJNAME}
DEPENDS ${EP_${PROJNAME}_DEPENDENCIES}
......
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