---- SDL2-2.0.0/sdl2-config.in.orig 2012-01-19 07:30:06.000000000 +0100
-+++ SDL2-2.0.0/sdl2-config.in 2012-06-16 13:05:43.265925020 +0200
+--- SDL2-2.0.14/sdl2-config.in.orig 2020-12-23 15:31:32.787369243 +0100
++++ SDL2-2.0.14/sdl2-config.in 2020-12-23 15:33:31.447775625 +0100
@@ -45,11 +45,11 @@
- echo -I@includedir@/SDL @SDL_CFLAGS@
+ echo -I@includedir@/SDL2 @SDL_CFLAGS@
;;
@ENABLE_SHARED_TRUE@ --libs)
-@ENABLE_SHARED_TRUE@ echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
@ENABLE_SHARED_TRUE@ ;;
@ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@ --static-libs)
@ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@ --libs|--static-libs)
--@ENABLE_STATIC_TRUE@ echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_STATIC_LIBS@
-+@ENABLE_STATIC_TRUE@ echo @SDL_RLD_FLAGS@ @SDL_STATIC_LIBS@
+-@ENABLE_STATIC_TRUE@ echo -L@libdir@ @SDL_LIBS@ @SDL_STATIC_LIBS@
++@ENABLE_STATIC_TRUE@ echo @SDL_LIBS@ @SDL_STATIC_LIBS@
@ENABLE_STATIC_TRUE@ ;;
*)
echo "${usage}" 1>&2
Summary(pl.UTF-8): SDL (Simple DirectMedia Layer) - Biblioteka do gier/multimediów
Summary(zh_CN.UTF-8): SDL (Simple DirectMedia Layer) Generic APIs - 游戏/多媒体库
Name: SDL2
-Version: 2.0.12
-Release: 2
+Version: 2.0.14
+Release: 1
License: Zlib (BSD-like)
Group: Libraries
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
-# Source0-md5: 783b6f2df8ff02b19bb5ce492b99c8ff
+# Source0-md5: 76ed4e6da9c07bd168b2acd9bfefab1b
Patch0: %{name}-config.patch
Patch1: %{name}-cflags.patch
URL: http://www.libsdl.org/
-%{?with_kms:BuildRequires: Mesa-libgbm-devel >= 9.0.0}
+%{?with_kms:BuildRequires: Mesa-libgbm-devel >= 11.1.0}
%{?with_directfb:BuildRequires: DirectFB-devel >= 1.0.0}
%{?with_directfb:BuildRequires: FusionSound-devel >= 1.1.1}
%{?with_opengl:BuildRequires: OpenGL-GLX-devel}
%{?with_esd:BuildRequires: esound-devel >= 0.2.8}
%{?with_fcitx:BuildRequires: fcitx-devel}
BuildRequires: gcc >= 5:4.0
+BuildRequires: hidapi-devel
BuildRequires: ibus-devel >= 1.0
%{?with_jack:BuildRequires: jack-audio-connection-kit-devel >= 0.125}
-%{?with_kms:BuildRequires: libdrm-devel >= 2.4.46}
+%{?with_kms:BuildRequires: libdrm-devel >= 1.4.82}
BuildRequires: libsamplerate-devel
BuildRequires: libtool >= 2:2.0
%{?with_nas:BuildRequires: nas-devel}
BuildRequires: perl-modules
BuildRequires: pkgconfig >= 1:0.7
BuildRequires: pulseaudio-devel >= 0.9
-BuildRequires: tslib-devel
BuildRequires: udev-devel
# wayland-client, wayland-cursor
%{?with_wayland:BuildRequires: wayland-devel}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%{?with_directfb:Requires: DirectFB-devel >= 1.0.0}
-Requires: tslib-devel
Requires: xorg-lib-libX11-devel
Suggests: OpenGL-GLU-devel