SHA256
1
0
forked from pool/SDL_bgi

Accepting request 1043225 from graphics

- Update to release 3.0.0

OBS-URL: https://build.opensuse.org/request/show/1043225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_bgi?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2022-12-16 16:51:58 +00:00 committed by Git OBS Bridge
commit 5616519bcc
5 changed files with 17 additions and 8 deletions

View File

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

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

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Dec 15 18:02:14 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.0.0
* fixed compatibility bugs in detectgraph(), gettextsettings(),
getfillsettings(), drawpoly(), fillpoly(), setcolor(), lastkey(),
* changed definition of `struct palettetype` (compatibility)
* added colorname(), kdelay()
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 1 10:32:40 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Wed Jun 1 10:32:40 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,9 +17,9 @@
Name: SDL_bgi Name: SDL_bgi
%define sover 8 %define sover suse9
%define lname libSDL_bgi-suse%sover %define lname libSDL_bgi-%sover
Version: 2.6.0 Version: 3.0.0
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: GPL-2.0-or-later AND Zlib License: GPL-2.0-or-later AND Zlib
@ -82,7 +82,7 @@ rm -v "%buildroot/%_includedir/graphics.h"
%files -n %lname %files -n %lname
%license LICENSE %license LICENSE
%_libdir/libSDL_bgi.so.suse%sover %_libdir/libSDL_bgi.so.*
%files -n libSDL_bgi-devel %files -n libSDL_bgi-devel
%_defaultdocdir/%name/ %_defaultdocdir/%name/

View File

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