Commit Graph

12 Commits

Author SHA1 Message Date
chausner
824fbe62f6
[soxr] Add features, fix VCRT runtime linkage (#20797)
* Add features lsr-bindings and openmp to soxr, set BUILD_SHARED_RUNTIME

* Update git-tree hash

* Convert tabs to spaces

* Update git-tree hash

* Use string(COMPARE

* Update git-tree hash

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-10-19 18:29:10 -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
Matthias C. M. Troffaes
7f471eaf73
[soxr] remove doc files from install (#13480) 2020-09-11 12:21:38 -07:00
Jack·Boos·Yu
a0e0c57f86
[vcpkg] Add vcpkg_from_sourceforge (1/2) (#11899) 2020-06-26 15:06:30 -07:00
grdowns
65d807be57 Rename patch file 2019-07-01 12:42:53 -07:00
grdowns
dbeae6f05c Clean up comments and whitespace 2019-07-01 12:41:26 -07:00
Thijs Withaar
0550221978 [soxr]: define arm on windows 2019-06-27 18:41:28 +02:00
Thijs Withaar
f884a9e2ea [soxr] patch potentially uninitialized variable, remove build warning 2019-06-27 18:41:28 +02:00
Thijs Withaar
93b9320fe4 [soxr] skip examples 2019-06-27 18:41:28 +02:00
Thijs Withaar
f4993def21 [soxr] Fix macos build: remove share 2019-06-27 18:41:28 +02:00
Thijs Withaar
60b96c3d0c [soxr] Set Cmake options through portfile.cmake rather than a patch. 2019-06-27 18:41:28 +02:00
Thijs Withaar
f362309178 [soxr] initial commit 2019-06-27 18:41:28 +02:00