Commit e6fa040c authored by jehan's avatar jehan

move to git because svn server cert is not trusted by svn client

parent bdaac0ea
......@@ -19,9 +19,9 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
############################################################################
set(EP_codec2_SVN_REPOSITORY "https://svn.code.sf.net/p/freetel/code/codec2/branches/0.3/" CACHE STRING "codec2 repository URL")
set(EP_codec2_GIT_REPOSITORY "git://git.linphone.org/codec2.git" CACHE STRING " codec2 mirror repository URL")
set(EP_codec2_GIT_TAG_LATEST "linphone" CACHE STRING "codec2 tag to use when compiling latest version")
set(EP_codec2_CMAKE_OPTIONS "-DBUILD_SHARED_LIBS=NO")
set(EP_codec2_EXTRA_CFLAGS "-include ${CMAKE_CURRENT_LIST_DIR}/codec2/codec2_prefixed_symbols.h")
set(EP_codec2_PATCH_COMMAND "${PATCH_PROGRAM}" "-p1" "-i" "${CMAKE_CURRENT_LIST_DIR}/codec2/no-executables.patch")
set(EP_codec2_EXTERNAL_SOURCE_PATHS "externals/codec2")
diff -urN codec2.orig/src/CMakeLists.txt codec2/src/CMakeLists.txt
--- codec2.orig/src/CMakeLists.txt 2016-03-03 14:38:06.682265907 +0100
+++ codec2/src/CMakeLists.txt 2016-03-03 14:38:29.575598823 +0100
@@ -80,6 +80,7 @@
set(CODEBOOKSGE ${D}/gecb.txt)
+if(FALSE)
# when crosscompiling import the executable targets from a file
if(CMAKE_CROSSCOMPILING)
set(IMPORT_EXECUTABLES "IMPORTFILE-NOTFOUND" CACHE FILEPATH "Point to the export file from a native build")
@@ -153,6 +154,7 @@
COMMAND generate_codebook ge_cb ${CODEBOOKSGE} > ${CMAKE_CURRENT_BINARY_DIR}/codebookge.c
DEPENDS generate_codebook ${CODEBOOKSGE}
)
+endif()
#
# codec2 library sources
@@ -203,6 +205,7 @@
PUBLIC_HEADER "${CODEC2_PUBLIC_HEADERS}"
)
+if(FALSE)
add_executable(c2demo c2demo.c)
target_link_libraries(c2demo ${CMAKE_REQUIRED_LIBRARIES} codec2)
@@ -238,6 +241,7 @@
add_executable(fec_dec fec_dec.c golay23.c)
target_link_libraries(fec_dec ${CMAKE_REQUIRED_LIBRARIES} codec2)
+endif()
install(TARGETS codec2 EXPORT codec2-config
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
@@ -250,6 +254,7 @@
# DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/codec2
#)
+if(FALSE)
install(TARGETS
c2demo
c2demo
@@ -265,3 +270,4 @@
fec_dec
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
+endif()
......@@ -22,7 +22,6 @@
set(EP_mscodec2_GIT_REPOSITORY "git://git.linphone.org/mscodec2.git" CACHE STRING "mscodec2 repository URL")
set(EP_mscodec2_GIT_TAG_LATEST "master" CACHE STRING "mscodec2 tag to use when compiling latest version")
set(EP_mscodec2_GIT_TAG "1.0.2" CACHE STRING "mscodec2 tag to use")
set(EP_mscodec2_EXTERNAL_SOURCE_PATHS "mscodec2")
set(EP_mscodec2_GROUPABLE YES)
......
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