Skip to content

Fix macOS build: use openal-soft instead of deprecated system OpenAL#143

Open
ibehnam wants to merge 2 commits intozevv:masterfrom
ibehnam:fix-macos-alure-build
Open

Fix macOS build: use openal-soft instead of deprecated system OpenAL#143
ibehnam wants to merge 2 commits intozevv:masterfrom
ibehnam:fix-macos-alure-build

Conversation

@ibehnam
Copy link
Copy Markdown

@ibehnam ibehnam commented Feb 6, 2026

Summary

  • Adds setup-macos.sh script that downloads and builds alure from archive.org against openal-soft
  • Updates main.c to use AL/ headers instead of deprecated OpenAL/ framework headers
  • Updates Makefile to use pkg-config libs and adds rpath for runtime library loading
  • Updates README.md with new macOS build instructions

Background

The alure package was removed from Homebrew on 2025-04-18 because its upstream repository was deleted. This made bucklespring impossible to build on macOS using the documented instructions.

Fixes #95, #142

Test plan

  • Ran ./setup-macos.sh successfully on macOS Tahoe (Apple Silicon)
  • Built with make - no errors or warnings
  • Verified ./buckle -l shows "OpenAL Soft"
  • Verified ./buckle -h works

The alure package was removed from Homebrew on 2025-04-18 because its
upstream repository was deleted. This made bucklespring impossible to
build on macOS using the documented instructions.

This commit:
- Adds setup-macos.sh script that downloads and builds alure from
  archive.org against openal-soft
- Updates main.c to use AL/ headers instead of deprecated OpenAL/
  framework headers (fixes -Werror build failures)
- Updates Makefile to use pkg-config libs and adds rpath for runtime
  library loading
- Updates README.md with new macOS build instructions
- Adds .gitignore entries for macOS build artifacts

Fixes zevv#95, zevv#142
@zevv
Copy link
Copy Markdown
Owner

zevv commented Feb 6, 2026

Thanks for this; I have no way to test as I currently have no access to a mac, but I assume this will do what you says it does. Could you make one small change before I merge: since Macos now includes the same alure headers as the other platforms, the #ifdef __APPLE__ in the top of main.c can be dropped, less #ifdefs is always better.

@neolectron
Copy link
Copy Markdown

Hi @ibehnam , your fork worked on my end, just commenting in case you missed zevv comments.

Both branches included identical headers; macOS now uses the same
AL/ headers as other platforms via setup-macos.sh.

Addresses review feedback on zevv#143.
@ibehnam ibehnam force-pushed the fix-macos-alure-build branch from 51155f3 to 757e0bf Compare April 14, 2026 01:05
@ibehnam
Copy link
Copy Markdown
Author

ibehnam commented Apr 14, 2026

Done; dropped the #ifdef __APPLE__ in 757e0bf. Verified make clean && make still builds cleanly on Apple Silicon and ./buckle -l reports "OpenAL Soft". Thanks also to @neolectron for independently confirming the fork works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alure Package no longer part of Mac Os X 10.15.x

3 participants