From fef41d7753860c6f0fdc74a5097744c1b29122e45e6c49452cb3e9d5b9cc2d0b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 12 Oct 2015 17:10:29 +0000 Subject: [PATCH] - Update to new upstream release 2.0.3 OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=14 --- SDL_bgi-2.0.2.tar.gz | 3 --- SDL_bgi-2.0.3.tar.gz | 3 +++ SDL_bgi.changes | 9 +++++++++ SDL_bgi.spec | 7 +++++-- 4 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 SDL_bgi-2.0.2.tar.gz create mode 100644 SDL_bgi-2.0.3.tar.gz diff --git a/SDL_bgi-2.0.2.tar.gz b/SDL_bgi-2.0.2.tar.gz deleted file mode 100644 index 7030c0e..0000000 --- a/SDL_bgi-2.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e379edf0db615ad547667dd90a61f4175f7b0044b69f695fb5a003b6d87703c -size 494028 diff --git a/SDL_bgi-2.0.3.tar.gz b/SDL_bgi-2.0.3.tar.gz new file mode 100644 index 0000000..6e495f8 --- /dev/null +++ b/SDL_bgi-2.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28992513bd547bf9c17ae7fc55ca84281bd96e2c5bca4d7f83511a2d5379e7e5 +size 496457 diff --git a/SDL_bgi.changes b/SDL_bgi.changes index 98e7260..b4c7e6e 100644 --- a/SDL_bgi.changes +++ b/SDL_bgi.changes @@ -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 diff --git a/SDL_bgi.spec b/SDL_bgi.spec index aaf7c8e..fbecd60 100644 --- a/SDL_bgi.spec +++ b/SDL_bgi.spec @@ -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