Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/SDL2.git#1cb4d06cc49ed59c95b944f3b83db1694334b6b7
This commit is contained in:
parent
a48224baf1
commit
4b31a180b3
18
SDL2.spec
18
SDL2.spec
@ -1,6 +1,12 @@
|
||||
%if 0%{?rhel} >= 8
|
||||
%bcond_with jack
|
||||
%else
|
||||
%bcond_without jack
|
||||
%endif
|
||||
|
||||
Name: SDL2
|
||||
Version: 2.0.12
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Cross-platform multimedia library
|
||||
|
||||
License: zlib and MIT
|
||||
@ -12,6 +18,7 @@ Patch0: multilib.patch
|
||||
# ptrdiff_t is not the same as khronos defines on 32bit arches
|
||||
Patch1: SDL2-2.0.9-khrplatform.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: audiofile-devel
|
||||
@ -32,7 +39,9 @@ BuildRequires: systemd-devel
|
||||
# PulseAudio
|
||||
BuildRequires: pkgconfig(libpulse-simple)
|
||||
# Jack
|
||||
%if %{with jack}
|
||||
BuildRequires: pkgconfig(jack)
|
||||
%endif
|
||||
# D-Bus
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
# IBus
|
||||
@ -87,7 +96,11 @@ sed -i -e 's/\r//g' TODO.txt README.txt WhatsNew.txt BUGS.txt COPYING.txt CREDIT
|
||||
--disable-esd \
|
||||
--disable-nas \
|
||||
--enable-pulseaudio-shared \
|
||||
%if %{with jack}
|
||||
--enable-jack-shared \
|
||||
%else
|
||||
--disable-jack \
|
||||
%endif
|
||||
--enable-alsa \
|
||||
--enable-video-wayland \
|
||||
--enable-video-vulkan \
|
||||
@ -134,6 +147,9 @@ rm -vf %{buildroot}%{_libdir}/*.la
|
||||
%{_libdir}/lib*.a
|
||||
|
||||
%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
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user