|
|
|
@ -27,6 +27,10 @@ BuildRequires: pulseaudio-libs-devel
|
|
|
|
|
#BuildRequires: SDL-devel
|
|
|
|
|
#BuildRequires: SDL2-devel
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 8
|
|
|
|
|
BuildRequires: devtoolset-8-toolchain
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
libopenmpt is a cross-platform C++ and C library to decode tracked music
|
|
|
|
|
files (modules) into a raw PCM audio stream.
|
|
|
|
@ -61,6 +65,10 @@ sed -i 's/\r$//' LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 8
|
|
|
|
|
. /opt/rh/devtoolset-8/enable
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-static \
|
|
|
|
|
--without-sdl --without-sdl2 \
|
|
|
|
|