%bcond_without gl # OpenGL (GLX) support
%bcond_without gles # OpenGL ES (EGL) support
%bcond_with kms # KMS/DRM graphics support
-%bcond_with mir # Mir graphics support
%bcond_without vulkan # Vulkan graphics support
%bcond_without wayland # Wayland graphics support
%bcond_without static_libs # don't build static libraries
# libfusionsound-*.so --needs patch (-release not supported by configure)
# libgbm.so.1 [if with kms]
# libjack.so.0 [if with jack]
-# libmirclient.so.9 [if with mir]
# libpulse-simple.so.0
# libsamplerate.so.0
# libwayland-client.so.0 [if with wayland]
# libwayland-cursor.so.0 [if with wayland]
# libwayland-egl.so.1 [if with wayland]
-# libxkbcommon.so.0 [if with wayland or mir]
+# libxkbcommon.so.0 [if with wayland]
# libX11.so.6
# libXcursor.so.1
# libXext.so.6
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.7
+Version: 2.0.12
Release: 1
License: Zlib (BSD-like)
Group: Libraries
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
-# Source0-md5: cdb071009d250e1782371049f0d5ca42
+# Source0-md5: 783b6f2df8ff02b19bb5ce492b99c8ff
Patch0: %{name}-config.patch
Patch1: %{name}-cflags.patch
URL: http://www.libsdl.org/
%{?with_kms:BuildRequires: Mesa-libgbm-devel >= 9.0.0}
-%{?with_wayland:BuildRequires: Mesa-libwayland-egl-devel}
%{?with_directfb:BuildRequires: DirectFB-devel >= 1.0.0}
%{?with_directfb:BuildRequires: FusionSound-devel >= 1.1.1}
%{?with_gl:BuildRequires: OpenGL-GLX-devel}
%{?with_gles:BuildRequires: OpenGLES-devel}
-%{?with_alsa:BuildRequires: alsa-lib-devel >= 0.9.0}
+%{?with_alsa:BuildRequires: alsa-lib-devel >= 1.0.11}
%{?with_arts:BuildRequires: artsc-devel >= 1.1}
BuildRequires: autoconf >= 2.59-9
BuildRequires: automake
%{?with_kms:BuildRequires: libdrm-devel >= 2.4.46}
BuildRequires: libsamplerate-devel
BuildRequires: libtool >= 2:2.0
-%{?with_mir:BuildRequires: mir-devel >= 0.26}
%{?with_nas:BuildRequires: nas-devel}
BuildRequires: perl-modules
BuildRequires: pkgconfig >= 1:0.7
BuildRequires: udev-devel
# wayland-client, wayland-cursor
%{?with_wayland:BuildRequires: wayland-devel}
+%{?with_wayland:BuildRequires: wayland-egl-devel}
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXScrnSaver-devel
BuildRequires: xorg-lib-libXcursor-devel
BuildRequires: xorg-lib-libXrandr-devel
BuildRequires: xorg-lib-libXrender-devel
BuildRequires: xorg-lib-libXxf86vm-devel
-%if %{with mir} || %{with wayland}
+%if %{with wayland}
BuildRequires: xorg-lib-libxkbcommon-devel
%endif
BuildRequires: xorg-proto-xextproto-devel
%{!?with_static_libs:--disable-static} \
%{!?with_directfb:--disable-video-directfb} \
%{?with_kms:--enable-video-kmsdrm} \
- --enable-video-mir%{!?with_mir:=no} \
--enable-video-opengl%{!?with_gl:=no} \
--enable-video-opengles%{!?with_gles:=no} \
--enable-video-vulkan%{!?with_vulkan:=no} \