[packages/SDL2] up to 2.0.14

atler atler at pld-linux.org
Wed Dec 23 15:48:08 CET 2020


commit 88d7b76f7b8dc9b82aff223eb4a5f7fe83d0e902
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Dec 23 15:47:31 2020 +0100

    up to 2.0.14

 SDL2-config.patch | 10 +++++-----
 SDL2.spec         | 13 ++++++-------
 2 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/SDL2.spec b/SDL2.spec
index 2065d9a..7de39c8 100644
--- a/SDL2.spec
+++ b/SDL2.spec
@@ -60,16 +60,16 @@ Summary:	SDL (Simple DirectMedia Layer) - Game/Multimedia Library
 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}
@@ -82,16 +82,16 @@ BuildRequires:	dbus-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}
@@ -148,7 +148,6 @@ Summary(zh_CN.UTF-8):	SDL (Simple DirectMedia Layer) 开发库
 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
 
diff --git a/SDL2-config.patch b/SDL2-config.patch
index 8fcfe1d..c35ec2d 100644
--- a/SDL2-config.patch
+++ b/SDL2-config.patch
@@ -1,7 +1,7 @@
---- 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 at includedir@/SDL @SDL_CFLAGS@
+       echo -I at includedir@/SDL2 @SDL_CFLAGS@
        ;;
  @ENABLE_SHARED_TRUE@    --libs)
 - at ENABLE_SHARED_TRUE@      echo -L at libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
@@ -9,8 +9,8 @@
  @ENABLE_SHARED_TRUE@      ;;
  @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@    --static-libs)
  @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@    --libs|--static-libs)
-- at ENABLE_STATIC_TRUE@      echo -L at libdir@ @SDL_RLD_FLAGS@ @SDL_STATIC_LIBS@
-+ at ENABLE_STATIC_TRUE@      echo @SDL_RLD_FLAGS@ @SDL_STATIC_LIBS@
+- at ENABLE_STATIC_TRUE@      echo -L at libdir@ @SDL_LIBS@ @SDL_STATIC_LIBS@
++ at ENABLE_STATIC_TRUE@      echo @SDL_LIBS@ @SDL_STATIC_LIBS@
  @ENABLE_STATIC_TRUE@      ;;
      *)
        echo "${usage}" 1>&2
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/SDL2.git/commitdiff/88d7b76f7b8dc9b82aff223eb4a5f7fe83d0e902



More information about the pld-cvs-commit mailing list