From 9860fa9f619ce01db0efcf16e465aeeef2de0866 Mon Sep 17 00:00:00 2001
From: Alam Ed Arias <alam@srb2.org>
Date: Sun, 2 Mar 2025 18:20:43 -0500
Subject: [PATCH] vcpkg: wasm build check

---
 vcpkg.json | 40 +++++++++++++++++++++++++++++-----------
 1 file changed, 29 insertions(+), 11 deletions(-)

diff --git a/vcpkg.json b/vcpkg.json
index dd714dc65e..ab936993e6 100644
--- a/vcpkg.json
+++ b/vcpkg.json
@@ -6,10 +6,13 @@
   "dependencies": [
     {
       "name": "curl",
-      "platform": "!(osx & !native)"
+      "platform": "!wasm32"
     },
     "libgme",
-    "libopenmpt",
+    {
+      "name":"libopenmpt",
+      "platform": "!wasm32"
+    },
     "libpng",
     "miniupnpc",
     {
@@ -25,26 +28,41 @@
           "platform": "!windows"
         }
       ],
-      "platform": "!(osx & !native)",
-      "version>=": "2.30.7"
+      "platform": "!wasm32",
+      "version>=": "2.30.6#2"
     },
     {
       "name": "sdl2-mixer-ext",
       "features": [
         "ffmpeg",
-        "fluidsynth",
-        "libflac",
+        {
+          "name":"fluidsynth",
+          "platform": "!wasm32"
+        },
+        {
+          "name":"libflac",
+          "platform": "!wasm32"
+        },
         "libgme",
         "libmodplug",
-        "libvorbis",
+        {
+          "name":"libvorbis",
+          "platform": "!wasm32"
+        },
         "libxmp",
-        "mpg123",
-        "opusfile",
+        {
+          "name":"mpg123",
+          "platform": "!wasm32"
+        },
+        {
+          "name":"opusfile",
+          "platform": "!wasm32"
+        },
         "pxtone",
         "timidity"
       ],
-      "platform": "!(osx & !native)",
-      "version>=": "2.6.0"
+      "platform": "!wasm32",
+      "version>=": "2.6.0#0"
     },
     "zlib"
   ]
-- 
GitLab