[vlc-commits] [Git][videolan/vlc][master] 3 commits: apple: build.sh: export the fact we're building for visionOS
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Aug 1 11:57:42 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
e77e8580 by Steve Lhomme at 2024-08-01T11:21:38+00:00
apple: build.sh: export the fact we're building for visionOS
- - - - -
277461a3 by Steve Lhomme at 2024-08-01T11:21:38+00:00
contrib: set HAVE_XROS variable when building for visionOS/xrOS
It's the same define used in configure.ac.
- - - - -
267c0955 by Steve Lhomme at 2024-08-01T11:21:38+00:00
contrib: rust: select "xros" darwin for visionOS
Right now it's built as an iOS target when it shouldn't. It's a tier 3 target [1]
[1] https://doc.rust-lang.org/stable/rustc/platform-support/apple-visionos.html
- - - - -
3 changed files:
- contrib/bootstrap
- contrib/src/main-rust.mak
- extras/package/apple/build.sh
Changes:
=====================================
contrib/bootstrap
=====================================
@@ -292,6 +292,10 @@ case "${OS}" in
then
add_make_enabled "HAVE_WATCHOS"
fi
+ if test "$BUILDFORVISIONOS"
+ then
+ add_make_enabled "HAVE_XROS"
+ fi
if test "$ENABLE_BITCODE"
then
add_make_enabled "HAVE_BITCODE_ENABLED"
=====================================
contrib/src/main-rust.mak
=====================================
@@ -25,6 +25,8 @@ ifdef HAVE_TVOS
RUST_TARGET_FLAGS += --darwin=tvos
else ifdef HAVE_WATCHOS
RUST_TARGET_FLAGS += --darwin=watchos
+else ifdef HAVE_XROS
+RUST_TARGET_FLAGS += --darwin=xros
else ifdef HAVE_IOS
RUST_TARGET_FLAGS += --darwin=ios
else
=====================================
extras/package/apple/build.sh
=====================================
@@ -633,6 +633,7 @@ elif [ "$VLC_HOST_OS" = "tvos" ]; then
export BUILDFORTVOS="yes"
elif [ "$VLC_HOST_OS" = "xros" ]; then
export BUILDFORIOS="yes"
+ export BUILDFORVISIONOS="yes"
elif [ "$VLC_HOST_OS" = "watchos" ]; then
export BUILDFORIOS="yes"
export BUILDFORWATCHOS="yes"
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/1bab36476f3f549111381f6de2214fb5b51c443b...267c095560ce99890777d573e57546069d4c29c3
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/1bab36476f3f549111381f6de2214fb5b51c443b...267c095560ce99890777d573e57546069d4c29c3
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list