Disable JACK on rhel >= 8

This commit is contained in:
Wim Taymans 2021-01-12 12:25:50 +01:00 committed by Igor Raits
parent 6def5d9d30
commit 1cb4d06cc4
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

View File

@ -1,6 +1,12 @@
%if 0%{?rhel} >= 8
%bcond_with jack
%else
%bcond_without jack
%endif
Name: SDL2 Name: SDL2
Version: 2.0.12 Version: 2.0.12
Release: 4%{?dist} Release: 5%{?dist}
Summary: Cross-platform multimedia library Summary: Cross-platform multimedia library
License: zlib and MIT License: zlib and MIT
@ -33,7 +39,9 @@ BuildRequires: systemd-devel
# PulseAudio # PulseAudio
BuildRequires: pkgconfig(libpulse-simple) BuildRequires: pkgconfig(libpulse-simple)
# Jack # Jack
%if %{with jack}
BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(jack)
%endif
# D-Bus # D-Bus
BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-1)
# IBus # IBus
@ -88,7 +96,11 @@ sed -i -e 's/\r//g' TODO.txt README.txt WhatsNew.txt BUGS.txt COPYING.txt CREDIT
--disable-esd \ --disable-esd \
--disable-nas \ --disable-nas \
--enable-pulseaudio-shared \ --enable-pulseaudio-shared \
%if %{with jack}
--enable-jack-shared \ --enable-jack-shared \
%else
--disable-jack \
%endif
--enable-alsa \ --enable-alsa \
--enable-video-wayland \ --enable-video-wayland \
--enable-video-vulkan \ --enable-video-vulkan \
@ -135,6 +147,9 @@ rm -vf %{buildroot}%{_libdir}/*.la
%{_libdir}/lib*.a %{_libdir}/lib*.a
%changelog %changelog
* Tue Jan 12 2021 Wim Taymans <wtaymans@redhat.com> - 2.0.12-5
- Disable JACK on rhel >= 8
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.12-4 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.12-4
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild