Skip to content

Commit 2fb92f9

Browse files
gav2xlinAbrilRBS
andauthored
sdl: version 3.2.14 (#27463)
* sdl: version 3.2.14 * Add new framework for this version --------- Co-authored-by: Abril Rincón Blanco <[email protected]>
1 parent 9cff730 commit 2fb92f9

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

recipes/sdl/3.x/conandata.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
sources:
2+
"3.2.14":
3+
url: "https://github.com/libsdl-org/SDL/releases/download/release-3.2.14/SDL3-3.2.14.tar.gz"
4+
sha256: "b7e7dc05011b88c69170fe18935487b2559276955e49113f8c1b6b72c9b79c1f"
25
"3.2.6":
36
url: "https://github.com/libsdl-org/SDL/releases/download/release-3.2.6/SDL3-3.2.6.tar.gz"
47
sha256: "096a0b843dd1124afda41c24bd05034af75af37e9a1b9d205cc0a70193b27e1a"

recipes/sdl/3.x/conanfile.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from conan.tools.gnu import PkgConfigDeps
66
from conan.tools.microsoft import is_msvc
77
from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout, CMakeDeps
8-
8+
from conan.tools.scm import Version
99
import os
1010

1111
required_conan_version = ">=2"
@@ -434,8 +434,11 @@ def package_info(self):
434434
else:
435435
self.cpp_info.components["sdl3"].frameworks.append("UniformTypeIdentifiers")
436436

437-
if self.options.get_safe("camera") and self.settings.os in ("Macos", "iOS"):
438-
self.cpp_info.components["sdl3"].frameworks.append("CoreMedia")
437+
if self.options.get_safe("camera"):
438+
if self.settings.os in ("Macos", "iOS"):
439+
self.cpp_info.components["sdl3"].frameworks.append("CoreMedia")
440+
if Version(self.version) >= "3.2.14":
441+
self.cpp_info.components["sdl3"].frameworks.append("AVFoundation")
439442

440443
if self.options.get_safe("joystick"):
441444
self.cpp_info.components["sdl3"].frameworks.append("GameController")

recipes/sdl/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
versions:
2+
"3.2.14":
3+
folder: 3.x
24
"3.2.6":
35
folder: 3.x
46
"2.32.2":

0 commit comments

Comments
 (0)