Skip to content

Commit

Permalink
SDL 2.30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vaiorabbit committed Feb 3, 2024
1 parent b77eefc commit 6f3d2d5
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 11 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-02-03 vaiorabbit <http://twitter.com/vaiorabbit>

* SDL 2.30.0

2024-01-28 vaiorabbit <http://twitter.com/vaiorabbit>

* SDL_mixer 2.8.0 and SDL_ttf 2.22.0
Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# sdl2-bindings : Yet another SDL2 wrapper for Ruby #

* Created : 2015-09-19
* Last modified : 2024-01-28
* Last modified : 2024-02-03

## Features ##

Expand All @@ -23,8 +23,8 @@ See the project below to learn how to use this library:

## Target version ##

* [2024-01-28]
* SDL : 2.29.1~
* [2024-02-03]
* SDL : 2.30.0~
* SDL_image : 2.8.2
* SDL_mixer : 2.8.0
* SDL_ttf : 2.22.0
Expand Down Expand Up @@ -111,6 +111,13 @@ See the project below to learn how to use this library:
* SDL_ttf : 2.20.2
* SDL2_gfx : 1.0.4
* SDL_sound : 2.0.1
* [2024-01-28]
* SDL : 2.29.1~
* SDL_image : 2.8.2
* SDL_mixer : 2.8.0
* SDL_ttf : 2.22.0
* SDL2_gfx : 1.0.4
* SDL_sound : 2.0.2


</details>
Expand Down
5 changes: 3 additions & 2 deletions generator/sdl2_define_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
, "SDL_HINT_LINUX_HAT_DEADZONES" : "\"SDL_LINUX_HAT_DEADZONES\""
, "SDL_HINT_LINUX_JOYSTICK_CLASSIC" : "\"SDL_LINUX_JOYSTICK_CLASSIC\""
, "SDL_HINT_LINUX_JOYSTICK_DEADZONES" : "\"SDL_LINUX_JOYSTICK_DEADZONES\""
, "SDL_HINT_LOGGING" : "\"SDL_LOGGING\""
, "SDL_HINT_MAC_BACKGROUND_APP" : "\"SDL_MAC_BACKGROUND_APP\""
, "SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK" : "\"SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK\""
, "SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH" : "\"SDL_MAC_OPENGL_ASYNC_DISPATCH\""
Expand Down Expand Up @@ -518,8 +519,8 @@
, "SDL_MOUSE_TOUCHID" : "-1"
, "SDL_version_h_" : null
, "SDL_MAJOR_VERSION" : "2"
, "SDL_MINOR_VERSION" : "29"
, "SDL_PATCHLEVEL" : "1"
, "SDL_MINOR_VERSION" : "30"
, "SDL_PATCHLEVEL" : "0"
, "SDL_VERSION" : null
, "SDL_VERSIONNUM" : null
, "SDL_COMPILEDVERSION" : null
Expand Down
1 change: 1 addition & 0 deletions lib/sdl2_hints.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ module SDL
HINT_LINUX_HAT_DEADZONES = "SDL_LINUX_HAT_DEADZONES"
HINT_LINUX_JOYSTICK_CLASSIC = "SDL_LINUX_JOYSTICK_CLASSIC"
HINT_LINUX_JOYSTICK_DEADZONES = "SDL_LINUX_JOYSTICK_DEADZONES"
HINT_LOGGING = "SDL_LOGGING"
HINT_MAC_BACKGROUND_APP = "SDL_MAC_BACKGROUND_APP"
HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK = "SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"
HINT_MAC_OPENGL_ASYNC_DISPATCH = "SDL_MAC_OPENGL_ASYNC_DISPATCH"
Expand Down
4 changes: 2 additions & 2 deletions lib/sdl2_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ module SDL
# Define/Macro

MAJOR_VERSION = 2
MINOR_VERSION = 29
PATCHLEVEL = 1
MINOR_VERSION = 30
PATCHLEVEL = 0

# Enum

Expand Down
2 changes: 1 addition & 1 deletion sdl2-bindings.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |spec|
spec.name = "sdl2-bindings"
spec.version = "0.2.2"
spec.version = "0.2.3"
spec.authors = ["vaiorabbit"]
spec.email = ["[email protected]"]
spec.summary = %q{Bindings for SDL2}
Expand Down
6 changes: 3 additions & 3 deletions third_party/sdl2_build_dylib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#
# Ref.: https://github.com/malkia/ufo/blob/master/build/OSX/glfw.sh
#
curl -L -O https://github.com/libsdl-org/SDL/releases/download/prerelease-2.29.1/SDL2-2.29.1.zip
unzip SDL2-2.29.1.zip
cd SDL2-2.29.1/
curl -L -O https://github.com/libsdl-org/SDL/releases/download/release-2.30.0/SDL2-2.30.0.zip
unzip SDL2-2.30.0.zip
cd SDL2-2.30.0/
mkdir build
cd build
export MACOSX_DEPLOYMENT_TARGET=14.0
Expand Down

0 comments on commit 6f3d2d5

Please sign in to comment.