Skip to content

Commit

Permalink
Update for SDL 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
castholm committed Jan 21, 2025
1 parent f759da0 commit 9089900
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
54 changes: 27 additions & 27 deletions REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,31 @@ version = 1

[[annotations]]
path = "**"
SPDX-FileCopyrightText = "Copyright (C) 1997-2024 Sam Lantinga <[email protected]>"
SPDX-FileCopyrightText = "Copyright (C) 1997-2025 Sam Lantinga <[email protected]>"
SPDX-License-Identifier = "Zlib"

[[annotations]]
path = [
"include/SDL3/SDL_bits.h",
"src/main/psp/SDL_sysmain_runapp.c",
"src/main/windows/SDL_sysmain_runapp.c",
"src/render/SDL_render_debug_font.h",
"src/stdlib/SDL_crc16.c",
"src/stdlib/SDL_crc32.c",
"src/stdlib/SDL_malloc.c",
"src/stdlib/SDL_murmur3.c",
"src/stdlib/SDL_qsort.c",
"src/stdlib/SDL_strtokr.c",
"src/time/SDL_time.c",
"src/video/SDL_blit_slow.c",
]
SPDX-License-Identifier = "Zlib AND CC0-1.0"

[[annotations]]
path = "include/SDL3/SDL_egl.h"
precedence = "override"
SPDX-FileCopyrightText = [
"Copyright (C) 1997-2024 Sam Lantinga <[email protected]>",
"Copyright (C) 1997-2025 Sam Lantinga <[email protected]>",
"Copyright (c) 2008-2018 The Khronos Group Inc.",
"Copyright 2007-2020 The Khronos Group Inc.",
"Copyright 2013-2020 The Khronos Group Inc.",
Expand All @@ -28,7 +45,7 @@ SPDX-License-Identifier = "Zlib AND HIDAPI"
path = "include/SDL3/SDL_opengl.h"
precedence = "override"
SPDX-FileCopyrightText = [
"Copyright (C) 1997-2024 Sam Lantinga <[email protected]>",
"Copyright (C) 1997-2025 Sam Lantinga <[email protected]>",
"Copyright (C) 1999-2006 Brian Paul",
"Copyright (C) 2009 VMware, Inc.",
]
Expand All @@ -51,7 +68,7 @@ SPDX-License-Identifier = "MIT"
path = "src/filesystem/unix/SDL_sysfilesystem.c"
precedence = "override"
SPDX-FileCopyrightText = [
"Copyright (C) 1997-2024 Sam Lantinga <[email protected]>",
"Copyright (C) 1997-2025 Sam Lantinga <[email protected]>",
"Copyright (c) 2007 Red Hat, Inc.",
]
SPDX-License-Identifier = "Zlib AND MIT"
Expand Down Expand Up @@ -155,44 +172,27 @@ SPDX-License-Identifier = "CC0-1.0"
# can be used without license from RSA, so the license text in the source file can be safely ignored.
# See <https://datatracker.ietf.org/ipr/157/> for RSA's statement.

[[annotations]]
path = [
"include/SDL3/SDL_bits.h",
"src/main/psp/SDL_sysmain_runapp.c",
"src/main/windows/SDL_sysmain_runapp.c",
"src/render/SDL_render_debug_font.h",
"src/stdlib/SDL_crc16.c",
"src/stdlib/SDL_crc32.c",
"src/stdlib/SDL_malloc.c",
"src/stdlib/SDL_murmur3.c",
"src/stdlib/SDL_qsort.c",
"src/stdlib/SDL_strtokr.c",
"src/time/SDL_time.c",
"src/video/SDL_blit_slow.c",
]
SPDX-License-Identifier = "Zlib AND CC0-1.0"

[[annotations]]
path = "src/video/openvr/openvr_capi.h"
SPDX-License-Identifier = "BSD-3-Clause"

[[annotations]]
path = "src/video/yuv2rgb/*"
SPDX-FileCopyrightText = "Copyright (c) 2016, Adrien Descamps"
SPDX-License-Identifier = "BSD-3-Clause"

[[annotations]]
path = [
"src/video/x11/xsettings-client.c",
"src/video/x11/xsettings-client.h",
]
SPDX-License-Identifier = "HPND-sell-variant"

[[annotations]]
path = "src/video/yuv2rgb/*"
SPDX-FileCopyrightText = "Copyright (c) 2016, Adrien Descamps"
SPDX-License-Identifier = "BSD-3-Clause"

[[annotations]]
path = "src/video/SDL_surface.c"
precedence = "override"
SPDX-FileCopyrightText = [
"Copyright (C) 1997-2024 Sam Lantinga <[email protected]>",
"Copyright (C) 1997-2025 Sam Lantinga <[email protected]>",
"Copyright 2023 Collabora Ltd.",
]
SPDX-License-Identifier = "Zlib"
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

const std = @import("std");

pub const version: std.SemanticVersion = .{ .major = 3, .minor = 1, .patch = 10 };
pub const version: std.SemanticVersion = .{ .major = 3, .minor = 2, .patch = 0 };
const formatted_version = std.fmt.comptimePrint("SDL-{}", .{version});
pub const vendor_info = "https://github.com/castholm/SDL 0.1.2";
pub const vendor_info = "https://github.com/castholm/SDL 0.1.3";
pub const revision = formatted_version ++ " (" ++ vendor_info ++ ")";

pub fn build(b: *std.Build) void {
Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

.{
.name = "sdl",
.version = "0.1.2+SDL-3.1.10",
.version = "0.1.3+SDL-3.2.0",
.minimum_zig_version = "0.12.1",
.dependencies = .{
.sdl_linux_deps = .{
Expand Down

0 comments on commit 9089900

Please sign in to comment.