[packages/SDL2] - updated to 2.0.4 - enable wayland by default (following upstream); mir kept disabled (despite upst
qboosh
qboosh at pld-linux.org
Tue Jan 12 21:19:46 CET 2016
commit 35a46df4243ec3617d88bceb38f1ab8d9ef27ed8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jan 12 21:21:53 2016 +0100
- updated to 2.0.4
- enable wayland by default (following upstream); mir kept disabled (despite upstream) because it's not widespread in PLD
SDL2.spec | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/SDL2.spec b/SDL2.spec
index 2ce6040..54abf03 100644
--- a/SDL2.spec
+++ b/SDL2.spec
@@ -8,7 +8,7 @@
%bcond_without gl # OpenGL (GLX) support
%bcond_without gles # OpenGL ES (EGL) support
%bcond_with mir # Mir graphics support
-%bcond_with wayland # Wayland graphics support
+%bcond_without wayland # Wayland graphics support
%bcond_without static_libs # don't build static libraries
%bcond_with mmx # MMX instructions
%bcond_with sse # SSE instructions
@@ -54,12 +54,12 @@ 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.3
-Release: 3
+Version: 2.0.4
+Release: 1
License: Zlib (BSD-like)
Group: Libraries
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
-# Source0-md5: fe6c61d2e9df9ef570e7e80c6e822537
+# Source0-md5: 44fc4a023349933e7f5d7a582f7b886e
Patch0: %{name}-config.patch
Patch1: %{name}-cflags.patch
URL: http://www.libsdl.org/
@@ -223,13 +223,14 @@ SDL - przykładowe programy.
%{?with_sse:--enable-ssemath} \
%{!?with_static_libs:--disable-static} \
%{!?with_directfb:--disable-video-directfb} \
- %{?with_mir:--enable-video-mir} \
+ --enable-video-mir%{!?with_mir:=no} \
--enable-video-opengl%{!?with_gl:=no} \
--enable-video-opengles%{!?with_gles:=no} \
- %{?with_wayland:--enable-video-wayland} \
+ --enable-video-wayland%{!?with_wayland:=no} \
--with-x
-%{__make}
+%{__make} \
+ V=1
%install
rm -rf $RPM_BUILD_ROOT
@@ -264,6 +265,7 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/SDL2
%{_aclocaldir}/sdl2.m4
%{_pkgconfigdir}/sdl2.pc
+%{_libdir}/cmake/SDL2
%if %{with static_libs}
%files static
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/SDL2.git/commitdiff/35a46df4243ec3617d88bceb38f1ab8d9ef27ed8
More information about the pld-cvs-commit
mailing list