mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-02 19:56:13 +01:00
Update libraries
This commit is contained in:
@@ -164,15 +164,7 @@ if (NOT DISABLE_HTTP_TWITCH)
|
||||
endif (STATIC)
|
||||
endif (NOT DISABLE_HTTP_TWITCH)
|
||||
|
||||
# speex v1.1.15 is supplied in our zipped library, but distributions provide
|
||||
# updated version, with required functions extracted out to libspeexdsp.
|
||||
# This largely takes care of the problem
|
||||
if (WIN32)
|
||||
include_directories("lib/libspeex/")
|
||||
file(GLOB_RECURSE SPEEX_SOURCES "lib/libspeex/*.c")
|
||||
else (WIN32)
|
||||
PKG_CHECK_MODULES(SPEEX REQUIRED speexdsp)
|
||||
endif (WIN32)
|
||||
PKG_CHECK_MODULES(SPEEX REQUIRED speexdsp)
|
||||
|
||||
if (UNIX)
|
||||
# Include libdl for dlopen
|
||||
|
||||
@@ -19,7 +19,7 @@ if [[ $TARGET != "linux" && $TARGET != "docker32" && $SYSTEM != "Darwin" ]]; the
|
||||
# keep in sync with version in Xcode project
|
||||
sha256sum=6562ce9e1f37f125e3345bfd8b961777800436bf607b30dc7c964e0e6991ad2c
|
||||
else
|
||||
sha256sum=31c5e19d9f794bd5f0e75f20c2b4c3c4664d736b0a4d50c8cde14a9a9007b62d
|
||||
sha256sum=f124c954bbd0b58c93e5fba46902806bd3637d3a1c5fb8e4b67441052f182df2
|
||||
fi
|
||||
libVFile="./libversion"
|
||||
libdir="./lib"
|
||||
|
||||
@@ -114,11 +114,6 @@ function install_pkg_config {
|
||||
cat /usr/local/bin/i686-w64-mingw32-pkg-config
|
||||
}
|
||||
|
||||
function install_local_libs {
|
||||
mkdir -p lib
|
||||
cp -rf $cachedir/orctlibs/local/* ./lib/.
|
||||
}
|
||||
|
||||
function os_x_install_mingw_32 {
|
||||
local mingw_name="mingw-w32-bin_i686-darwin"
|
||||
local mingw_tar="${mingw_name}_20130531.tar.bz2"
|
||||
@@ -198,7 +193,6 @@ if [[ $TARGET == "windows" || $(uname -s) == "Darwin" ]]; then
|
||||
calculate_sha256 "$cachedir/orctlibs.zip" > "$libVFile"
|
||||
echo "Downloaded library with sha256sum: $(cat "$libVFile")"
|
||||
# Local libs are required for all targets
|
||||
install_local_libs
|
||||
# $TARGET == "windows" || $(uname -s) == "Darwin"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user