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 |
|
Hanseul Jun
|
32eccc1819
|
[opus] Fix for arm64-ios (#13568)
* Add SYSTEM_LIBRARIES m to vcpkg_fixup_pkgconfig() in opus/portfile.cmake.
* [opus] Update CONTROL
Co-authored-by: wangli28 <wangli28@beyondsoft.com>
|
2020-09-17 13:28:52 -07:00 |
|
Long Nguyen
|
d355b3fae0
|
[many ports] Fix various problems with mingw (#12886)
|
2020-08-21 17:45:42 -07:00 |
|
Matthew Oliver
|
272269583c
|
[ffmpeg] Add feature support for zlib, iconv, fdk-aac, mp3lame, opus, soxr, theora. (#11277)
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
|
2020-08-18 12:58:14 -07:00 |
|
evpobr
|
a64cf52dd5
|
[opus] Update port to 1.3.1-2 (#11279)
Adds `include/opus` to interface directories for compatibility.
|
2020-05-11 15:57:17 -07:00 |
|
Gabriel
|
f4759a6ded
|
[opus] Make AVX an optional feature (#10634)
|
2020-04-03 10:17:41 -07:00 |
|
pravic
|
18b029a5e3
|
[WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
|
2019-06-15 16:54:47 -07:00 |
|
Marcus Asteborg
|
0907798d40
|
Update to Opus 1.3.1 (#6086)
|
2019-04-14 01:02:58 -07:00 |
|
Marcus Asteborg
|
8a1c4fce30
|
Use Opus CMake #4875 (#6007)
|
2019-04-09 09:56:02 -07:00 |
|
evpobr
|
47950cabae
|
[opus] Fix version "unknown" returned by version API (#5134)
Related issues:
* erikd/libsndfile#406
* xiph/opus#110
* xiph/opus#111
|
2019-02-27 12:02:09 -08:00 |
|
Joseph Davies
|
799de417ea
|
[opus] Update to 1.3. (#4580)
|
2018-11-07 14:44:38 -08:00 |
|
Robert Schumacher
|
642e3a78d4
|
[opus] Don't redefine main() in the static lib
|
2018-05-18 03:26:36 -07:00 |
|
codicodi
|
81e9de89b9
|
[opus] update to 1.2.1
|
2017-06-26 22:35:44 +02:00 |
|
codicodi
|
79d4a2e297
|
[opus] update to 1.2
|
2017-06-20 23:35:49 +02:00 |
|
Robert Schumacher
|
faf60f0ee3
|
[opus] Rename libopus to opus to match upstream project's name
|
2017-01-28 20:11:26 -08:00 |
|