From 22c304cf922ea5a94b8d3ab692ac5c3942d3f080 Mon Sep 17 00:00:00 2001 From: Jonliu1993 <13720414433@163.com> Date: Wed, 1 Jun 2022 16:12:20 +0800 Subject: [PATCH 1/2] [SDL] enable hidapi --- ports/sdl2/portfile.cmake | 1 + ports/sdl2/vcpkg.json | 1 + 2 files changed, 2 insertions(+) diff --git a/ports/sdl2/portfile.cmake b/ports/sdl2/portfile.cmake index 3eaca1dec0453c..489ee17b14aa61 100644 --- a/ports/sdl2/portfile.cmake +++ b/ports/sdl2/portfile.cmake @@ -38,6 +38,7 @@ vcpkg_cmake_configure( -DSDL_SHARED=${SDL_SHARED} -DSDL_FORCE_STATIC_VCRT=${FORCE_STATIC_VCRT} -DSDL_LIBC=ON + -DSDL_HIDAPI_JOYSTICK=ON ) vcpkg_cmake_install() diff --git a/ports/sdl2/vcpkg.json b/ports/sdl2/vcpkg.json index 3e7fce247a30b5..660cbe9e1714c7 100644 --- a/ports/sdl2/vcpkg.json +++ b/ports/sdl2/vcpkg.json @@ -1,6 +1,7 @@ { "name": "sdl2", "version": "2.0.22", + "port-version": 1, "description": "Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.", "homepage": "https://www.libsdl.org/download-2.0.php", "license": "Zlib", From aff5adbcc8178921fe885c8329020d50e68dd143 Mon Sep 17 00:00:00 2001 From: FrankXie Date: Wed, 1 Jun 2022 01:29:31 -0700 Subject: [PATCH 2/2] update version --- versions/baseline.json | 2 +- versions/s-/sdl2.json | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/versions/baseline.json b/versions/baseline.json index 17f604404b049f..dd1f46a9b4f229 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6406,7 +6406,7 @@ }, "sdl2": { "baseline": "2.0.22", - "port-version": 0 + "port-version": 1 }, "sdl2-gfx": { "baseline": "1.0.4", diff --git a/versions/s-/sdl2.json b/versions/s-/sdl2.json index 17383fd1719fc1..2d5eb6aa4acf46 100644 --- a/versions/s-/sdl2.json +++ b/versions/s-/sdl2.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "879012d1bbd3ae67fc697109eedbe6ff713c2c34", + "version": "2.0.22", + "port-version": 1 + }, { "git-tree": "6d875fe2feac0480f61fcf890136e045c12429f1", "version": "2.0.22",