Skip to content

Commit

Permalink
sdl: add version 2.30.9 (conan-io#25793)
Browse files Browse the repository at this point in the history
* sdl: add version 2.30.9

* add macOS frameworks
  • Loading branch information
toge authored and OMGtechy committed Dec 31, 2024
1 parent 5239e7a commit 24cf709
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions recipes/sdl/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
10 changes: 9 additions & 1 deletion recipes/sdl/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down
2 changes: 2 additions & 0 deletions recipes/sdl/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"2.30.9":
folder: all
"2.30.8":
folder: all
"2.30.7":
Expand Down

0 comments on commit 24cf709

Please sign in to comment.