Commit Graph

27 Commits

Author SHA1 Message Date
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
Rémy Tassoux
0a262e7d61
[sdl2] Update to 2.0.14 (#15398)
* [sdl2] Update to 2.0.14

* Revert "[sdl2] Update to 2.0.14"

This reverts commit b8e82e0dac.

* [sdl2] Update to 2.0.14

* [sdl2] Fix manifest formatting

* [sdl2] Change the shared library preprocessor symbol name to DLL_EXPORT for compatibility with SDL 2.0.14

Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com>
2021-01-05 12:33:13 -08:00
Jack·Boos·Yu
94fe840933
[sdl2-image] Fix usage (#14796) 2020-11-30 11:01:16 -08:00
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065) 2020-10-28 14:18:07 -07:00
Charles Dang
e48640be56 [sdl2-image] Updated to 2.0.5 (#7355) 2019-07-21 23:13:42 -07:00
Stefano Sinigardi
47d206e149 [many ports] improvements for linux/wsl (#6730)
* [many ports] improve compatibility with WSL and mixed case filesystems

* [treehopper] express dependency on libusb, which was not working on non-win32 platforms and is still broken there

* [libharu] add compatibility with non-win32 platforms

* [geogram] fix openblas on linux
[clapack] better integration with linux environment
[visit-struct] put cmake config file in the expected folder
[geogram] remove trailing underscore to enable compatibility with OpenBLAS

* [openblas] playing with underscore, without success

* [openblas/lapack] fix library integration

* [clapack] improve target handling in cmake module

* [openblas] promote self-generated config to default cmake module, otherwise internal ones thinks wrongly that openblas can also solve lapack libs

* [clapack,openblas] improve libraries integration

* [many ports] fix cmake unnecessary target paths, wrong config paths, empty default dependencies, unnecessary [core] tags

* [suitesparse] improve integration with new lapack/openblas mechanism

* [suitesparse] add no underscore postfix also for linux

* [ceres] fix integration with newer openblas/lapack configs

* [aws-c-event-stream] fix regression

* [systemc] fix regression

* [libwebp,geogram] trigger rebuild

* [libwebp,pthread4w] fix regressions

* [glbinding] fix cmake module installation

* [globjects] disentangle unnecessary dependency from qt5

* [jasper] remove broken and unnecessary patches

* [libwebp] fix regression

* [many ports] avoid using BUILD_SHARED_LIBS which is uninitialized in port files

* [clapack] correctly find dlls

* [clapack] use a generic blas as dependency

* [fizz,g2o] restore expected version

* fix mistake

* [many ports] remove WIN32, APPLE and UNIX (again, they keep creeping in) from ports since they are broken and usually break non-win32 ports

* [libressl,openssl] do not try to build one if the other is already installed

* [itk] update ref and patch to avoid regression

* [libressl,openssl] implement full strategy to fix CI

* [libwebp] disable components that are broken on macOS

* [ogre] enable macOS build

* [freeimage,jxrlib,ogre,openexr,protobuf] port patches from #5169

* [ogre] add missing install command

* [ffmpeg] enable wrapper for cmake module

* [ffmpeg] add avresample module finder

* [ffmpeg] improve module detection and exported symbols

* [ffmpeg] add variables to cache

* [thrift] remove unnecessary build option

* [allegro5] fix shared/static inversion

* [protobuf] cleanup

* [libressl] cleanup

* [moos-core] cleanup

* commented features must not be separated from other features, otherwise vcpkg complains

* [itk] fix regression

* [shogun,itk] fix regressions

* [ogre] fix regression

* [opusfile] add compatibility with non-win32

* [itk] fix regression

* [sndfile,libsndfile] remove duplicate, redirect sndfile to libsndfile

* add missing dependencies

* [ismrmrd] fix regression

* [ffmpeg] trigger rebuild

* [clapack,openblas,libogg] fix regressions on macOS

* [libtins] fix regression

* force rebuild windows regressions, unable to reproduce locally

* [mosquitto] enable non-win32 builds

* [json-dto] force rebuild, unable to reproduce regression locally

* [many ports] uniform naming and path length requests

* fix regression

* fix regression

* [ffmpeg] fixes for downstream projects

* clean up - thanks to reviewers

* trigger rebuild of regressions on macOS

* trigger rebuild of regressions on macOS - part2

* Add core back

* Use VCPKG_CONCURRENCY

* Add core back to suitesparse

* Add core back to curl

* Add core back to magnum

* Add core back to magnum

* Add core back to magnum

* Add core back to cgal
2019-06-20 19:11:54 -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
Antonio Maiorano
df753fbcf5 Fix sdl2-gfx, sdl2-image, sdl2-mixer, sdl2-net, and sdl2-ttf forcing debug lib first (SDL2d) (#5948)
Prevent SDL2 dependent libraries from always linking against debug.
2019-05-01 13:36:57 -07:00
Leonard Mosescu
b892387a45 Fix for #6152: Broken release build of SDL2-image (#6153)
Fix for #6152: The release build of SDL2-image depends on the debug build of SDL2
2019-04-23 18:33:58 -05:00
Helco
95785e1b40 [SDL2_xxx]: Add CMake targets for SDL2 addons (#5754)
* Add SDL2 image target

* Add SDL2_mixer target

* Add SDL2_ttf target

* Add SDL2_net target

* Fix missing source file for SDL2_image

* Disable harfbuzz for freetype properly

* Use both include dirs for freetype in SDL2-tff
2019-03-26 09:57:16 -07:00
Daniel
7dcf30197e Update various SDL2-based libraries (#5623)
* [sdl2-gfx] Update to 1.0.4

* [sdl2-mixer] Update to 2.0.4 (#4934)

* [sdl2-image] Update to 2.0.4

* [sdl2-ttf] Update to 2.0.15

* [sdl2-gfx,-image,-ttf] Use vcpkg_extract_source_archive_ex()
2019-03-11 13:15:08 -07:00
Gabriel
a6b2019b74 SDL2 image: Add features for libjpeg, tiff and webp (#3531)
* SDL2 image: Add features for libjpeg, tiff and webp

* [sdl2-image] Avoid passing lists through vcpkg_configure_cmake()
2018-07-04 01:01:08 -07:00
Stanislav Ershov
2ad118a253 Add missing version.rc file to sdl2 libraries.
Affected sdl2 libraries:
- sdl2-image
- sdl2-mixer
- sdl2-net
- sdl2-ttf
2018-01-09 23:44:37 +03:00
Stanislav Ershov
48e9cc063e [sdl2-image] Update to 2.0.2 2018-01-09 10:25:24 +03:00
Robert Schumacher
deee8c1743 [sdl2-gfx][sdl2-image][sdl2-mixer][sdl2-net][sdl2-ttf] Fix accidental link of release libs in debug mode. 2017-10-19 19:24:49 -07: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
codicodi
dc4998bf70 [sdl2] Prevent exports in static build 2017-07-21 13:01:00 +02:00
Patrick Bader
07fb014193 [sdl2-image] changed include directory to SDL2 include directory 2017-01-07 11:51:07 +01:00
Patrick Bader
2bb72e6637 [sdl2-image] added dependencies to CONTROL so they will always be statically linked
Replaced FindWEBP.cmake with version from freeimage port
2017-01-06 23:20:57 +01:00
Patrick Bader
937c4e26b0 fixed findWEBP.cmake to select debug version of webp for debug builds. 2017-01-06 22:05:22 +01:00
Patrick Bader
37a5504855 finished port of sdl2_image
- optional dependencies which are installed in vcpkg are automatically linked
 - unavailable dependencies are marked as dynamically linked and dlls have to be copied manually if respective file formats are used
2017-01-06 19:08:31 +01:00
Patrick Bader
29aedfad6c added first version of SDL2_image library which currently does not link to any external libraries. 2017-01-05 16:42:52 +01:00