r00tz 52be880543
vulcan: Add VULKAN_SDK var (#1414)
* Added VULKAN_SDK path

I am not sure if this is the best method but VULKAN_SDK path should be automatically added so that any tools looking for Vulkan can do so with ease :)

normally something like this works [Environment]::SetEnvironmentVariable("VULKAN_SDK", "$env:USERPROFILE/scoop/apps/vulkan/current/", "Machine")
assuming scoop is in userprofile and not elsewhere.

* Update vulkan.json

* Fix json typo

Co-authored-by: Ross Smith II <ross@smithii.com>
2020-09-27 06:31:20 -07:00

45 lines
1.5 KiB
JSON

{
"version": "1.2.148.1",
"description": "SDK for new generation graphics and compute API",
"homepage": "https://www.khronos.org/vulkan/",
"license": {
"identifier": "MIT,...",
"url": "https://vulkan.lunarg.com/license/#/license"
},
"notes": [
"Make sure you have the vulkan driver installed.",
"Variety of drivers of different graphic card vendors could be found at the bottom of 'https://www.khronos.org/vulkan/'"
],
"url": "https://sdk.lunarg.com/sdk/download/1.2.148.1/windows/VulkanSDK-1.2.148.1-Installer.exe#/dl.7z",
"hash": "5dbeafbc75c334811720fb50bd6ed7c9afd42afd31cad6be0b84cd8383aa9472",
"pre_install": "Remove-Item \"$dir\\`$*\", \"$dir\\Uninstal*\" -Recurse",
"architecture": {
"64bit": {
"env_add_path": [
"Bin",
"Tools"
]
},
"32bit": {
"env_add_path": [
"Bin32",
"Tools32"
]
}
},
"env_set": {
"VULKAN_SDK": "$persist_dir\\scoop\\apps\\vulkan\\current"
},
"checkver": {
"url": "https://vulkan.lunarg.com/sdk/home.dhtml",
"regex": "/VulkanSDK-([\\d.]+)-Installer\\.exe"
},
"autoupdate": {
"url": "https://sdk.lunarg.com/sdk/download/$version/windows/VulkanSDK-$version-Installer.exe#/dl.7z",
"hash": {
"url": "https://vulkan.lunarg.com/sdk/home.dhtml",
"regex": "(?sm)$basename.*?>$sha256</"
}
}
}