Commit 462bc472 authored by Ghislain MARY's avatar Ghislain MARY

Add hash checking of downloaded tarballs.

parent f5868258
......@@ -21,6 +21,7 @@
############################################################################
set(EP_ffmpeg_URL "http://ffmpeg.org/releases/ffmpeg-0.10.2.tar.gz")
set(EP_ffmpeg_URL_HASH "MD5=f449c9fb925e80c457e82187e6c20910")
set(EP_ffmpeg_BUILD_METHOD "autotools")
set(EP_ffmpeg_CONFIGURE_OPTIONS
"--disable-zlib"
......
......@@ -21,6 +21,7 @@
############################################################################
set(EP_opencoreamr_URL "http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.3.tar.gz")
set(EP_opencoreamr_URL_HASH "MD5=09d2c5dfb43a9f6e9fec8b1ae678e725")
set(EP_opencoreamr_BUILD_METHOD "autotools")
set(EP_opencoreamr_USE_AUTOGEN "yes")
set(EP_opencoreamr_CONFIGURE_OPTIONS )
......
......@@ -21,6 +21,7 @@
############################################################################
set(EP_opus_URL "http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz")
set(EP_opus_URL_HASH "MD5=86eedbd3c5a0171d2437850435e6edff")
set(EP_opus_BUILD_METHOD "autotools")
set(EP_opus_USE_AUTOGEN "yes")
set(EP_opus_CROSS_COMPILATION_OPTIONS
......
......@@ -21,6 +21,7 @@
############################################################################
set(EP_v4l_URL "http://linuxtv.org/downloads/v4l-utils/v4l-utils-1.0.0.tar.bz2")
set(EP_v4l_URL_HASH "MD5=2127f2d06be9162b0d346f7037a9e852")
set(EP_v4l_BUILD_METHOD "autotools")
set(EP_v4l_CROSS_COMPILATION_OPTIONS
"--prefix=${CMAKE_INSTALL_PREFIX}"
......
......@@ -21,6 +21,7 @@
############################################################################
set(EP_voamrwbenc_URL "http://downloads.sourceforge.net/project/opencore-amr/vo-amrwbenc/vo-amrwbenc-0.1.3.tar.gz")
set(EP_voamrwbenc_URL_HASH "MD5=f63bb92bde0b1583cb3cb344c12922e0")
set(EP_voamrwbenc_BUILD_METHOD "autotools")
set(EP_voamrwbenc_USE_AUTOGEN "yes")
set(EP_voamrwbenc_CROSS_COMPILATION_OPTIONS
......
......@@ -21,6 +21,7 @@
############################################################################
set(EP_vpx_URL "http://webm.googlecode.com/files/libvpx-v1.3.0.tar.bz2")
set(EP_vpx_URL_HASH "MD5=14783a148872f2d08629ff7c694eb31f")
set(EP_vpx_BUILD_METHOD "autotools")
set(EP_vpx_CONFIG_H_FILE vpx_config.h)
set(EP_vpx_CONFIGURE_OPTIONS
......
......@@ -341,6 +341,9 @@ function(linphone_builder_add_project PROJNAME)
if(NOT "${EP_${PROJNAME}_URL}" STREQUAL "")
set(DOWNLOAD_SOURCE URL ${EP_${PROJNAME}_URL})
if (NOT "${EP_${PROJNAME}_URL_HASH}" STREQUAL "")
list(APPEND DOWNLOAD_SOURCE URL_HASH ${EP_${PROJNAME}_URL_HASH})
endif()
else(NOT "${EP_${PROJNAME}_URL}" STREQUAL "")
set(DOWNLOAD_SOURCE GIT_REPOSITORY ${EP_${PROJNAME}_GIT_REPOSITORY} GIT_TAG ${EP_${PROJNAME}_GIT_TAG})
endif(NOT "${EP_${PROJNAME}_URL}" STREQUAL "")
......
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