Update third-party dependencies for standalone build.

This commit is contained in:
casey langen 2023-03-19 20:12:55 -07:00
parent 1a6d1f46da
commit e7726bc036
3 changed files with 21 additions and 21 deletions

View File

@ -27,12 +27,12 @@ RPATH="@rpath"
OS=$(uname) OS=$(uname)
ARCH=$(uname -m) ARCH=$(uname -m)
SCRIPTDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) SCRIPTDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
OPENSSL_VERSION="1.1.1q" OPENSSL_VERSION="1.1.1t"
CURL_VERSION="7.85.0" CURL_VERSION="7.88.1"
LIBMICROHTTPD_VERSION="0.9.75" LIBMICROHTTPD_VERSION="0.9.76"
FFMPEG_VERSION="5.1.2" FFMPEG_VERSION="6.0"
LAME_VERSION="3.100" LAME_VERSION="3.100"
LIBOPENMPT_VERSION="0.6.6" LIBOPENMPT_VERSION="0.6.9"
TAGLIB_VERSION="1.13" TAGLIB_VERSION="1.13"
GME_VERSION="0.6.3" GME_VERSION="0.6.3"
OUTDIR="$(pwd)/vendor/bin" OUTDIR="$(pwd)/vendor/bin"
@ -480,19 +480,19 @@ function delete_unused_libraries() {
rm *.a 2> /dev/null rm *.a 2> /dev/null
rm *.la 2> /dev/null rm *.la 2> /dev/null
if [[ $OS == "Darwin" ]]; then if [[ $OS == "Darwin" ]]; then
mv libavcodec-musikcube.59.18.100.dylib libavcodec-musikcube.59.dylib mv libavcodec-musikcube.60.3.100.dylib libavcodec-musikcube.60.dylib
rm libavcodec-musikcube.dylib rm libavcodec-musikcube.dylib
ln -s libavcodec-musikcube.59.dylib libavcodec-musikcube.dylib ln -s libavcodec-musikcube.60.dylib libavcodec-musikcube.dylib
mv libavformat-musikcube.59.16.100.dylib libavformat-musikcube.59.dylib mv libavformat-musikcube.60.3.100.dylib libavformat-musikcube.60.dylib
rm libavformat-musikcube.dylib rm libavformat-musikcube.dylib
ln -s libavformat-musikcube.59.dylib libavformat-musikcube.dylib ln -s libavformat-musikcube.60.dylib libavformat-musikcube.dylib
mv libavutil-musikcube.57.17.100.dylib libavutil-musikcube.57.dylib mv libavutil-musikcube.58.2.100.dylib libavutil-musikcube.58.dylib
rm libavutil-musikcube.dylib rm libavutil-musikcube.dylib
ln -s libavutil-musikcube.57.dylib libavutil-musikcube.dylib ln -s libavutil-musikcube.58.dylib libavutil-musikcube.dylib
mv libswresample-musikcube.4.3.100.dylib libswresample-musikcube.4.dylib mv libswresample-musikcube.4.10.100.dylib libswresample-musikcube.4.dylib
rm libswresample-musikcube.dylib rm libswresample-musikcube.dylib
ln -s libswresample-musikcube.4.dylib libswresample-musikcube.dylib ln -s libswresample-musikcube.4.dylib libswresample-musikcube.dylib
fi fi

View File

@ -24,9 +24,9 @@ if (!mac) {
/* these are the libraries we'll scan, and update linked libraries from /* these are the libraries we'll scan, and update linked libraries from
absolute paths to "@rpath/filename" */ absolute paths to "@rpath/filename" */
const libraries = [ const libraries = [
'libavcodec-musikcube.59.dylib', 'libavcodec-musikcube.60.dylib',
'libavformat-musikcube.59.dylib', 'libavformat-musikcube.60.dylib',
'libavutil-musikcube.57.dylib', 'libavutil-musikcube.58.dylib',
'libcrypto.1.1.dylib', 'libcrypto.1.1.dylib',
'libcurl.4.dylib', 'libcurl.4.dylib',
'libmicrohttpd.12.dylib', 'libmicrohttpd.12.dylib',
@ -44,9 +44,9 @@ const libraries = [
/* after updating libraries, re-establish symlinks */ /* after updating libraries, re-establish symlinks */
const symlinks = [ const symlinks = [
['libavcodec-musikcube.59.dylib', 'libavcodec-musikcube.dylib'], ['libavcodec-musikcube.60.dylib', 'libavcodec-musikcube.dylib'],
['libavformat-musikcube.59.dylib', 'libavformat-musikcube.dylib'], ['libavformat-musikcube.60.dylib', 'libavformat-musikcube.dylib'],
['libavutil-musikcube.57.dylib', 'libavutil-musikcube.dylib'], ['libavutil-musikcube.58.dylib', 'libavutil-musikcube.dylib'],
['libcrypto.1.1.dylib', 'libcrypto.dylib'], ['libcrypto.1.1.dylib', 'libcrypto.dylib'],
['libcurl.4.dylib', 'libcurl.dylib'], ['libcurl.4.dylib', 'libcurl.dylib'],
['libmicrohttpd.12.dylib', 'libmicrohttpd.dylib'], ['libmicrohttpd.12.dylib', 'libmicrohttpd.dylib'],

View File

@ -9,9 +9,9 @@ PLATFORM=$(uname)
if [[ "$PLATFORM" == 'Darwin' ]]; then if [[ "$PLATFORM" == 'Darwin' ]]; then
echo "[stage-vendor-libraries] staging macOS .dylib files..." echo "[stage-vendor-libraries] staging macOS .dylib files..."
cp vendor/bin/lib/libavcodec-musikcube.59.dylib ./bin/lib cp vendor/bin/lib/libavcodec-musikcube.60.dylib ./bin/lib
cp vendor/bin/lib/libavformat-musikcube.59.dylib ./bin/lib cp vendor/bin/lib/libavformat-musikcube.60.dylib ./bin/lib
cp vendor/bin/lib/libavutil-musikcube.57.dylib ./bin/lib cp vendor/bin/lib/libavutil-musikcube.58.dylib ./bin/lib
cp vendor/bin/lib/libswresample-musikcube.4.dylib ./bin/lib cp vendor/bin/lib/libswresample-musikcube.4.dylib ./bin/lib
cp vendor/bin/lib/libopus.0.dylib ./bin/lib cp vendor/bin/lib/libopus.0.dylib ./bin/lib
cp vendor/bin/lib/libogg.0.dylib ./bin/lib cp vendor/bin/lib/libogg.0.dylib ./bin/lib