forked from pool/SDL_bgi
- Update to release 2.6.0
OBS-URL: https://build.opensuse.org/package/show/graphics/SDL_bgi?expand=0&rev=60
This commit is contained in:
parent
174e483135
commit
c780ecd650
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4c936461a52b18db8300489f1ab4c6ac5f06e190f6c30d82f7df111a28efde84
|
|
||||||
size 1841140
|
|
3
SDL_bgi-2.6.0.tar.gz
Normal file
3
SDL_bgi-2.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a54e67713c2fae0463f63119d9554dc38e5cc10eb3a830b1232ff614f9bcbce8
|
||||||
|
size 2904011
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 1 10:32:40 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 2.6.0
|
||||||
|
* added getclick(), doubleclick(), extended mouseclick()
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 4 08:41:32 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
Wed May 4 08:41:32 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
12
SDL_bgi.spec
12
SDL_bgi.spec
@ -17,17 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: SDL_bgi
|
Name: SDL_bgi
|
||||||
%define sover 7
|
%define sover 8
|
||||||
%define lname libSDL_bgi-suse%sover
|
%define lname libSDL_bgi-suse%sover
|
||||||
Version: 2.5.0
|
Version: 2.6.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
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
URL: http://libXbgi.sf.net/
|
URL: https://sdl-bgi.sourceforge.io/
|
||||||
|
|
||||||
#Git-Web: https://github.com/genpfault/sdl-bgi
|
#Freshcode: http://freshcode.club/projects/sdl_bgi
|
||||||
Source: https://downloads.sf.net/libxbgi/%name-%version.tar.gz
|
Source: https://downloads.sf.net/sdl-bgi/%name-%version.tar.gz
|
||||||
Source9: %name-rpmlintrc
|
Source9: %name-rpmlintrc
|
||||||
Patch1: sdlbgi-cmake.diff
|
Patch1: sdlbgi-cmake.diff
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -50,7 +50,7 @@ SDL. It provides extensions for RGB colors and mouse support.
|
|||||||
%package -n libSDL_bgi-devel
|
%package -n libSDL_bgi-devel
|
||||||
Summary: Libraries, includes and more to develop SDL_bgi applications
|
Summary: Libraries, includes and more to develop SDL_bgi applications
|
||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version-%release
|
||||||
Provides: SDL_bgi-devel = %version-%release
|
Provides: SDL_bgi-devel = %version-%release
|
||||||
|
|
||||||
%description -n libSDL_bgi-devel
|
%description -n libSDL_bgi-devel
|
||||||
|
@ -2,28 +2,18 @@
|
|||||||
Add some library versioning.
|
Add some library versioning.
|
||||||
|
|
||||||
---
|
---
|
||||||
CMakeLists.txt | 6 ++----
|
CMakeLists.txt | 3 ++-
|
||||||
1 file changed, 2 insertions(+), 4 deletions(-)
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
Index: SDL_bgi-2.4.1/CMakeLists.txt
|
Index: SDL_bgi-2.6.0/CMakeLists.txt
|
||||||
===================================================================
|
===================================================================
|
||||||
--- SDL_bgi-2.4.1.orig/CMakeLists.txt
|
--- SDL_bgi-2.6.0.orig/CMakeLists.txt
|
||||||
+++ SDL_bgi-2.4.1/CMakeLists.txt
|
+++ SDL_bgi-2.6.0/CMakeLists.txt
|
||||||
@@ -21,9 +21,6 @@ include_directories (SDL_bgi ${SDL2_INCL
|
@@ -32,8 +32,9 @@ include_directories (src)
|
||||||
# Default install directory variables
|
|
||||||
include (GNUInstallDirs)
|
|
||||||
|
|
||||||
-# fix stupid bug on Linux
|
|
||||||
-string (STRIP ${SDL2_LIBRARIES} SDL2_LIBRARIES)
|
|
||||||
-
|
|
||||||
# Find source files
|
|
||||||
file (GLOB SOURCES src/*.c)
|
|
||||||
|
|
||||||
@@ -32,8 +29,9 @@ include_directories (src)
|
|
||||||
|
|
||||||
# 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 suse7)
|
+set_target_properties(${PROJECT_NAME} PROPERTIES SOVERSION suse8)
|
||||||
# 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})
|
||||||
|
Loading…
Reference in New Issue
Block a user