{
    "version": "15.1.0-12.0.0-r1",
    "description": "GNU Compiler Collection (UCRT, MCF threads, WinLibs build)",
    "homepage": "https://winlibs.com",
    "license": "GPL-3.0-or-later,ZPL-2.1,BSD-2-Clause,...",
    "architecture": {
        "64bit": {
            "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/15.1.0mcf-12.0.0-ucrt-r1/winlibs-x86_64-mcf-seh-gcc-15.1.0-mingw-w64ucrt-12.0.0-r1.7z",
            "hash": "091bd9c11ea0cc3afe3df29d000aa5385a1e576bb1a202165a00a5e1e5518076",
            "extract_dir": "mingw64"
        },
        "32bit": {
            "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/15.1.0mcf-12.0.0-ucrt-r1/winlibs-i686-mcf-dwarf-gcc-15.1.0-mingw-w64ucrt-12.0.0-r1.7z",
            "hash": "7723024d6bf120bf1dffcfd2acb3571fc31d7fd5e7a909b7a6501035f57b9957",
            "extract_dir": "mingw32"
        }
    },
    "post_install": "Copy-Item \"$dir\\bin\\mingw32-make.exe\" \"$dir\\bin\\make.exe\"",
    "env_add_path": "bin",
    "checkver": {
        "regex": "(?<gcc>[\\d.]+)mcf-(?<mingw>[\\d.]+)-ucrt-r(?<release>\\d+)",
        "replace": "${gcc}-${mingw}-r${release}"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/$matchGccmcf-$matchMingw-ucrt-r$matchRelease/winlibs-x86_64-mcf-seh-gcc-$matchGcc-mingw-w64ucrt-$matchMingw-r$matchRelease.7z"
            },
            "32bit": {
                "url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/$matchGccmcf-$matchMingw-ucrt-r$matchRelease/winlibs-i686-mcf-dwarf-gcc-$matchGcc-mingw-w64ucrt-$matchMingw-r$matchRelease.7z"
            }
        },
        "hash": {
            "url": "$url.sha256"
        }
    }
}
