Only build fluidsynth support on Fedora

This commit is contained in:
Wim Taymans 2021-01-21 17:35:18 +01:00
parent c52a437d0b
commit 9ced650664

View File

@ -2,7 +2,7 @@
Name: openal-soft
Version: 1.19.1
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Open Audio Library
License: LGPLv2+
@ -14,10 +14,10 @@ Patch1: openal-soft-fcommon-fix.patch
BuildRequires: make
BuildRequires: alsa-lib-devel
BuildRequires: cmake
BuildRequires: fluidsynth-devel
BuildRequires: gcc
BuildRequires: gcc-c++
%if 0%{?fedora}
BuildRequires: fluidsynth-devel
BuildRequires: portaudio-devel
%endif
BuildRequires: pulseaudio-libs-devel
@ -113,6 +113,9 @@ sed -i 's/#allow-moves = false/allow-moves = true/' \
%{_bindir}/alsoft-config
%changelog
* Thu Jan 21 2021 Wim Taymans <wtaymans@redhat.com> - 1.19.1-11
- Only build fluidsynth support on Fedora
* Wed Jan 20 2021 Hans de Goede <hdegoede@redhat.com> - 1.19.1-10
- Only build portaudio-backend on Fedora