Commit Graph

45 Commits

Author SHA1 Message Date
Daniel Svensson
de99811b2b
[sdl2] Make dbus dependency optional. (#40633) 2024-08-29 00:17:29 -07:00
Sandy
f2ea3e0789
[sdl2]: Fix build error on android ndk r27 (#40510) 2024-08-19 09:53:41 -07:00
Alon Regev
2983a790bb
[sdl2] Update to 2.30.6 (#40259)
Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
2024-08-15 19:05:42 -07:00
Kai Pastor
5cb8081fd3
[sdl2] Fix exported deps for android (#39709) 2024-07-10 09:54:33 -04:00
Cheney Wang
de0f76b12c
[sdl2] update to 2.30.5 (#39710) 2024-07-08 10:17:25 -04:00
gerard-ryan-immersaview
6db51d86a9
[vcpkg_replace_string] warn unchanged by call (#34719)
If a call to `vcpkg_replace_string` makes no changes i.e doesn't
effectively replace a string, A warning is logged.

This should also help identify ports that no longer need these calls to
fix things in `.pc` files etc.
2024-06-19 14:07:05 -07:00
jim wang
f49e6846b3
[sdl2] Update to 2.30.3 (#39097)
Fixes https://github.com/microsoft/vcpkg/issues/39079
- [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.~~
- [ ] ~~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.

Usage test pass with following triplets:

```
x64-windows
x64-windows-static
```
2024-06-03 22:07:22 -07:00
Oleg Derevenetz
a3f5d7a0c8
[sdl2] update to 2.30.1 (#37532) 2024-03-18 15:10:21 -07:00
Cheney Wang
ab231c2c66
[SDL2] update to 2.30.0 (#36568) 2024-02-05 11:12:17 -08:00
jim wang
2a6371b014
[sdl2,sdl2-*] allow disabling transitive dependencies (#35394) 2023-12-08 01:30:37 -08:00
Cheney Wang
ea9f45d1bc
[SDL2] update to 2.28.5 (#35352)
* [SDL2] update to 2.28.5

* Unroll the base feature into direct members of default-features

* Apply suggestion
2023-12-01 02:16:35 -08:00
Thomas1664
48b883fb2b
[sdl2] Add feature alsa (#34311) 2023-10-16 10:48:03 -07:00
Frank
dfc21e3f28
[SDL2] Update version to 2.28.4 (#34342) 2023-10-10 15:01:31 -07:00
Nick
ec4d21430d
[sdl2] add missing 'dbus' dependency (#34013) 2023-09-28 23:22:37 -07:00
Lily Wang
130a670989
[sdl2] Update to 2.28.3 (#33740)
* [sdl2] Update to 2.28.3

* update version
2023-09-14 13:31:20 -07:00
Ada Tufankjian
2c356da170
[SDL2] Updating port to latest 2.28.2 (#33283)
* Updating SDL2

* Attempting to fix x64-linux downstream

* Another attempt to fix finding ALSA that doesn't break everything

* ANOTHER attempt to find ALSA properly for linux

* This time trying to change sdlFindALSA

* Attempting to use vcpkg version of ALSA

* Actually adding alsa as a dependency

* Another attempt, this time drawing from the inspiration of how libsamplerate is handled

* Another attempt, this time drawing from the inspiration of how libsamplerate is handled

* Trying a different change to sdlFindALSA

* Another attempt

* Trying to se if perhaps the SDL2Config script is problematic

* Possible fix?

* Again, trying to get linux to behave

* A bit of cleanup of unnecessary cruft

* Removing unnecessary feature
2023-08-28 13:24:36 -07:00
Pierre Wendling
c9aba30092
[sdl2] Update to 2.26.5 (#30684)
* [sdl2] Update to 2.26.5.

* [sdl2] Update baseline.
2023-04-05 15:57:27 -07:00
Pierre Wendling
d08e708c21
[sdl2] Bump to 2.26.4 (#30054)
* [sdl2] Update to 2.26.4.

* [sdl2] Update baseline.
2023-03-07 12:18:34 -08:00
Pieter-Jan Briers
bf67efbafe
[sdl2] Re-enable ibus in build (#29607)
* [sdl2] Re-enable ibus as feature

This was disabled in #14275 because it caused the relevant libraries (ibus, glib, ...) to be depended on transitively.

Nowadays, SDL2 loads these completely at runtime, only needing the headers and such at compile time, so it's safe to re-enable this again.

Ibus is gated behind the "ibus" feature, which like the existing x11/wayland ones warn at installation that you need the necessary system packages to use it. The ibus feature is enabled by default.

* [sdl2] Update baseline
2023-02-13 08:41:32 -08:00
Pierre Wendling
917875c7b2
[sdl2] Bump to 2.26.3 (#29484)
* [sdl2] Bump version to 2.26.3

* [sdl2] Update baseline
2023-02-07 14:46:50 -08:00
Nick
9696840b74
[sdl2] update to 2.26.2 (#28753) 2023-01-09 01:12:09 -08:00
Thomas1664
16b7b6626d
[sdl2] Add feature samplerate (#28554)
* [sdl2] Add feature samplerate

* version
2022-12-27 00:52:33 -08:00
Nick
eaa1227aaf
[sdl2] Disable X11 feature and make it and Wayland defaults (#28148) 2022-12-13 17:41:34 -08:00
Oleg Derevenetz
b7422ebaea
[sdl2] update to 2.26.1 (#28113)
* Update sdl2 to 2.26.1

* Update baseline
2022-12-02 09:10:48 -08:00
Pierre Wendling
3f41432410
[sdl2] Bump to 2.26.0 (#27947)
* Bump to 2.26.0.

* Add missing include for Wayland builds.

* Update version history

* Make `wayland` option control support altogether.

- Instead of building with/without shared support. Control whether SDL
is built with or without Wayland. See #27947.
- Removes the need for the new patch.

* Update version history.

* Fix pkg-config targets.

* install copyright with `vcpkg_install_copyright`.

* Update version history.

* Remove unecessary patch.

* Update version history.

* Fix UWP pc file.

* Update version history.
2022-11-28 11:12:32 -08:00
Pierre Wendling
599f106de6
[sdl2] Bump to 2.24.2 (#27591)
* [sdl2] Bump to 2.24.2.

* [sdl2] Add a usage file.

* [sdl2] Update baseline and version history.

* [sdl2] Update `SDL2_VERSION` variable.

* [sdl2] Update `HEAD_REF`.

* Use VERSION.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-11-02 14:12:36 -07:00
Nick
ede90f9507
[sdl2] update to 2.24.1 (#27168) 2022-10-12 01:17:16 -07:00
Nick
f9b5f5406b
[sdl2] update to 2.24.0 (#26436) 2022-08-31 13:34:35 -07:00
Nick
1370b2c88f
[sdl2] add 'wayland' feature (#26261) 2022-08-10 16:08:17 -07:00
Sandy
6a7b3e1638
[sdl2] Add patch fixing non-threaded emscripten build (#26070)
From https://github.com/libsdl-org/SDL/pull/5773
2022-08-02 22:58:29 -07:00
JonLiu1993
38bb87c557
[SDL] enable hidapi (#25022)
* [SDL] enable hidapi

* update version

Co-authored-by: FrankXie <v-frankxie@microsoft.com>
2022-06-02 15:31:59 -07:00
JonLiu1993
5e7cbdceac
[sdl2] update to 2.0.22 (#24694)
* [sdl2] update to 2.0.22

* update version

Co-authored-by: FrankXie <v-frankxie@microsoft.com>
2022-05-15 21:21:02 -07:00
Alexander Neumann
05c93c5c5a
[Fix uwp toolchain|world rebuild] make ninja work for uwp (#22831) 2022-04-27 18:12:48 -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
Sandy
6b6a35335c
sdl2: Fix Emscripten declaration-after-statement error (#23678) 2022-03-21 19:44:39 -07:00
Matthew Oliver
9eb76edabf
[ freetype2/harfbuzz/sdl2] Update to the latest version (#22586)
* [freetype2] Update to 2.11.1

* [harfbuzz] Update to 3.2.0

* [sdl2] Update to 2.0.20

* [ffmpeg] Update to 5.0

* Update versions.

* [ffmpeg] Remove all avresample

* Update ffmpeg.json

* Update ffmpeg.json

* Update ffmpeg.json

* Revert "[ffmpeg] Update to 5.0"

This reverts commit d4f718e882.

* Revert "[ffmpeg] Remove all avresample"

This reverts commit f1fecaa8cf.

* update

* fix revert.

* [sdl2] Fix uwp build.

* Update sdl2.json
2022-01-26 15:32:31 -08:00
pastdue
9349a6a56c
[sdl2] Fix mingw compilation issues (#21683)
* [sdl2] Fix issue with mingw + CMake >= 3.22

* [sdl2] Fix portfile issue affecting mingw

* Run x-add-version sdl2
2021-12-01 19:20:14 -08:00
NancyLi1013
897ff9372f
[sdl2] Add feature x11 (#21188)
* [ssdl2] Add feature x11

* Update dependencies

* Update version files
2021-11-11 13:47:51 -08:00
Kai Pastor
88413539fc
[sdl2] Fix calling find_packages from different directories (#20542)
* Fix multiple calls to `find_package`

* Update versions
2021-10-06 11:12:42 -07:00
Rémy Tassoux
25382e39f7
[sdl2] Update to 2.0.16 (#19509)
* [sdl2] Update to 2.0.16

* [sdl2] Update version files

* [sdl2] Fix uwp builds

* [sdl2] Update version files

* [sdl2] Change version-semver to version

* [sdl2] Fix uwp pkgconfig file creation

* [sdl2] Add alias on static build

* [sdl2] Remove cmake wrapper

* [sdl2] Update version files

* [sdl2] Disable SDL2::SDL2main target search on uwp

* [sdl2] Update version files

Co-authored-by: Rémy Tassoux <rt2@rasterizedworld.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-08-18 17:19:15 -07:00
pastdue
b3e8d4dc69
[sdl2] Fix pthread detection on macOS (#17106)
* [sdl2] Fix pthread detection on macOS

* Add missing "FEATURES" to vcpkg_check_features

* [sdl2] Bump port-version

* Run x-add-version sdl2
2021-04-07 12:31:03 -07:00
NancyLi1013
6a46f50134
[sdl2] Update patch (#16370)
* [SDl2] Update patch

* update versions
2021-02-24 13:49:53 -08:00
pastdue
60d979c588
[sdl2] Fix vulkan feature dependencies (#16033)
* [sdl2] Fix vulkan feature dependencies

SDL2 ships with its own copy of required Vulkan headers, so the `vulkan` port dependency here is unneeded (and unused).

* Run x-add-version sdl2
2021-02-08 16:16:20 -08:00
Long Nguyen
124f5d912b
[sdl2] Fix improper replacement of -lSDL2main + remove IGNORE_FLAGS and SYSTEM_LIBRARIES (#15540)
* [sdl2] Proper replacement of -lSDL2main -> -lSDL2maind

* [sdl2] Add extra SYSTEM_LIBRARIES and IGNORE_FLAGS

* [sdl2] Remove SYSTEM_LIBRARIES and IGNORE_FLAGS

* update baseline

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2021-01-24 23:21:41 -08:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00