Name: SDL3_mixer Summary: Audio mixer for Simple Directmedia Layer # SDL3_mixer itself is Zlib. # Bundled timisity is Artistic. License: Zlib AND Artistic-1.0-Perl Version: 3.2.0 Release: 1%{?dist} URL: https://github.com/libsdl-org/SDL_mixer/ Source0: %{URL}archive/release-%{version}/SDL_mixer-release-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc BuildRequires: flac-devel BuildRequires: fluidsynth-devel >= 2.2.0 BuildRequires: game-music-emu-devel BuildRequires: libvorbis-devel BuildRequires: libxmp-devel BuildRequires: mpg123-devel BuildRequires: opus-devel BuildRequires: opusfile-devel BuildRequires: wavpack-devel BuildRequires: SDL3-devel >= 3.4.0 Provides: bundled(timidity) %description SDL3_mixer is an audio management library. It provides decoding of many popular audio file formats, mixing, various DSP processing effects and positional audio. Audio data can be preloaded, or streamed on-the-fly into the mixer. SDL3_mixer supports multiple audio devices, and can even mix to a memory buffer instead of feeding audio hardware in real time. It is a complete redesign, rewritten almost from scratch to address deficiencies in SDL2_mixer. %package devel Summary: Development files for SDL3_mixer Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The SDL3_mixer-devel package contains libraries and header files for developing applications that use SDL3_mixer. %prep %autosetup -n SDL_mixer-release-%{version} # Remove bundled libs that we don't want to use rm -rf src/dr_libs/ rm -rf src/stb_vorbis %cmake \ -DSDLMIXER_FLAC=ON \ -DSDLMIXER_FLAC_DRFLAC=OFF \ -DSDLMIXER_FLAC_LIBFLAC=ON \ -DSDLMIXER_FLAC_LIBFLAC_SHARED=ON \ -DSDLMIXER_GME=ON \ -DSDLMIXER_GME_SHARED=ON \ -DSDLMIXER_MIDI=ON \ -DSDLMIXER_MIDI_FLUIDSYNTH=ON \ -DSDLMIXER_MIDI_FLUIDSYNTH_SHARED=ON \ -DSDLMIXER_MIDI_TIMIDITY=ON \ -DSDLMIXER_MOD=ON \ -DSDLMIXER_MOD_XMP=ON \ -DSDLMIXER_MOD_XMP_SHARED=ON \ -DSDLMIXER_MP3=ON \ -DSDLMIXER_MP3_DRMP3=OFF \ -DSDLMIXER_MP3_MPG123=ON \ -DSDLMIXER_MP3_MPG123_SHARED=ON \ -DSDLMIXER_OPUS=ON \ -DSDLMIXER_OPUS_SHARED=ON \ -DSDLMIXER_VORBIS_STB=OFF \ -DSDLMIXER_VORBIS_VORBISFILE=ON \ -DSDLMIXER_VORBIS_VORBISFILE_SHARED=ON \ -DSDLMIXER_WAVPACK=ON \ -DSDLMIXER_WAVPACK_DSD=ON \ -DSDLMIXER_WAVPACK_SHARED=ON \ -DSDLMIXER_EXAMPLES=OFF \ -DSDLMIXER_INSTALL_MAN=ON \ -DSDLMIXER_TESTS=OFF \ -DSDLMIXER_VENDORED=OFF %build %cmake_build %install %cmake_install # Remove pre-installed licence files and use the %%license macro instead rm -rf %{builddir}%{_datadir}/licenses/ %files %license LICENSE.txt %license src/timidity/COPYING %{_libdir}/lib%{name}.so.0 %{_libdir}/lib%{name}.so.0.2.0 %files devel %{_includedir}/%{name}/ %{_libdir}/lib%{name}.so %{_libdir}/cmake/%{name}/ %{_libdir}/pkgconfig/sdl3-mixer.pc %{_mandir}/man3/MIX_*.3* %{_mandir}/man3/SDL_MIXER_*.3* %changelog * Thu Apr 02 2026 Artur Frenszek-Iwicki - 3.2.0-1 - Initial packaging