Ensure libdecor is pulled in when libwayland-client is (rhbz#1992804)
This commit is contained in:
parent
0145fb46e1
commit
6a336bdad4
20
SDL2.spec
20
SDL2.spec
@ -1,6 +1,16 @@
|
||||
# For the generated library symbol suffix
|
||||
%if 0%{?__isa_bits} == 32
|
||||
%global libsymbolsuffix %{nil}
|
||||
%else
|
||||
%global libsymbolsuffix ()(%{__isa_bits}bit)
|
||||
%endif
|
||||
|
||||
# For declaring rich dependency on libdecor
|
||||
%global libdecor_majver 0
|
||||
|
||||
Name: SDL2
|
||||
Version: 2.0.16
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Cross-platform multimedia library
|
||||
License: zlib and MIT
|
||||
URL: http://www.libsdl.org/
|
||||
@ -45,7 +55,7 @@ BuildRequires: pkgconfig(dbus-1)
|
||||
# IBus
|
||||
BuildRequires: pkgconfig(ibus-1.0)
|
||||
# Wayland
|
||||
BuildRequires: pkgconfig(libdecor-0)
|
||||
BuildRequires: pkgconfig(libdecor-%{libdecor_majver})
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-egl)
|
||||
BuildRequires: pkgconfig(wayland-cursor)
|
||||
@ -58,6 +68,9 @@ BuildRequires: vulkan-devel
|
||||
BuildRequires: mesa-libgbm-devel
|
||||
BuildRequires: libdrm-devel
|
||||
|
||||
# Ensure libdecor is pulled in when libwayland-client is (rhbz#1992804)
|
||||
Requires: (libdecor-%{libdecor_majver}.so.%{libdecor_majver}%{libsymbolsuffix} if libwayland-client)
|
||||
|
||||
%description
|
||||
Simple DirectMedia Layer (SDL) is a cross-platform multimedia library designed
|
||||
to provide fast access to the graphics frame buffer and audio device.
|
||||
@ -141,6 +154,9 @@ install -p -m 644 %{SOURCE1} %{buildroot}%{_includedir}/SDL2/SDL_config.h
|
||||
%{_libdir}/lib*.a
|
||||
|
||||
%changelog
|
||||
* Sun Aug 22 2021 Neal Gompa <ngompa@fedoraproject.org> - 2.0.16-2
|
||||
- Ensure libdecor is pulled in when libwayland-client is (rhbz#1992804)
|
||||
|
||||
* Tue Aug 10 2021 Neal Gompa <ngompa@fedoraproject.org> - 2.0.16-1
|
||||
- Update to 2.0.16
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user