Skip to content

Conversation

@freya022
Copy link

@freya022 freya022 commented Oct 14, 2025

This PR:

  • Adds a workflow to build Opus from source for various operating systems and architectures, effectively updating from libopus 1.1 to 1.5.2
  • Updates Gradle and rewrites the script to Kotlin
  • Updates the publishing logic to use JReleaser, as JDA does, with the artifact coordinates unchanged
  • Updates JNA and exposes it from the api module

Platform support changes

Removed

  • Windows x86
  • Linux x86

Added

  • Windows aarch64
  • Darwin aarch64

Supersedes #11
Fixes #12
Fixes #9 (the binaries produced by the CI are not stripped but, at least on windows/linux x86-64, stripping them barely reduces the size)

TODO for this org's members

  • Fork https://github.com/xiph/opus, ideally in the discord-jda org
  • Replace the repository used in the workflow
  • Move this repository to the discord-jda org

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.

Support for win-aarch64? native binaries are unstripped

1 participant