Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
nurupo committed May 9, 2024
1 parent 9a2208a commit 46defc6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/ci-scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ elif [ "$TARGET_OS" = "macos" ]; then
mv libpause_click_plugin.dylib VLC_DOWNLOAD_URL.txt "sdk/$ARCH"
make clean
}
build "intel64" "https://artifacts.videolan.org/vlc/nightly-macos-x86_64/" "cc -target x86_64-apple-macos10.11"
build "arm64" "https://artifacts.videolan.org/vlc/nightly-macos-arm64/" "cc -target arm64-apple-macos11"
build "intel64" "https://artifacts.videolan.org/vlc/nightly-macos-x86_64/" "cc -target x86_64-apple-macos10.11 -mmacos-version-min=10.11"
build "arm64" "https://artifacts.videolan.org/vlc/nightly-macos-arm64/" "cc -target arm64-apple-macos11 -mmacos-version-min=11"
lipo "sdk/intel64/libpause_click_plugin.dylib" "sdk/arm64/libpause_click_plugin.dylib" -create -output libpause_click_plugin.dylib
echo "$NIGHTLY_README" > README.txt
echo "intel64: $(cat "sdk/intel64/VLC_DOWNLOAD_URL.txt")" >> README.txt
Expand Down Expand Up @@ -182,9 +182,9 @@ elif [ "$TARGET_OS" = "macos" ]; then
mv libpause_click_plugin.dylib "sdk/$ARCH"
make clean
}
build "intel64" "https://download.videolan.org/pub/videolan/vlc/$VLC_VERSION.0/macosx/vlc-$VLC_VERSION.0.dmg" "cc -target x86_64-apple-macos10.11"
build "intel64" "https://download.videolan.org/pub/videolan/vlc/$VLC_VERSION.0/macosx/vlc-$VLC_VERSION.0.dmg" "cc -target x86_64-apple-macos10.11 -mmacos-version-min=10.11"
# VLC 3.0.13 is the first universal macOS VLC version
build "arm64" "https://download.videolan.org/pub/videolan/vlc/3.0.13/macosx/vlc-3.0.13-universal.dmg" "cc -target arm64-apple-macos11"
build "arm64" "https://download.videolan.org/pub/videolan/vlc/3.0.13/macosx/vlc-3.0.13-universal.dmg" "cc -target arm64-apple-macos11 -mmacos-version-min=11"
lipo "sdk/intel64/libpause_click_plugin.dylib" "sdk/arm64/libpause_click_plugin.dylib" -create -output libpause_click_plugin.dylib
mkdir artifacts
zip -j artifacts/vlc-$VLC_VERSION-macosx-universal.zip libpause_click_plugin.dylib
Expand Down Expand Up @@ -213,7 +213,7 @@ elif [ "$TARGET_OS" = "macos" ]; then
ln -sf libvlccore.*.dylib libvlccore.dylib
cd ..
cd ../..
make OS=macOS CC="cc -target x86_64-apple-macos10.07"
make OS=macOS CC="cc -target x86_64-apple-macos10.11 -mmacos-version-min=10.11"

mkdir artifacts
zip -j artifacts/vlc-$VLC_VERSION-macosx-intel64.zip libpause_click_plugin.dylib
Expand Down

0 comments on commit 46defc6

Please sign in to comment.