mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 06:31:37 +00:00
aedi: update sdl2 to 2.26.0
This commit is contained in:
parent
6a28d16f6f
commit
64ff625302
3 changed files with 15 additions and 15 deletions
|
@ -215,8 +215,8 @@ class Sdl2Target(CMakeStaticDependencyTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/libsdl-org/SDL/releases/download/release-2.24.2/SDL2-2.24.2.tar.gz',
|
||||
'b35ef0a802b09d90ed3add0dcac0e95820804202914f5bb7b0feb710f1a1329f',
|
||||
'https://github.com/libsdl-org/SDL/releases/download/release-2.26.0/SDL2-2.26.0.tar.gz',
|
||||
'8000d7169febce93c84b6bdf376631f8179132fd69f7015d4dadb8b9c2bdb295',
|
||||
patches=('sdl2-no-updaterev', 'sdl2-no-gamecontroller+corehaptic'))
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1992,7 +1992,7 @@
|
||||
@@ -2088,7 +2088,7 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <CoreHaptics/CoreHaptics.h>
|
||||
int main() { return 0; }" HAVE_FRAMEWORK_COREHAPTICS)
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -2790,7 +2790,7 @@
|
||||
|
||||
# Compat helpers for the configuration files
|
||||
@@ -2966,7 +2966,7 @@
|
||||
endif()
|
||||
|
||||
find_package(Git)
|
||||
-if(Git_FOUND)
|
||||
+if(0)
|
||||
execute_process(COMMAND
|
||||
"${GIT_EXECUTABLE}" remote get-url origin
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
@@ -2811,7 +2811,7 @@
|
||||
set(SDL_REVISION "")
|
||||
endif()
|
||||
"${GIT_EXECUTABLE}" describe --always --tags --long
|
||||
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}"
|
||||
@@ -2975,7 +2975,7 @@
|
||||
ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
else()
|
||||
- set(SDL_REVISION "")
|
||||
+ set(SDL_REVISION "https://github.com/libsdl-org/SDL.git@53dea9830964eee8b5c2a7ee0a65d6e268dc78a1")
|
||||
set(GIT_REVISION_STATUS 1)
|
||||
- set(GIT_REVISION "")
|
||||
+ set(SDL_REVISION "SDL-release-2.26.0-0-g0bfeed061")
|
||||
endif()
|
||||
|
||||
configure_file("${SDL2_SOURCE_DIR}/include/SDL_revision.h.cmake"
|
||||
|
||||
if(SDL_SOURCE_VERSION)
|
||||
|
|
Loading…
Reference in a new issue