Skip to content

Commit

Permalink
[xaudio2redist] port updated to version 1.2.9 (microsoft#25060)
Browse files Browse the repository at this point in the history
* [xaudio2redist] port updated to version 1.2.9

* Update baseline

* Minor code review

* Update baseline'

* Update ports/xaudio2redist/portfile.cmake

Co-authored-by: JonLiu1993 <[email protected]>

* Update baseline

* revert portfile.cmake

* update version

* replace deprecated vcpkg_extract_source_archive_ex with second overload of vcpkg_extract_source_archive

* Update baselne

Co-authored-by: JonLiu1993 <[email protected]>
Co-authored-by: Jonliu1993 <[email protected]>
  • Loading branch information
3 people authored Jun 6, 2022
1 parent 57ef47d commit bc194f0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
12 changes: 7 additions & 5 deletions ports/xaudio2redist/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)

set(XAUDIO2REDIST_VERSION 1.2.9)

vcpkg_download_distfile(ARCHIVE
URLS "https://www.nuget.org/api/v2/package/Microsoft.XAudio2.Redist/1.2.8"
FILENAME "xaudio2redist.1.2.8.zip"
SHA512 509b2783457b86ed1878fd4e14a01fa7288591925a2bb3cad4d68afd597fbff1f1349b619dad628b5d685169825a775120e1611559e9097837cff0fb6d39acf0
URLS "https://www.nuget.org/api/v2/package/Microsoft.XAudio2.Redist/${XAUDIO2REDIST_VERSION}"
FILENAME "xaudio2redist.${XAUDIO2REDIST_VERSION}.zip"
SHA512 c3b37640fb871523a63cd227653d8d972dd95d6e12ccf2f28c434f51bb77011c821a0cd5ae2a9fa311f005a0083798a3218a98c0a9db5db094a5ef54bb960675
)

vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH PACKAGE_PATH
vcpkg_extract_source_archive(
PACKAGE_PATH
ARCHIVE ${ARCHIVE}
NO_REMOVE_ONE_LEVEL
)
Expand Down
4 changes: 2 additions & 2 deletions ports/xaudio2redist/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "xaudio2redist",
"version": "1.2.8",
"port-version": 3,
"version": "1.2.9",
"description": "Redistributable version of XAudio 2.9 for Windows 7 SP1 or later",
"homepage": "https://aka.ms/XAudio2Redist",
"documentation": "https://aka.ms/XAudio2Redist",
"license": null,
"supports": "windows & !arm & !uwp & !staticcrt"
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7605,8 +7605,8 @@
"port-version": 1
},
"xaudio2redist": {
"baseline": "1.2.8",
"port-version": 3
"baseline": "1.2.9",
"port-version": 0
},
"xbyak": {
"baseline": "6.00",
Expand Down
5 changes: 5 additions & 0 deletions versions/x-/xaudio2redist.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "49a7df46ef685eea76f3775dfebc458117e6c33c",
"version": "1.2.9",
"port-version": 0
},
{
"git-tree": "fe3229572bacd0c7076a7a4d710f96e6b3a66a3f",
"version": "1.2.8",
Expand Down

0 comments on commit bc194f0

Please sign in to comment.