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
|
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
|
||||||
@ -12,6 +18,7 @@ Patch0: multilib.patch
|
|||||||
# ptrdiff_t is not the same as khronos defines on 32bit arches
|
# ptrdiff_t is not the same as khronos defines on 32bit arches
|
||||||
Patch1: SDL2-2.0.9-khrplatform.patch
|
Patch1: SDL2-2.0.9-khrplatform.patch
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: alsa-lib-devel
|
BuildRequires: alsa-lib-devel
|
||||||
BuildRequires: audiofile-devel
|
BuildRequires: audiofile-devel
|
||||||
@ -32,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
|
||||||
@ -87,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 \
|
||||||
@ -134,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
|
||||||
|
Loading…
Reference in New Issue
Block a user