From 2511312504f7a3d3f3bf9d3d0ffc9e5b43dee59a Mon Sep 17 00:00:00 2001
From: Alam Ed Arias <alam@srb2.org>
Date: Wed, 12 Feb 2025 09:06:41 -0500
Subject: [PATCH] vcpkg: testing compiling with x86-linux, x64-linux,
 arm64-linux, x86-mingw-static and x64-mingw-static

---
 vcpkg.json | 161 ++++++++++++++++++++++++++---------------------------
 1 file changed, 78 insertions(+), 83 deletions(-)

diff --git a/vcpkg.json b/vcpkg.json
index 07c4244ad3..36626c3e9d 100644
--- a/vcpkg.json
+++ b/vcpkg.json
@@ -1,85 +1,80 @@
 {
-  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
-  "name": "srb2",
-  "version": "1.0.0",
-  "builtin-baseline": "c823fd3e57035b10d970a96da2796a2db55e5df5",
-  "dependencies": [
-    "curl",
-    {
-      "name": "libgme",
-      "platform": "!(windows & mingw) & !native"
-    },
-    {
-      "name": "libopenmpt",
-      "platform": "!(windows & mingw)"
-    },
-    "libpng",
-    "miniupnpc",
-    "sdl2",
-    {
-      "name": "sdl2-mixer-ext",
-      "features": [
-        {
-          "name": "cmd",
-          "platform": "linux"
-        },
-        {
-          "name": "libflac",
-          "platform": "!(windows & mingw & !static)"
-        },
-        {
-          "name": "libgme",
-          "platform": "!(windows & mingw) & !native"
-        },
-        {
-          "name": "libmodplug",
-          "platform": "!(windows & mingw)"
-        },
-        {
-          "name": "libopnmidi",
-          "platform": "!(windows & mingw)"
-        },
-        {
-          "name": "libvorbis",
-          "platform": "!(windows & mingw & !static)"
-        },
-        {
-          "name": "libxmp",
-          "platform": "!(windows & mingw)"
-        },
-        {
-          "name": "mpg123",
-          "platform": "!(windows & mingw)"
-        },
-        {
-          "name": "nativemidi",
-          "platform": "!(windows & mingw)"
-        },
-        {
-          "name": "opusfile",
-          "platform": "!(windows & mingw)"
-        },
-        {
-          "name": "pxtone",
-          "platform": "!(windows & mingw)"
-        },
-        {
-          "name": "timidity",
-          "platform": "!(windows & mingw)"
-        },
-        {
-          "name": "wavpack",
-          "platform": "!(windows & mingw)"
-        }
-      ]
-    },
-    "zlib"
-  ],
-  "overrides": [
-    {
-      "name": "sdl2",
-      "version": "2.28.5",
-      "port-version": 1
-    }
-  ]
+	"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
+	"name": "srb2",
+	"version": "1.0.0",
+	"dependencies": [
+		{
+			"name": "zlib"
+		},
+		{
+			"name": "libpng"
+		},
+		{
+			"name": "curl",
+			"platform": "!(osx & !native)"
+		},
+		{
+			"name": "libopenmpt"
+		},
+		{
+			"name": "libgme"
+		},
+		{
+			"name": "miniupnpc"
+		},
+		{
+			"name": "sdl2",
+			"default-features": false,
+			"features": [
+				{
+					"name": "wayland",
+					"platform": "linux"
+				},
+				{
+					"name": "x11",
+					"platform": "!windows"
+				}
+			]
+		},
+		{
+			"name": "sdl2-mixer-ext",
+			"default-features": true,
+			"features": [
+				{
+					"name": "ffmpeg"
+				},
+				{
+					"name": "fluidsynth",
+					"platform": "!(osx & !native)"
+				},
+				{
+					"name": "libflac"
+				},
+				{
+					"name": "libgme"
+				},
+				{
+					"name": "libmodplug"
+				},
+				{
+					"name": "libvorbis"
+				},
+				{
+					"name": "libxmp"
+				},
+				{
+					"name": "mpg123"
+				},
+				{
+					"name": "opusfile"
+				},
+				{
+					"name": "pxtone"
+				},
+				{
+					"name": "timidity"
+				}
+			]
+		}
+	]
 }
-- 
GitLab