Commit Graph

12 Commits

Author SHA1 Message Date
JonLiu1993
cf4ebef229
[sdl2-mixer| sdl2-image| sdl2-ttf] fix pc file in debug pkgconfig (#37411) 2024-03-15 18:40:20 -07:00
jim wang
086d63cc4e
[sdl2-image] Update to 2.8.2 (#36830)
Fixes https://github.com/microsoft/vcpkg/issues/36769
Removed `fix-pkgconfig.patch`.

- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [X] SHA512s are updated for each updated download.
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [X] Any patches that are no longer applied are deleted from the port's
directory.
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.

All features passed with following triplets:

```
x86-windows
x64-windows
x64-windows-static
```
Usage test pass with following triplets:

```
x86-windows
x64-windows
x64-windows-static
```
2024-02-21 10:00:26 -08:00
jim wang
2a6371b014
[sdl2,sdl2-*] allow disabling transitive dependencies (#35394) 2023-12-08 01:30:37 -08:00
Pierre Wendling
4f1ced56f7
[sdl2-image] Bump to 2.6.3 (#29485)
* [sdl2-image] Bump to version 2.6.3

* [sdl2-image] Update baseline

* [sdl2-image] Update SHA512

* [sdl2-image] Fix SDL2_image's findwebp.

* [sdl2-image] vcpkg_minimum_required is not needed.

* [sdl2-image] Update version.

* [sdl2-image] Patch `find_*` instead of `findwebp`.

* [sdl2-image] Update version.
2023-02-09 10:54:02 -08:00
Pierre Wendling
5d1f188403
[sdl2-image] Fix dynamic linking (#28137)
* Force DEPS_SHARED to OFF.

* Bump port version.

* Update version history.
2022-12-06 15:19:01 -08:00
Pierre Wendling
39b028f607
[sdl2-image] Bump to 2.6.2. (#27627)
* [sdl2-image] Update to 2.6.2.

* [sdl2-image] Update baseline and version history.

* [sdl2pp] Update sdl2-image target name.

* [sdl2pp] Update baseline and version history.

* [sdl2-image] Fix .pc file generation.

* [sdl2-image] Visually align features in portfile.

* [sdl2-image] Shorten patch to the strict minimum.
2022-11-08 14:44:33 -08:00
Andrey Filipenkov
3f7e013c4d
[sdl2-image] fix dynamic build on macOS (#26445)
* [sdl2-image] fix dynamic build on macOS

* update versions of sdl2-image
2022-08-22 09:43:20 -07:00
Jack·Boos·Yu
c0c7d23949
[sdl2-image] Fix dependency libpng (#24248)
* [sdl2-image] Fix dependency libpng

* version

* add license

* version
2022-04-20 14:46:31 -07:00
Thomas1664
05bcc5fca4
[sdl2-image] Features must use sdl2[x11] on Linux (#23725)
* Fix shared libs suffix

* Remove version-string

* version

* Use cmake version of shared lib suffix

* version

* Remove old feature processing

* version

* Real fix

* [sdl2] Fix x11 feature

* format

* version

* Fix suffix again

* version

* Fix external dependencies

* version

* Fix WebP linkage

* version

* Fix PNG linkage

* version

* Mark everything as default feature for testing

* version

* Trigger rebuild of sdl2pp

* version

* congig file

* Fix flags

* version

* Fix flags

* version

* Disable UWP warnings for TIFF

* version

* Fix CXX

* version

* revert cmake version

* version

* Fix config

* version

* Revert sdl2pp

* Fix config

* version

* Create config.cmake.in file

* version
2022-04-15 13:44:08 -07:00
Felipe Wannmacher
e3c42b4418
[sdl2-image] Support x64-uwp (#22437)
* fixed 22434

* Clean baseline

* update version

* version

* add supports field since the upstream doesn't support uwp

* improve code

* version

* version

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2022-01-10 13:15:07 -08:00
autoantwort
7c92c79a1a
[sdl2pp] no absolute paths (#21722)
* [sdl2pp] no absolute paths

* [sdl2-image][sdl2-mixer][sdl2-ttf][sdl2pp] Install and fix .pc files

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-11-30 15:29:54 -08: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