Removed mysqlconnector and added rnoise build scripts

This commit is contained in:
WolverinDEV 2020-09-30 12:20:43 +02:00
parent e03141c037
commit 17f3db6327
5 changed files with 24 additions and 2 deletions

View File

@ -61,6 +61,7 @@ function exec_script_external() {
}
exec_script build_rnnoise.sh
exec_script build_boringssl.sh
[[ ${build_os_type} != "win32" ]] && exec_script build_breakpad.sh #Not required for windows TeaClient
exec_script build_libevent.sh

22
third_party/build_rnnoise.sh vendored Normal file
View File

@ -0,0 +1,22 @@
#!/usr/bin/env bash
[[ -z "${build_helper_file}" ]] && {
echo "Missing build helper file. Please define \"build_helper_file\""
exit 1
}
source ${build_helper_file}
[[ $build_helpers_defined -ne 1 ]] && {
echo "Failed to include build helpers."
exit 1
}
library_path="rnnoise"
requires_rebuild ${library_path}
[[ $? -eq 0 ]] && exit 0
_fpic=""
[[ ${build_os_type} == "linux" ]] && _fpic="-fPIC"
cmake_build ${library_path} -DCMAKE_C_FLAGS="${_fpic}" -DRNNOISE_COMPILE_OPUS=OFF
check_err_exit ${library_path} "Failed to build rnnoise!"
set_build_successful ${library_path}

@ -1 +0,0 @@
Subproject commit 7abcdc88c8235f02096e21b5bcd72e8312508f61

@ -1 +0,0 @@
Subproject commit d981adb2e797216f456cfcf158f73761a29981f8

1
third_party/rnnoise vendored Submodule

@ -0,0 +1 @@
Subproject commit ad42339dbd66e09755c09ac90c1f38e00062d1ef