SHA256
1
0
forked from pool/SDL_bgi

Accepting request 350515 from graphics

- Update to new upstream release 2.0.5

OBS-URL: https://build.opensuse.org/request/show/350515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_bgi?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2015-12-24 11:17:29 +00:00 committed by Git OBS Bridge
commit 6889ecc691
5 changed files with 21 additions and 10 deletions

View File

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

3
SDL_bgi-2.0.5.tar.gz Normal file
View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Dec 23 11:34:14 UTC 2015 - jengelh@inai.de
- Update to new upstream release 2.0.5
* fillpoly() correctly implemented
* rewritten to use SDL_Surfaces only instead of
bitmaps in main RAM
* ellipse() and fillellipse() improved
* xkbhit() added
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 12 16:52:07 UTC 2015 - jengelh@inai.de Mon Oct 12 16:52:07 UTC 2015 - jengelh@inai.de

View File

@ -17,8 +17,8 @@
Name: SDL_bgi Name: SDL_bgi
%define lname libSDL_bgi0 %define lname libSDL_bgi1
Version: 2.0.3 Version: 2.0.5
Release: 0 Release: 0
Summary: BGI-compatible 2D graphics C library with SDL backend Summary: BGI-compatible 2D graphics C library with SDL backend
License: Zlib and GPL-2.0+ License: Zlib and GPL-2.0+
@ -77,7 +77,7 @@ b="%buildroot"
rm -f "$b/%_libdir"/*.la rm -f "$b/%_libdir"/*.la
mkdir -p "$b/%_includedir/SDL_bgi" "$b/%_libdir/pkgconfig" mkdir -p "$b/%_includedir/SDL_bgi" "$b/%_libdir/pkgconfig"
ln -s "../SDL2/SDL_bgi.h" "$b/%_includedir/SDL_bgi/graphics.h" ln -s "../SDL2/SDL_bgi.h" "$b/%_includedir/SDL_bgi/graphics.h"
install -pm0644 src/test/dos.h src/test/conio.h "$b/%_includedir/SDL_bgi/" install -pm0644 test/dos.h test/conio.h "$b/%_includedir/SDL_bgi/"
cat >"$b/%_libdir/pkgconfig/SDL_bgi.pc" <<-EOF cat >"$b/%_libdir/pkgconfig/SDL_bgi.pc" <<-EOF
Name: SDL_bgi Name: SDL_bgi
Description: BGI-compatible API with SDL backend Description: BGI-compatible API with SDL backend
@ -92,11 +92,11 @@ EOF
%files -n %lname %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE %doc LICENSE
%_libdir/libSDL_bgi.so.0* %_libdir/libSDL_bgi.so.*
%files -n libSDL_bgi-devel %files -n libSDL_bgi-devel
%defattr(-,root,root) %defattr(-,root,root)
%doc 00_README doc/* %doc README doc/*
%_includedir/SDL2/ %_includedir/SDL2/
%_includedir/SDL_bgi/ %_includedir/SDL_bgi/
%_libdir/libSDL_bgi.so %_libdir/libSDL_bgi.so

View File

@ -1,6 +1,6 @@
From: Jan Engelhardt <jengelh@inai.de> From: Jan Engelhardt <jengelh@inai.de>
Date: 2014-12-18 11:43:21.385084191 +0100 Date: 2014-12-18 11:43:21.385084191 +0100
Refresh: Thu May 7 13:22:40 CEST 2015 Refresh: Wed Dec 2 14:19:14 CET 2015
Author could not decide between "sdlbgifast" and "bgifast" Author could not decide between "sdlbgifast" and "bgifast"
(same for bgislow), so add extra symbols to enable both names. (same for bgislow), so add extra symbols to enable both names.
@ -39,13 +39,14 @@ Index: SDL_bgi-2.0.0/src/Makefile.am
=================================================================== ===================================================================
--- /dev/null --- /dev/null
+++ SDL_bgi-2.0.0/src/Makefile.am +++ SDL_bgi-2.0.0/src/Makefile.am
@@ -0,0 +1,8 @@ @@ -0,0 +1,9 @@
+SUBDIRS = . test +SUBDIRS = . test
+AM_CPPFLAGS = ${sdl2_CFLAGS} +AM_CPPFLAGS = ${sdl2_CFLAGS}
+AM_CFLAGS = -Wall +AM_CFLAGS = -Wall
+lib_LTLIBRARIES = libSDL_bgi.la +lib_LTLIBRARIES = libSDL_bgi.la
+libSDL_bgi_la_SOURCES = SDL_bgi.c +libSDL_bgi_la_SOURCES = SDL_bgi.c
+libSDL_bgi_la_LIBADD = -lm ${sdl2_LIBS} +libSDL_bgi_la_LIBADD = -lm ${sdl2_LIBS}
+libSDL_bgi_la_LDFLAGS = -no-undefined -version-info 1:0:0
+pkgincludedir = ${includedir}/SDL2 +pkgincludedir = ${includedir}/SDL2
+pkginclude_HEADERS = SDL_bgi.h +pkginclude_HEADERS = SDL_bgi.h
Index: SDL_bgi-2.0.0/src/test/Makefile.am Index: SDL_bgi-2.0.0/src/test/Makefile.am