diff options
| author | Chuck Walbourn <walbourn@users.noreply.github.com> | 2021-06-11 10:02:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-11 10:02:03 -0700 |
| commit | 92b42c4c680defe94f1665a847d04ded890f372e (patch) | |
| tree | f115f62c8e39997e624f9b477374127f6a03df92 /ports/directxtk | |
| parent | b598c70a6c3e533200395d775dec088463393a06 (diff) | |
| download | vcpkg-92b42c4c680defe94f1665a847d04ded890f372e.tar.gz vcpkg-92b42c4c680defe94f1665a847d04ded890f372e.zip | |
[directxtk, directxtk12, directxmesh, directxtex, uvatlas] ports updated for June 2021 releases (#18366)
* [directxtk, directxtk12, directxmesh, directxtex, uvatlas] ports updated for June 2021 release
* added versions
Diffstat (limited to 'ports/directxtk')
| -rw-r--r-- | ports/directxtk/CONTROL | 12 | ||||
| -rw-r--r-- | ports/directxtk/portfile.cmake | 21 | ||||
| -rw-r--r-- | ports/directxtk/vcpkg.json | 29 |
3 files changed, 40 insertions, 22 deletions
diff --git a/ports/directxtk/CONTROL b/ports/directxtk/CONTROL deleted file mode 100644 index 8ef3b1f3d..000000000 --- a/ports/directxtk/CONTROL +++ /dev/null @@ -1,12 +0,0 @@ -Source: directxtk -Version: apr2021 -Homepage: https://github.com/microsoft/DirectXTK -Description: A collection of helper classes for writing DirectX 11.x code in C++. -Build-Depends: directxmath -Supports: windows - -Feature: xaudio2-9 -Description: Build with XAudio 2.9 support for Windows 10 - -Feature: xaudio2-8 -Description: Build with XAudio 2.8 support for Windows 8.x or later diff --git a/ports/directxtk/portfile.cmake b/ports/directxtk/portfile.cmake index 56d88087a..466a4d37e 100644 --- a/ports/directxtk/portfile.cmake +++ b/ports/directxtk/portfile.cmake @@ -5,8 +5,8 @@ vcpkg_fail_port_install(ON_TARGET "OSX" "Linux") vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO Microsoft/DirectXTK - REF apr2021 - SHA512 d64b5a6c39e9ecc4609a1db4c3121880b4e40431ec2e785aefff8e11615444485b0ffa68169cff6a5dda52f38bb2ce22161644e5fa4b757b9a84e682a458f846 + REF jun2021 + SHA512 df15d20c3ab586e4f08b92a30d82f277e966aaa2555fa6161a6fb2308e65d79fdb3c65518f150fb08c31902d929aa01369dc8a852d2be31d30ecdf9253898fe0 HEAD_REF master ) @@ -15,6 +15,7 @@ vcpkg_check_features( FEATURES xaudio2-9 BUILD_XAUDIO_WIN10 xaudio2-8 BUILD_XAUDIO_WIN8 + xaudio2redist BUILD_XAUDIO_WIN7 ) if(VCPKG_TARGET_IS_UWP) @@ -35,16 +36,16 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH cmake) if((VCPKG_HOST_IS_WINDOWS) AND (VCPKG_TARGET_ARCHITECTURE MATCHES x64)) vcpkg_download_distfile( MAKESPRITEFONT_EXE - URLS "https://github.com/Microsoft/DirectXTK/releases/download/apr2021/MakeSpriteFont.exe" - FILENAME "makespritefont-apr2021.exe" - SHA512 f958dc0a88ff931182914ebb4b935d4ed71297d59a61fb70dbf7769d22350abc712acfdbbfbba658781600c83ac7e390eac0663ade747f749194addd209c5bfa + URLS "https://github.com/Microsoft/DirectXTK/releases/download/jun2021/MakeSpriteFont.exe" + FILENAME "makespritefont-jun2021.exe" + SHA512 4618090f65332c64cb5601a7095c60c87a3a41e9c030d7422d36f14b04dcd80c7aa26438733b892f91daf19fadd44591a814b77c3ca04590ad6c61ecbe909a65 ) vcpkg_download_distfile( XWBTOOL_EXE - URLS "https://github.com/Microsoft/DirectXTK/releases/download/apr2021/XWBTool.exe" - FILENAME "xwbtool-apr2021.exe" - SHA512 8918fe7f5c996a54c6a5032115c9b82c6fe9b61688da3cde11c0282061c17a829639b219b8ff5ac623986507338c927eb926f2c42ba3c98563dfe7e162e22305 + URLS "https://github.com/Microsoft/DirectXTK/releases/download/jun2021/XWBTool.exe" + FILENAME "xwbtool-jun2021.exe" + SHA512 dc74081b9569a9ca736984d8da1a5b2dc852f85d07a629d6e0ef7f2b4313987ec82d2ff1e0cfa19a89c7387182644869ac2a8f842d30609d88ccae7c01ce3f80 ) file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/directxtk/") @@ -54,8 +55,8 @@ if((VCPKG_HOST_IS_WINDOWS) AND (VCPKG_TARGET_ARCHITECTURE MATCHES x64)) ${XWBTOOL_EXE} DESTINATION ${CURRENT_PACKAGES_DIR}/tools/directxtk/) - file(RENAME ${CURRENT_PACKAGES_DIR}/tools/directxtk/makespritefont-apr2021.exe ${CURRENT_PACKAGES_DIR}/tools/directxtk/makespritefont.exe) - file(RENAME ${CURRENT_PACKAGES_DIR}/tools/directxtk/xwbtool-apr2021.exe ${CURRENT_PACKAGES_DIR}/tools/directxtk/xwbtool.exe) + file(RENAME ${CURRENT_PACKAGES_DIR}/tools/directxtk/makespritefont-jun2021.exe ${CURRENT_PACKAGES_DIR}/tools/directxtk/makespritefont.exe) + file(RENAME ${CURRENT_PACKAGES_DIR}/tools/directxtk/xwbtool-jun2021.exe ${CURRENT_PACKAGES_DIR}/tools/directxtk/xwbtool.exe) elseif(NOT VCPKG_TARGET_IS_UWP) diff --git a/ports/directxtk/vcpkg.json b/ports/directxtk/vcpkg.json new file mode 100644 index 000000000..2a484ac3f --- /dev/null +++ b/ports/directxtk/vcpkg.json @@ -0,0 +1,29 @@ +{ + "name": "directxtk", + "version-string": "jun2021", + "description": "A collection of helper classes for writing DirectX 11.x code in C++.", + "homepage": "http://go.microsoft.com/fwlink/?LinkId=248929", + "documentation": "https://github.com/microsoft/DirectXTK/wiki", + "license": "MIT", + "supports": "windows", + "dependencies": [ + "directxmath" + ], + "features": { + "xaudio2-8": { + "description": "Build with XAudio 2.8 support for Windows 8.x or later" + }, + "xaudio2-9": { + "description": "Build with XAudio 2.9 support for Windows 10" + }, + "xaudio2redist": { + "description": "Build with XAudio2Redist support for Windows 7 SP1 or later", + "dependencies": [ + { + "name": "xaudio2redist", + "platform": "!uwp & !arm" + } + ] + } + } +} |
