17 Commits

Author SHA1 Message Date
JonLiu1993
ea90335996
[sdl2-mixer] Make wavpack a feature (#36982) 2024-03-19 15:07:02 -07:00
JonLiu1993
cf4ebef229
[sdl2-mixer| sdl2-image| sdl2-ttf] fix pc file in debug pkgconfig (#37411) 2024-03-15 18:40:20 -07:00
Lily Wang
b28ee3ccd6
[sdl2-mixer] Fix feature libmodplug build failure (#36664)
* [sdl2-mixer] Fix feature libmodplug build failure

* update version

---------

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2024-02-08 22:46:35 -08:00
jim wang
38fdc01459
[sdl2-mixer] Update to 2.8.0 and add dependency wavpack (#36629)
* update to 2.8.0

* update version

* update version
2024-02-07 22:26:27 -08:00
jim wang
2a6371b014
[sdl2,sdl2-*] allow disabling transitive dependencies (#35394) 2023-12-08 01:30:37 -08:00
Pierre Wendling
812080c89a
[sdl2-mixer] Update features and fix static linking (#29681)
* [sdl2-mixer] Update features behaviour.

- Reword feature description.
- Disable FLAC and MP3 support when libflac and mpg123 are not selected.
- Make libvorbis a dependency instead of a feature.
Unlike the FLAC/MP3 backends, the vorbis backend cannot be disabled.

* [sdl2-mixer] Remove alternative midi features.

The priority for MIDI backends is: fluidsynth > timidity > nativemidi.

- Turn off implicitely enabled timidity backend which shadows the
nativemidi backend.
- Remove nativemidi as it offers the same functionalities as fluidsynth
but is not available outside of Windows and Apple platforms. Moreover it
may give the false impression that MIDI is supported out of the box

* [sdl2-mixer] Use targets provided by dependencies.

This allows the dependencies to inform the sdl2-mixer about their usage
requirements, making it much easier to statically link the library.

* [sdl2-mixer] FluidSynth now requires pkg-config.

Since 2.3.1#1 FluidSynth's CMake config required pkg-config to find its
dependencies.

* [sdl2-mixer] UWP builds should work again.

* [sdl2-mixer] Update baseline.

* [sdl2-mixer] Add back a dummy libvorbis feature.

This is to keep compatibility with downstream users.

* [sdl2-mixer] Update version.

* [sdl2-mixer] Remove the dummy libvorbis feature.

Since vcpkg tool version 2023-02-16, this is no longer needed.

* [sdl2-mixer] Update version.

---------

Co-authored-by: Monica <v-liumonica@microsoft.com>
2023-03-21 12:40:45 -07:00
Pierre Wendling
785cbdb8ba
[sdl2-mixer] Bump to 2.6.3 (#29487)
* [sdl2-mixer] Bump to version 2.6.3

* [sdl2-mixer] Fix findFluidSynth on windows-static.

* [sdl2-mixer] vcpkg_minimum_required is not needed

* [sdl2-mixer] Control SDL2MIXER_MOD with libmodplug

If SDL2MIXER_MOD is left on when no backend is availble, CMake issues a
warning.

* [sdl2-mixer] Turn off SDL2MIXER_DEPS_SHARED

Similar issue to #28137. SDL2MIXER_OPUS_SHARED and
SDL2MIXER_VORBIS_VORBISFILE_SHARED need to be manually
turned off as they are unconditionally turned on.

* [sdl2-mixer] Set the correct vorbis backend.

Even when SDL2MIXER_VORBIS_VORBISFILE was set to ON, stb_vorbis would be
used as the default backend.

* [sdl2-mixer] Use vcpkg_install_copyright

* [sdl2-mixer] Ensure flac and mpg123 are selected.

Turn off header-only libraries when the features are selected.

* [sdl2-mixer] Patch missing call to find_dependency

This is fixed upstream but has not been included in the 2.6.x branch.

* [sdl2-mixer] Fix dependency linking.

- The FLAC target is an upstream patch.
- VCPKG's opusfile port is static-only, meaning Opus and Ogg needs to be
linked explicitly.

* [sdl2-mixer] Update baseline.

---------

Co-authored-by: MonicaLiu <v-liumonica@microsoft.com>
2023-02-10 11:17:29 -08:00
vividos
f0a322f2ca
[sdl2-mixer] don't build samples (#27182) 2022-10-12 01:15:24 -07:00
Thomas1664
59b861ab16
[sdl2-mixer] Fix usage (#26083)
* [sdl2-mixer] Fix usage

* version

* format

* version

* Fix usage

* version
2022-08-04 10:51:24 -07:00
Oleg Derevenetz
359dbe3a07
[sdl2-mixer] Update to 2.6.1 (#25763)
* Update sdl2-mixer to 2.6.1

* SDL2_mixer: fix upstream CMakeLists

* SDL2_mixer: add vcpkg_fixup_pkgconfig()

* Fix sdl2pp dependency on SDL2_mixer

* Never use vendored libs

* Update baseline

* sdl2pp: add license

* Update baseline

* Remove apparently redundant pkgconfig fix

* Use the commit hash for REF

* Update baseline

* Revert "Remove apparently redundant pkgconfig fix"

This reverts commit 98e0d7f76ddad34dde2ac57627b25f6c5e33f904.

* Update baseline

* Minimize sdl2pp patch

* Update baseline

* Reformat

* Update baseline
2022-07-18 14:26:05 -07:00
LilyWangLL
50fd3d9957
[sdl2-mixer] Fix link mpg123 error (#22049)
* [sdl2-mixer] Fix link mpg123 error

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2021-12-17 13:39:42 -05:00
LilyWangLL
86fb7a15bc
[sdl2-mixer] Fix feature mpg123 build error (#21812)
* [sdl2-mixer] Disable feature mpg123 temporarily

* update version

* [sdl2-mixer] fix feature mpg123 build error

* update version

Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
2021-12-06 20:35:19 -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
NancyLi1013
9a23c096c5
[sdl2-mixer] Fix link error building with features fluidsynth and libvorbis (#20089) 2021-09-13 20:25:53 -07:00
JackMacWindows
92340aa815
[sdl2-mixer] Add fluidsynth feature (#18826)
* [sdl2-mixer] Add fluidsynth feature

* [sdl2-mixer] Add fluidsynth feature

* [sdl2-mixer] Add fluidsynth feature

* Updated versions & fixed style

* Fixed version hash
2021-07-06 13:38:46 -07:00
NancyLi1013
1f7d384618
[sdl2-mixer] Fix features link error (#16737)
* [sdl2-mixer] Fix features link error

* Update versions
2021-03-18 13:17:59 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00