chore: proper name for WinLibs distro (#2996)

* chore: proper name for WinLibs distro

* mingw: Add version 8.1.0

* Rename mingw.json to gcc.json

* Rename winlibs-mingw.json to mingw-winlibs.json

* Update notes as per @issaclin32's suggestion
This commit is contained in:
Rashil Gandhi 2021-11-23 21:25:28 +05:30 committed by GitHub
parent 172d7e32a0
commit f663e8894b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 57 additions and 16 deletions

View File

@ -1,37 +1,41 @@
{
"version": "11.2.0-9.0.0-r3",
"description": "GNU Compiler Collection (WinLibs build)",
"homepage": "https://winlibs.com",
"license": "GPL-3.0-or-later,ZPL-2.1,BSD-2-Clause,...",
"version": "8.1.0",
"description": "Minimalistic GNU for Windows is a runtime environment for GCC, GDB, make and related binutils.",
"homepage": "https://www.mingw-w64.org",
"license": "ZPL-2.1",
"architecture": {
"64bit": {
"url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/11.2.0-13.0.0-9.0.0-msvcrt-r3/winlibs-x86_64-posix-seh-gcc-11.2.0-mingw-w64-9.0.0-r3.7z",
"hash": "sha512:ce199913b462532905c8844978cabf1c961e2bd9b04b0f858e6ecf351974c3c1b6b67b8c8ee96437ca2ae25474b16023352f3ddfbdf1dda88407f7f0f4f747b0",
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z",
"hash": "853970527b5de4a55ec8ca4d3fd732c00ae1c69974cc930c82604396d43e79f8",
"extract_dir": "mingw64"
},
"32bit": {
"url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/11.2.0-13.0.0-9.0.0-msvcrt-r3/winlibs-i686-posix-dwarf-gcc-11.2.0-mingw-w64-9.0.0-r3.7z",
"hash": "sha512:c56bdcb93948adb0aa6b6b321d49ef6cee3a7e3f63610ce114c594671b3ebfdfc3c0db4bb802ea0f3de4724d2428b1d0f91624dd7d8026e993c40e6033aae570",
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-posix/dwarf/i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z",
"hash": "adb84b70094c0225dd30187ff995e311d19424b1eb8f60934c60e4903297f946",
"extract_dir": "mingw32"
}
},
"post_install": "Copy-Item \"$dir\\bin\\mingw32-make.exe\" \"$dir\\bin\\make.exe\"",
"env_add_path": "bin",
"checkver": {
"regex": "GCC ([\\d.]+).*?LLVM.*?([\\d.]+).*?MinGW\\-w64 ([\\d.]+).*?MSVCRT.*?release ([\\d.]+).*?LATEST",
"replace": "${1}-${3}-r${4}"
"url": "https://sourceforge.net/projects/mingw-w64/files/",
"regex": "<h1>MinGW-W64 GCC-([\\d.]+)</h1>"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/$match1-$match2-$match3-msvcrt-r$match4/winlibs-x86_64-posix-seh-gcc-$match1-mingw-w64-$match3-r$match4.7z"
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/$version/threads-posix/seh/x86_64-$version-release-posix-seh-rt_v6-rev0.7z"
},
"32bit": {
"url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/$match1-$match2-$match3-msvcrt-r$match4/winlibs-i686-posix-dwarf-gcc-$match1-mingw-w64-$match3-r$match4.7z"
"url": "https://downloads.sourceforge.net/project/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/$version/threads-posix/dwarf/i686-$version-release-posix-dwarf-rt_v6-rev0.7z"
}
},
"hash": {
"url": "$url.sha512"
}
}
},
"notes": [
"- Along with GCC, this package also contains GDB, make and related binutils.",
" Hence it is not recommended to install these from other manifests/sources.",
"- You are installing the Mingw-w64 implementation of GCC.",
" This implementation has a better compatibility, but may not support newer C/C++ standards.",
" For more recent GCC versions, try 'mingw-winlibs' or 'mingw-nuwen'."
]
}

37
bucket/mingw-winlibs.json Normal file
View File

@ -0,0 +1,37 @@
{
"version": "11.2.0-9.0.0-r3",
"description": "GNU Compiler Collection (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/11.2.0-13.0.0-9.0.0-msvcrt-r3/winlibs-x86_64-posix-seh-gcc-11.2.0-mingw-w64-9.0.0-r3.7z",
"hash": "sha512:ce199913b462532905c8844978cabf1c961e2bd9b04b0f858e6ecf351974c3c1b6b67b8c8ee96437ca2ae25474b16023352f3ddfbdf1dda88407f7f0f4f747b0",
"extract_dir": "mingw64"
},
"32bit": {
"url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/11.2.0-13.0.0-9.0.0-msvcrt-r3/winlibs-i686-posix-dwarf-gcc-11.2.0-mingw-w64-9.0.0-r3.7z",
"hash": "sha512:c56bdcb93948adb0aa6b6b321d49ef6cee3a7e3f63610ce114c594671b3ebfdfc3c0db4bb802ea0f3de4724d2428b1d0f91624dd7d8026e993c40e6033aae570",
"extract_dir": "mingw32"
}
},
"post_install": "Copy-Item \"$dir\\bin\\mingw32-make.exe\" \"$dir\\bin\\make.exe\"",
"env_add_path": "bin",
"checkver": {
"regex": "GCC ([\\d.]+).*?LLVM.*?([\\d.]+).*?MinGW\\-w64 ([\\d.]+).*?MSVCRT.*?release ([\\d.]+).*?LATEST",
"replace": "${1}-${3}-r${4}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/$match1-$match2-$match3-msvcrt-r$match4/winlibs-x86_64-posix-seh-gcc-$match1-mingw-w64-$match3-r$match4.7z"
},
"32bit": {
"url": "https://github.com/brechtsanders/winlibs_mingw/releases/download/$match1-$match2-$match3-msvcrt-r$match4/winlibs-i686-posix-dwarf-gcc-$match1-mingw-w64-$match3-r$match4.7z"
}
},
"hash": {
"url": "$url.sha512"
}
}
}