diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-02 22:59:52 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-02 23:25:02 +0100 |
commit | 6832e1a9194aaddf3819795ef5160585ad3d1fd9 (patch) | |
tree | c2760a8ad14181e55cac0a9e416d9b6ce6e101a2 | |
parent | b21e1f8b7a33ec787b5dba36343a8a190ecbb668 (diff) |
Add sdl3_windows 3.2.6
-rw-r--r-- | modules/sdl3_windows/3.2.6/MODULE.bazel | 8 | ||||
-rw-r--r-- | modules/sdl3_windows/3.2.6/overlay/BUILD.bazel | 30 | ||||
-rw-r--r-- | modules/sdl3_windows/3.2.6/overlay/MODULE.bazel | 1 | ||||
-rw-r--r-- | modules/sdl3_windows/3.2.6/source.json | 10 | ||||
-rw-r--r-- | modules/sdl3_windows/metadata.json | 3 |
5 files changed, 51 insertions, 1 deletions
diff --git a/modules/sdl3_windows/3.2.6/MODULE.bazel b/modules/sdl3_windows/3.2.6/MODULE.bazel new file mode 100644 index 0000000..0899667 --- /dev/null +++ b/modules/sdl3_windows/3.2.6/MODULE.bazel @@ -0,0 +1,8 @@ +module( + name = "sdl3_windows", + version = "3.2.6", + compatibility_level = 1, + bazel_compatibility = [">=8.0.0"], +) + +bazel_dep(name = "rules_license", version = "1.0.0") diff --git a/modules/sdl3_windows/3.2.6/overlay/BUILD.bazel b/modules/sdl3_windows/3.2.6/overlay/BUILD.bazel new file mode 100644 index 0000000..b839d05 --- /dev/null +++ b/modules/sdl3_windows/3.2.6/overlay/BUILD.bazel @@ -0,0 +1,30 @@ +load("@rules_license//rules:license.bzl", "license") + +license( + name = "license", + license_kinds = [ + "@rules_license//licenses/spdx:Zlib", + ], + license_text = "LICENSE.txt", + package_name = "SDL 3", + package_url = "https://libsdl.org/", +) + +package( + default_applicable_licenses = ["//:license"], +) + +cc_import( + name = "sdl3_imp", + interface_library = "lib/x64/SDL3.lib", + shared_library = "lib/x64/SDL3.dll", +) + +cc_library( + name = "sdl3", + hdrs = glob(["include/SDL3/*.h"]), + includes = ["include"], + deps = [":sdl3_imp"], + visibility = ["//visibility:public"], +) + diff --git a/modules/sdl3_windows/3.2.6/overlay/MODULE.bazel b/modules/sdl3_windows/3.2.6/overlay/MODULE.bazel new file mode 100644 index 0000000..8e61b75 --- /dev/null +++ b/modules/sdl3_windows/3.2.6/overlay/MODULE.bazel @@ -0,0 +1 @@ +../MODULE.bazel diff --git a/modules/sdl3_windows/3.2.6/source.json b/modules/sdl3_windows/3.2.6/source.json new file mode 100644 index 0000000..2cc42e0 --- /dev/null +++ b/modules/sdl3_windows/3.2.6/source.json @@ -0,0 +1,10 @@ +{ + "type": "archive", + "url": "https://github.com/libsdl-org/SDL/releases/download/release-3.2.6/SDL3-devel-3.2.6-VC.zip", + "integrity": "sha256-PsKZ3sZeKm5mYHxqdFvo9sqkrhs/PIDSuW84uBlcP6Y=", + "strip_prefix": "SDL3-3.2.6", + "overlay": { + "MODULE.bazel": "sha256-hXUH2ZzjfxpMszGniIzshRHziwv9Rq21XRtwqcvk6G8=", + "BUILD.bazel": "sha256-xb/FVaFrh7oDW7BbEwTFj0dKEWvHutJHeqNC27egR3s=" + } +} diff --git a/modules/sdl3_windows/metadata.json b/modules/sdl3_windows/metadata.json index b9d3ecd..f32d37a 100644 --- a/modules/sdl3_windows/metadata.json +++ b/modules/sdl3_windows/metadata.json @@ -2,6 +2,7 @@ "homepage": "https://libsdl.org/", "versions": [ "3.1.10", - "3.2.0" + "3.2.0", + "3.2.6" ] } |