TERMUX_PKG_HOMEPAGE=https://github.com/libsdl-org/SDL_mixer
TERMUX_PKG_DESCRIPTION="A simple multi-channel audio mixer library (version 3)"
TERMUX_PKG_LICENSE="ZLIB"
TERMUX_PKG_LICENSE_FILE="LICENSE.txt"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3.2.4"
TERMUX_PKG_SRCURL=https://github.com/libsdl-org/SDL_mixer/releases/download/release-${TERMUX_PKG_VERSION}/SDL3_mixer-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=182a07c745375e113dc740d43964ff21b0be29f29f59876c4dbc4db3d32f6901
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libflac, libxmp, fluidsynth, libogg, libvorbis, libmodplug, opusfile, libwavpack, libmpg123, sdl3"
TERMUX_PKG_BUILD_DEPENDS="libxmp-static"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DSDLMIXER_VENDORED=OFF
-DSDLMIXER_VORBIS_STB=OFF
-DSDLMIXER_VORBIS_VORBISFILE=ON
-DSDLMIXER_FLAC_DRFLAC=OFF
-DSDLMIXER_FLAC_LIBFLAC=ON
-DSDLMIXER_MP3_DRMP3=OFF
-DSDLMIXER_MP3_MPG123=ON
-DSDLMIXER_OGG=ON
-DSDLMIXER_OPUS=ON
-DSDLMIXER_GME=ON
-DSDLMIXER_MIDI_FLUIDSYNTH=ON
-DSDLMIXER_WAVPACK=ON
-DSDLMIXER_MOD_XMP=ON
-DSDLMIXER_OGG_SHARED=OFF
-DSDLMIXER_OPUS_SHARED=OFF
-DSDLMIXER_GME_SHARED=OFF
-DSDLMIXER_WAVPACK_SHARED=OFF
-DSDLMIXER_FLAC_LIBFLAC_SHARED=OFF
-DSDLMIXER_VORBIS_VORBISFILE_SHARED=OFF
-DSDLMIXER_MP3_MPG123_SHARED=OFF
-DSDLMIXER_MIDI_FLUIDSYNTH_SHARED=OFF
"
