From 5c9bce49691282ca88bdca13637005901ddcba20 Mon Sep 17 00:00:00 2001 From: toge Date: Tue, 12 Nov 2024 20:52:25 +0900 Subject: [PATCH] sdl: add version 2.30.9 (#25793) * sdl: add version 2.30.9 * add macOS frameworks --- recipes/sdl/all/conandata.yml | 3 +++ recipes/sdl/all/conanfile.py | 10 +++++++++- recipes/sdl/config.yml | 2 ++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/recipes/sdl/all/conandata.yml b/recipes/sdl/all/conandata.yml index aab7af6e637e8..a225ab98d3530 100644 --- a/recipes/sdl/all/conandata.yml +++ b/recipes/sdl/all/conandata.yml @@ -1,4 +1,7 @@ sources: + "2.30.9": + url: "https://www.libsdl.org/release/SDL2-2.30.9.tar.gz" + sha256: "24b574f71c87a763f50704bbb630cbe38298d544a1f890f099a4696b1d6beba4" "2.30.8": url: "https://www.libsdl.org/release/SDL2-2.30.8.tar.gz" sha256: "380c295ea76b9bd72d90075793971c8bcb232ba0a69a9b14da4ae8f603350058" diff --git a/recipes/sdl/all/conanfile.py b/recipes/sdl/all/conanfile.py index 5a843281891dc..c6575cb729918 100644 --- a/recipes/sdl/all/conanfile.py +++ b/recipes/sdl/all/conanfile.py @@ -415,7 +415,15 @@ def package_info(self): "AVFoundation", "Foundation", "QuartzCore", ] if self.settings.os == "Macos": - self.cpp_info.components["libsdl2"].frameworks.extend(["Cocoa", "Carbon", "IOKit", "ForceFeedback"]) + self.cpp_info.components["libsdl2"].frameworks.extend([ + "Cocoa", + "Carbon", + "IOKit", + "ForceFeedback", + "CoreFoundation", + "CoreServices", + "AppKit" + ]) self.cpp_info.components["libsdl2"].frameworks.append("GameController") elif self.settings.os in ["iOS", "tvOS", "watchOS"]: self.cpp_info.components["libsdl2"].frameworks.extend([ diff --git a/recipes/sdl/config.yml b/recipes/sdl/config.yml index b865a0bbb2d7e..dab026397aa4f 100644 --- a/recipes/sdl/config.yml +++ b/recipes/sdl/config.yml @@ -1,4 +1,6 @@ versions: + "2.30.9": + folder: all "2.30.8": folder: all "2.30.7":