Commit Graph

7 Commits

Author SHA1 Message Date
L3nn0x
f2446c13a9
Update discord-game-sdk to 3.2.1 (#31495)
* Update discord version

* Update patch

* Update patch

* Update database version

* Update port version

* Run format

* Update database version

* Update database version
2023-05-18 11:26:45 -07:00
Jack·Boos·Yu
a6cb7292c4
[many ports]switch to vcpkg-cmake / vckg-cmake-config part 1 (#29880)
* [many ports]switch to vcpkg-cmake / vckg-cmake-config

* version

* Missing changes

* version

* typo

* version

* typo

* version

* fix typo

* version

* deprecate vcpkg_extract_source_archive_ex

* version

* fix arguments

* version

---------

Co-authored-by: jyu49 <yu_jack@apple.com>
2023-03-06 15:44:04 -08:00
Billy O'Neal
c9e786d81a
[many ports] remove remaining vcpkg_fail_port_install calls. (#22770)
* Bulk remove vcpkg_fail_port_install calls.

Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install",

In support of https://github.com/microsoft/vcpkg/pull/21502

* Update version database.

* Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728

* Repair version database.
2022-01-25 10:31:15 -08:00
J-Human
03b5bebb3c
[discord-game-sdk] use updated domain name (#20153)
* [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-17 08:03:41 -07:00
Billy O'Neal
b295670e4b
Bulk convert control files. (#19986)
```
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
```
2021-09-09 01:24:04 -07:00
Maki
0f161f9e12
[discord-game-sdk] Won't compile with certain compilers (#11728)
* [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-06-11 22:09:27 -07:00
Charles Milette
411929e664
[discord-game-sdk] new port (#10763)
* [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
2020-05-06 11:01:30 -07:00