Commit Graph

15 Commits

Author SHA1 Message Date
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
Jesse Towner
b5e6d68c20
[brotli] add iOS support (#16397)
* [brotli] add iOS support

This commit adds support for iOS by modifying the CMakeLists.txt
file to specify the BUNDLE DESTINATION parameter during install,
which is required for iOS builds.

* [brotli] update control file

* [brotli] update versions
2021-02-26 13:15:50 -08:00
Jack·Boos·Yu
7a05bde0a6
[asmjit][botan][brotli] Update version (#13676) 2020-09-27 17:41:18 -07:00
Alexander Neumann
61c055a6fc
[brotli] add pkgconfig / [freetype] depend on brotli (#12405)
* [brotli] add pkgconfig

* [freetype] add pkgconfig and add dependency on brotli

* [qt5-base] add new freetype dependency to brotli and zstd

* [freetype] fix cmake paths

* [freetype] removed renaming of include dir and unnecessary cmake fixes

* [freetype-gl] fix glew include dir

* [podofo] fix freetype search.

* fixing wrong freetype stuff due to vcpkg owned wrong CMakeLists.txt .....

* fixing more freetype hidden issues.

* [sfml] fix missing include

* fix typo

* [freetype] uncomment previous renaming of include folders

* fix brotli linkage in static builds

* remove added alias to avoid problems.

* [freetype] add brotli to the wrapper

* [lzokay] format manifest

Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-08-06 13:07:46 -07:00
Jack·Boos·Yu
c6b58e366a
[brotli] Fix build failure on arm64-uwp (#10116)
* [brotli] Fix build failure on arm64-uwp

* update baseline
2020-02-25 14:18:40 -08: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
Robert Schumacher
33af90d42a
[many ports] Updates 2019.05.19 (#6524) 2019-05-21 21:00:24 -07:00
Robert Schumacher
33286f9004 [brotli] Add unofficial targets 2018-08-31 00:47:31 -07:00
Robert Schumacher
db2b2d2658 [brotli][folly][sol] Fix regressions on master 2018-05-15 21:46:41 -07:00
Seo Sanghyeon
e7f2efbb83 [brotli] Fix Linux build 2018-05-10 13:08:18 +09:00
Robert Schumacher
6e653d88f6 [brotli] Fix regressions introduced during update 2017-12-13 06:20:07 -08:00
Robert Schumacher
26f12d20bb [many ports] Updates to latest 2017-11-30 12:27:56 -08:00
Alexander Karatarakis
26516fe485 vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7) 2017-09-09 00:12:54 -07:00
Robert Schumacher
e607ff8a7b [brotli] Use vcpkg_from_github and latest stable release 2017-05-23 15:08:19 -07:00
atkawa7
2629a3696f Brotli #1150
Created a brotli port file
2017-05-23 13:09:58 -07:00