{
  "name": "SDL3_net",
  "remote": "libsdl-org/SDL_net",
  "dependencies": {
    "SDL": {
      "startswith": "3.",
      "repo": "libsdl-org/SDL"
    }
  },
  "version": {
    "file": "include/SDL3_net/SDL_net.h",
    "re_major": "^#define SDL_NET_MAJOR_VERSION\\s+([0-9]+)$",
    "re_minor": "^#define SDL_NET_MINOR_VERSION\\s+([0-9]+)$",
    "re_micro": "^#define SDL_NET_MICRO_VERSION\\s+([0-9]+)$"
  },
  "source": {
    "checks": [
      "src/SDL_net.c",
      "include/SDL3_net/SDL_net.h",
      "examples/voipchat.c"
    ]
  },
  "dmg": {
    "project": "Xcode/SDL_net.xcodeproj",
    "path": "Xcode/build/SDL3_net.dmg",
    "scheme": "SDL3_net.dmg",
    "dependencies": {
      "SDL": {
        "artifact": "SDL3-*.dmg"
      }
    }
  },
  "mingw": {
    "cmake": {
      "archs": ["x86", "x64"],
      "args": [
        "-DBUILD_SHARED_LIBS=ON",
        "-DSDLNET_RELOCATABLE=ON",
        "-DSDLNET_SAMPLES=OFF",
        "-DSDLNET_INSTALL=ON",
        "-DSDLNET_INSTALL_MAN=OFF"
      ],
      "shared-static": "args"
    },
    "files": {
      "": [
        "LICENSE.txt",
        "README.md",
        "build-scripts/pkg-support/mingw/Makefile"
      ],
      "cmake": [
        "build-scripts/pkg-support/mingw/cmake/SDL3_netConfig.cmake",
        "build-scripts/pkg-support/mingw/cmake/SDL3_netConfigVersion.cmake"
      ]
    },
    "dependencies": {
      "SDL": {
        "artifact": "SDL3-devel-*-mingw.tar.gz",
        "install-command": "make install-@<@ARCH@>@ DESTDIR=@<@PREFIX@>@"
      }
    }
  },
  "msvc": {
    "msbuild": {
      "archs": [
        "x86",
        "x64"
      ],
      "projects": [
        "VisualC/SDL_net.vcxproj"
      ],
      "files-lib": {
        "": [
          "VisualC/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3_net.dll"
        ]
      },
      "files-devel": {
        "lib/@<@ARCH@>@": [
          "VisualC/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3_net.dll",
          "VisualC/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3_net.lib",
          "VisualC/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3_net.pdb"
        ]
      }
    },
    "cmake": {
      "archs": [
        "arm64"
      ],
      "args": [
        "-DBUILD_SHARED_LIBS=ON",
        "-DSDLNET_RELOCATABLE=ON",
        "-DSDLNET_SAMPLES=OFF",
        "-DSDLNET_INSTALL=ON",
        "-DSDLNET_INSTALL_MAN=OFF"
      ],
      "files-lib": {
        "": [
          "bin/SDL3_net.dll"
        ]
      },
      "files-devel": {
        "lib/@<@ARCH@>@": [
          "bin/SDL3_net.dll",
          "bin/SDL3_net.pdb",
          "lib/SDL3_net.lib"
        ]
      }
    },
    "files-lib": {
      "": [
        "README.md"
      ]
    },
    "files-devel": {
      "": [
        "LICENSE.txt",
        "README.md"
      ],
      "cmake": [
        "build-scripts/pkg-support/msvc/cmake/SDL3_netConfig.cmake.in:SDL3_netConfig.cmake",
        "build-scripts/pkg-support/msvc/cmake/SDL3_netConfigVersion.cmake.in:SDL3_netConvigVersion.cmake",
        "cmake/sdlcpu.cmake"
      ],
      "include/SDL3_net": [
          "include/SDL3_net/SDL_net.h"
      ]
    },
    "dependencies": {
      "SDL": {
        "artifact": "SDL3-devel-*-VC.zip",
        "copy": [
          {
            "src": "lib/@<@ARCH@>@/SDL3.*",
            "dst": "../SDL/VisualC/@<@PLATFORM@>@/@<@CONFIGURATION@>@"
          },
          {
            "src": "include/SDL3/*",
            "dst": "../SDL/include/SDL3"
          }
        ]
      }
    }
  },
  "android": {
    "cmake": {
      "args": [
        "-DBUILD_SHARED_LIBS=ON",
        "-DSDLNET_SAMPLES=OFF",
        "-DSDLNET_INSTALL=ON",
        "-DSDLNET_INSTALL_MAN=OFF"
      ]
    },
    "modules": {
      "SDL3_net-shared": {
        "type": "library",
        "library": "lib/libSDL3_net.so",
        "includes": {
          "SDL3_net": ["include/SDL3_net/*.h"]
        }
      },
      "SDL3_net": {
        "type": "interface",
        "export-libraries": [":SDL3_net-shared"]
      }
    },
    "abis": [
      "armeabi-v7a",
      "arm64-v8a",
      "x86",
      "x86_64"
    ],
    "api-minimum": 19,
    "api-target": 29,
    "ndk-minimum": 28,
    "aar-files": {
      "": [
        "build-scripts/pkg-support/android/aar/__main__.py.in:__main__.py",
        "build-scripts/pkg-support/android/aar/description.json.in:description.json"
      ],
      "META-INF": [
        "LICENSE.txt"
      ],
      "cmake": [
        "cmake/sdlcpu.cmake",
        "build-scripts/pkg-support/android/aar/cmake/SDL3_netConfig.cmake",
        "build-scripts/pkg-support/android/aar/cmake/SDL3_netConfigVersion.cmake.in:SDL3_netConfigVersion.cmake"
      ]
    },
    "files": {
      "": [
        "build-scripts/pkg-support/android/README.md.in:README.md"
      ]
    },
    "dependencies": {
      "SDL": {
        "artifact": "SDL3-devel-*-android.zip"
      }
    }
  }
}
