SHA256
1
0
forked from pool/SDL_bgi

- Update to release 2.5.0

OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=57
This commit is contained in:
Jan Engelhardt 2022-02-13 22:28:57 +00:00 committed by Git OBS Bridge
parent 522a568f5e
commit ef2ab4316c
5 changed files with 20 additions and 7 deletions

View File

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

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

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sun Feb 13 22:26:21 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.5.0
* Modified functions putpixel(), setbkcolor(), setcolor(),
setfillpattern(), setfillstyle(), setpalette(), and
setalpha() to handle colours given as out of range numbers.
* Simplified floodfill() function (implemented recursive version)
* Improved setpalette() to change currently drawn pixels.
* Added getrgbpalette(), setallrgbpalette(), and RGBPALETTE().
* Implemented getwindowwidth() and getwindowheight() as macros
for WinBGIm compatibility.
-------------------------------------------------------------------
Tue May 4 13:32:58 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package SDL_bgi
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,9 +17,9 @@
Name: SDL_bgi
%define sover 6
%define sover 7
%define lname libSDL_bgi-suse%sover
Version: 2.4.4
Version: 2.5.0
Release: 0
Summary: BGI-compatible 2D graphics C library with SDL backend
License: GPL-2.0-or-later AND Zlib

View File

@ -23,7 +23,7 @@ Index: SDL_bgi-2.4.1/CMakeLists.txt
# Create shared library
add_library (${PROJECT_NAME} SHARED ${SOURCES})
+set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse6)
+set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse7)
# fix provided by Austin Hurst
-target_link_libraries (SDL_bgi ${SDL2_LIBRARIES})
+target_link_libraries (SDL_bgi -lm ${SDL2_LIBRARIES})