Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAudio: update to 24.10 #26320

Merged
merged 2 commits into from
Oct 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions audio/FAudio/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PortGroup cmake 1.1
PortGroup compiler_blacklist_versions 1.0
PortGroup github 1.0

github.setup FNA-XNA FAudio 24.09
github.setup FNA-XNA FAudio 24.10
revision 0

license zlib
Expand All @@ -18,9 +18,9 @@ long_description an XAudio reimplementation that focuses solely on develo

depends_lib-append port:libsdl2

checksums rmd160 f7231f219661aad4f8fa3aa3a5d2976e37dc9ed1 \
sha256 696ef2a0fb4c6208f239f21803ff3f39041d92db1769cf19e390782be07430b6 \
size 1125248
checksums rmd160 af749cda7428cbf96170172da6d53955c2dddde4 \
sha256 9d123c5f20ead7824f718b5840b87b432dbf51a0514214e30c41b4ee32a344e0 \
size 1125385
github.tarball_from archive

# remove set deployment target and hard-coded RPATH setting
Expand All @@ -37,14 +37,17 @@ configure.args -DBUILD_UTILS=OFF \
compiler.blacklist-append \
*gcc-4.* {clang < 421}

# On Sonoma this fails at the moment:
# On macOS 23+ this fails at the moment:
# ld: warning: alignment (4) of atom '_FACT3DCalculate.DefaultCurve'
# from '/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_audio_FAudio/FAudio/work/build/CMakeFiles/FAudio.dir/src/FACT3D.c.o'
# is too small and may result in unaligned pointers.
# Temporary fix by setting deployment target to Big Sur.
# https://github.com/FNA-XNA/FAudio/issues/362
# Related: https://github.com/ldc-developers/ldc/issues/3864
platform darwin 23 arm {
macosx_deployment_target 11.0
platform darwin arm {
if {${os.major} > 22} {
macosx_deployment_target 11.0
}
}

#pre-destroot {
Expand Down
Loading