SHA256
1
0
forked from pool/SDL_bgi

- Update to new upstream release 2.0.3

OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=14
This commit is contained in:
Jan Engelhardt 2015-10-12 17:10:29 +00:00 committed by Git OBS Bridge
parent 4f398a1f4c
commit fef41d7753
4 changed files with 17 additions and 5 deletions

View File

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

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

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Oct 12 16:52:07 UTC 2015 - jengelh@inai.de
- Update to new upstream release 2.0.3
* in "slow mode", screen refresh is also
triggered by kbhit() and getch()
* minimal dos.h and conio.h provided
* kbhit() rewritten to avoid buffered keys
-------------------------------------------------------------------
Wed Jun 3 22:26:55 UTC 2015 - jengelh@inai.de

View File

@ -18,7 +18,7 @@
Name: SDL_bgi
%define lname libSDL_bgi0
Version: 2.0.2
Version: 2.0.3
Release: 0
Summary: BGI-compatible 2D graphics C library with SDL backend
License: Zlib and GPL-2.0+
@ -75,7 +75,9 @@ make %{?_smp_mflags}
%make_install
b="%buildroot"
rm -f "$b/%_libdir"/*.la
mkdir -p "$b/%_libdir/pkgconfig"
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/"
cat >"$b/%_libdir/pkgconfig/SDL_bgi.pc" <<-EOF
Name: SDL_bgi
Description: BGI-compatible API with SDL backend
@ -96,6 +98,7 @@ EOF
%defattr(-,root,root)
%doc 00_README doc/*
%_includedir/SDL2/
%_includedir/SDL_bgi/
%_libdir/libSDL_bgi.so
%_libdir/pkgconfig/SDL_bgi.pc