aboutsummaryrefslogtreecommitdiff
path: root/ports/discord-game-sdk
AgeCommit message (Collapse)Author
2021-09-17[discord-game-sdk] use updated domain name (#20153)J-Human
* [discord-game-sdk] use updated domain name for copyright notice * [discord-game-sdk] use new domain name for JSON data * [discord-game-sdk] update version sha * [discord-game-sdk] update JSON field and port version * [discord-game-sdk] update versions * [discord-game-sdk] update port git tree sha * [discord-game-sdk] remove unneeded version increment * [discord-game-sdk] remove the other commit sha Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-09-09Bulk convert control files. (#19986)Billy O'Neal
``` function Convert-Control { Param($full) .\vcpkg.exe format-manifest $full $root = $full.Substring(0, $full.Length - 7) # CONTROL $new = $root + 'vcpkg.json' $content = Get-Content -Raw $new $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100 $oldVersion = $asJson['port-version'] if ($null -eq $oldVersion) { $oldVersionFull = $asJson['version-string'] Write-Host "Got version $oldVersionFull" $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$') if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) { $newFullVersion = [string]$match.Groups[1].Value $oldVersion = [int]$match.Groups[2].Value Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion" $newVersion = $oldVersion + 1 $asJson['version-string'] = $newFullVersion Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion" } else { Write-Host "No previous version for $full -- setting 1" $newVersion = 1 } } else { $newVersion = [int]$oldVersion + 1 Write-Host "New version for $full : $newVersion" } $asJson['port-version'] = $newVersion $content = ConvertTo-Json $asJson -Depth 100 Set-Content -Path $new -Value $content .\vcpkg.exe format-manifest $new } Get-ChildItem ports\CONTROL -Recurse | Foreach-Object { Convert-Control $_.FullName } git commit -am "this message" .\vcpkg.exe x-add-version -all git commit -a --amend ```
2020-06-11[discord-game-sdk] Won't compile with certain compilers (#11728)Maki
* [discord-game-sdk] Added required flag for compiling * [discord-game-sdk] Added patch for fixing cstdint issue * [discord-game-sdk] Bumped version for patch * [discord-game-sdk] Formatting Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-05-06[discord-game-sdk] new port (#10763)Charles Milette
* [discord-game-sdk] new port * [discord-game-sdk] Invert Supports field * [discord-game-sdk] Fix Supports field * [discord-game-sdk] Fix Supports field again * [discord-game-sdk] Update find_library * [discord-game-sdk] Rename LICENSE.md, remove include(vcpkg_common_functions) * [discord-game-sdk] Fix Linux build, add usage file * [discord-game-sdk] Add missing file(INSTALL) * [discord-game-sdk] Update baseline and fix macOS build * [discord-game-sdk] Specify C++ standard version * [discord-game-sdk] Remove vcpkg_copy_pdbs * [discord-game-sdk] Replace ToS text by link to online version