Commit Graph

8 Commits

Author SHA1 Message Date
Ada Tufankjian
049b674eab
[meshoptimizer] Updating to version 0.21 (#40713) 2024-08-31 23:04:17 -07:00
Bruce Mitchener
441105e451
[meshoptimizer] Update to 0.20 (#35953) 2024-01-02 14:34:38 -08:00
autoantwort
a6de4e4697
[meshoptimizer] gltfpack no uwp (#33776) 2023-09-18 09:57:10 -07:00
Ada Tufankjian
61540c40a6
Updating meshoptimizer to 0.19 (#33451) 2023-08-31 12:57:05 -07:00
Arsen Tufankjian
7e7c62d863
[meshoptimizer] Add basisu support to gltfpack (#27532)
* Updating meshoptimizer port to add basisu support to gltfpack

* Updating version

* Using proper gltfpack branch for v0.18

* Updating version

* Adding patch to fix x86-windows

* Updating version
2022-11-09 13:54:53 -08:00
Arsen Tufankjian
da212216c9
[meshoptimizer] Updating to 0.18 and adding gltfpack feature (#27266)
* Updating meshoptimizer and adding optional feature to build gltfpack

* Updating version

* Adding license to meshoptimizer

* Updating version
2022-10-18 18:31:02 -07:00
chausner
39ed6e65af
[meshoptimizer] Update to 0.16 (#20395)
* Update meshoptimizer to 0.16

* Update CI baseline

* Address PR feedback

* Update git-tree hash

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-29 08:36:24 -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