SHA256
1
0
forked from jengelh/SDL2

- updated to revision 7316

OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=11
This commit is contained in:
Pavol Rusnak 2013-06-24 18:12:02 +00:00 committed by Git OBS Bridge
parent 08fc5be5a1
commit 9530968ea3
5 changed files with 14 additions and 24 deletions

3
SDL-2.0.0-7316.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a7e3064c078f791edd3bd6d2cea4352a609c6929953b38473e120e24dadbb25
size 3740142

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:835292d391eb32496db6c07f1b3e3fbdaee0ba8515156d9887b5d9762eafe79c
size 4727642

View File

@ -1,13 +0,0 @@
Index: src/video/x11/SDL_x11opengles.c
===================================================================
--- src/video/x11/SDL_x11opengles.c.orig
+++ src/video/x11/SDL_x11opengles.c
@@ -321,7 +321,7 @@ X11_GLES_CreateContext(_THIS, SDL_Window
SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
Display *display = data->videodata->display;
- SDL_GLContext context = 1;
+ SDL_GLContext context = (SDL_GLContext)1;
XSync(display, False);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 24 18:05:34 UTC 2013 - prusnak@opensuse.org
- updated to revision 7316
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 22 00:07:39 UTC 2012 - prusnak@opensuse.org Sat Dec 22 00:07:39 UTC 2012 - prusnak@opensuse.org

View File

@ -16,7 +16,7 @@
# #
%define hg_rev 6754 %define rev 7316
Name: SDL2 Name: SDL2
BuildRequires: Mesa-devel BuildRequires: Mesa-devel
@ -33,15 +33,14 @@ BuildRequires: pkgconfig(glu)
%ifarch ppc ppc64 %ifarch ppc ppc64
BuildRequires: libspe2-devel BuildRequires: libspe2-devel
%endif %endif
Version: 1.99.%{hg_rev} Version: 1.99.%{rev}
Release: 0 Release: 0
Summary: Simple DirectMedia Layer Library Summary: Simple DirectMedia Layer Library
License: Zlib License: Zlib
Group: System/Libraries Group: System/Libraries
Url: http://www.libsdl.org/ Url: http://www.libsdl.org/
Source: http://www.libsdl.org/tmp/SDL-2.0.tar.gz Source: http://www.libsdl.org/tmp/SDL-2.0.0-%{rev}.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
Patch0: %{name}-2.0-voidptr.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -75,8 +74,7 @@ This package contains files needed for development with the SDL2
library. library.
%prep %prep
%setup -q -n SDL-2.0.0-%{hg_rev} %setup -q -n SDL-2.0.0-%{rev}
%patch0
%build %build
%configure \ %configure \
@ -98,12 +96,12 @@ rm -f %{buildroot}%{_libdir}/*.la
%files -n libSDL2-2_0-0 %files -n libSDL2-2_0-0
%defattr(-,root,root) %defattr(-,root,root)
%doc BUGS COPYING CREDITS README README-SDL.txt %doc BUGS.txt COPYING.txt CREDITS.txt README.txt README-SDL.txt
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files -n libSDL2-devel %files -n libSDL2-devel
%defattr(-,root,root) %defattr(-,root,root)
%doc README.HG TODO WhatsNew %doc TODO.txt WhatsNew.txt
%{_bindir}/* %{_bindir}/*
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/libSDL2.a %{_libdir}/libSDL2.a