direcxtsdk port updated to use MS Downloads (#16317)

* direcxtsdk port updated to use MS Downloads

* update version history

* Update ports/directxsdk/portfile.cmake

Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>

* update version record

* Minor filename change

* Update version hash

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
This commit is contained in:
Chuck Walbourn 2021-02-20 21:20:27 -08:00 committed by GitHub
parent 6582f0e0d3
commit bafa1697ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 5 deletions

View File

@ -3,9 +3,9 @@ vcpkg_fail_port_install(ON_TARGET "LINUX" "OSX" "UWP" "ANDROID" ON_ARCH "arm")
message(WARNING "Build ${PORT} is deprecated, untested in CI, and requires the use of the DirectSetup legacy REDIST solution. See https://aka.ms/dxsdk for more information.")
vcpkg_download_distfile(ARCHIVE
URLS "https://archive.org/download/dxsdk_2010/DXSDK_Jun10.exe"
FILENAME "DXSDK_Jun10.exe"
SHA512 4869ac947a35cd0d6949fbda17547256ea806fef36f48474dda63651f751583e9902641087250b6e8ccabaab85e51effccd9235dc6cdf64e21ec2b298227fe19
URLS "https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe"
FILENAME "DXSDK_Jun10_SHA256.exe"
SHA512 24e1e9bda319b780124b865f4640822cfc44e4d18fbdcc8456d48fe54081652ce4ddb63d3bd8596351057cbae50fc824b8297e99f0f7c97547153162562ba73f
)
vcpkg_extract_source_archive_ex(

View File

@ -1,7 +1,7 @@
{
"name": "directxsdk",
"version-string": "jun10",
"port-version": 1,
"port-version": 2,
"description": "Legacy DirectX SDK",
"homepage": "https://docs.microsoft.com/en-us/windows/win32/directx-sdk--august-2009-",
"supports": "windows & !windows",

View File

@ -1626,7 +1626,7 @@
},
"directxsdk": {
"baseline": "jun10",
"port-version": 1
"port-version": 2
},
"directxtex": {
"baseline": "jan2021b",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "1bc75766eb1ace518c8c85f8ffda0c627d714edd",
"version-string": "jun10",
"port-version": 2
},
{
"git-tree": "7656b85e1c390a41e14d9e5b96b1b0f093c1d1f1",
"version-string": "jun10",