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

View File

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

View File

@ -1,6 +1,6 @@
From: Jan Engelhardt <jengelh@inai.de>
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"
(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
+++ SDL_bgi-2.0.0/src/Makefile.am
@@ -0,0 +1,8 @@
@@ -0,0 +1,9 @@
+SUBDIRS = . test
+AM_CPPFLAGS = ${sdl2_CFLAGS}
+AM_CFLAGS = -Wall
+lib_LTLIBRARIES = libSDL_bgi.la
+libSDL_bgi_la_SOURCES = SDL_bgi.c
+libSDL_bgi_la_LIBADD = -lm ${sdl2_LIBS}
+libSDL_bgi_la_LDFLAGS = -no-undefined -version-info 1:0:0
+pkgincludedir = ${includedir}/SDL2
+pkginclude_HEADERS = SDL_bgi.h
Index: SDL_bgi-2.0.0/src/test/Makefile.am