mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 17:40:12 +00:00
build/CI macOS: do not handle Syphon specially
\+ build x86_64 from source as well to: 1. be consistent with the arm64 build 2. the binary x86_64 already had hardcoded the path @loader_path/../Frameworks/ instead of @rpath, which would require yet another handling
This commit is contained in:
26
.github/scripts/macOS/install_others.sh
vendored
26
.github/scripts/macOS/install_others.sh
vendored
@@ -106,22 +106,16 @@ install_soundfont() {(
|
||||
)}
|
||||
|
||||
install_syphon() {(
|
||||
if [ "$(uname -m)" = arm64 ]; then
|
||||
git clone --depth 1 https://github.com/Syphon/\
|
||||
Syphon-Framework.git
|
||||
cd Syphon-Framework
|
||||
xcodebuild LD_DYLIB_INSTALL_NAME=@executable_path/../\
|
||||
Frameworks/Syphon.framework/Versions/A/Syphon
|
||||
cd build/Release
|
||||
else
|
||||
curl -LO https://github.com/Syphon/Syphon-Framework/releases/\
|
||||
download/5/Syphon.SDK.5.zip
|
||||
unzip Syphon.SDK.5.zip
|
||||
cd 'Syphon SDK 5'
|
||||
fi
|
||||
sudo cp -R 'Syphon.framework' \
|
||||
"$(xcrun --show-sdk-path)/System/Library/Frameworks/"
|
||||
)}
|
||||
git clone --depth 1 https://github.com/Syphon/Syphon-Framework.git
|
||||
cd Syphon-Framework
|
||||
xcodebuild
|
||||
sudo cp -R 'build/Release/Syphon.framework' \
|
||||
/usr/local/lib
|
||||
)
|
||||
export COMMON_OSX_FLAGS="${COMMON_OSX_FLAGS+$COMMON_OSX_FLAGS }\
|
||||
-F/usr/local/lib"
|
||||
printf '%b' "COMMON_OSX_FLAGS=$COMMON_OSX_FLAGS\n" >> "$GITHUB_ENV"
|
||||
}
|
||||
|
||||
show_help=
|
||||
if [ $# -eq 1 ] && { [ "$1" = -h ] || [ "$1" = --help ] || [ "$1" = help ]; }; then
|
||||
|
||||
Reference in New Issue
Block a user