Commit Graph

40 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 98e0d7f76d.

* 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
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
Kevin Lu
62d4320409
[sdl2-mixer] Fix FLAC symbol export when static linking, add nativemidi default feature (#12374)
* [sdl2-mixer] Fix FLAC symbol export when static linking

Fix regression introduced by #11152

* [sdl2-mixer] Add nativemidi default feature

Closes #10318

* [libsndfile] Revert to port version 8 as version 10

* [libflac] Use BUILD_SHARED_LIBS to properly export FLAC__NO_DLL via CMake

* [libflac] Force FLAC__NO_DLL in installed headers in static triplets

* [libflac] Modify headers on installation
2020-07-31 11:23:27 -07:00
Jonathan Giannuzzi
0babb7549b
[sdl2-mixer] Enable native MIDI support on macOS (#10201) 2020-02-28 21:42:47 -08:00
Jack·Boos·Yu
53f1ae86d0 [sdl2-mixer] Fix dynamic loading when building static library (#9332)
* [sdl2-mixer] Fix dynamic loading when building static library

* [sdl2-mixer] Set dynamic load as a feature

* [sdl2-mixer] Disable feature dynamic-load when building static
2020-01-27 14:21:09 -08:00
JackBoosY
df484b0e5a [sdl2-mixer]Use dynamic library suffix when building dynamic library. 2019-10-08 01:53:53 -07:00
JackBoosY
df09093358 [sdl2-mixer]Delete the absolute path of the dependent libraries. 2019-10-08 00:27:23 -07:00
JackBoosY
808a19c00f [sdl2-mixer]Re-fix dynamic call. (#8335) 2019-09-25 08:27:32 -07:00
Lily
02881e6c6d [sdl2-mixer] Fix features dependency link. (#8208)
* [sdl2-mixer] Fix features dependency link libraries.

* [sdl2-mixer] Remove find_library.

* [sdl2-mixer] Fix feature name

* [sdl2-mixer] Fix feature options
2019-09-23 13:49:37 -07:00
JackBoosY
63f1f07efb [sdl2-mixer]Remove useless dependency link libraries. (#7720) 2019-09-11 13:54:01 -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
JackBoosY
0b24f31aad [sdl2-mixer]Fix build error with feature opusfile. (#6929) 2019-06-17 17:12:00 -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
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
Daniel
41a9614308 Move SDL2_mixer optional dependencies to features (#5565) 2019-03-06 10:14:01 -08:00
JackBister
b316f9e743 [sdl2-mixer] Fixes for installing on Linux (#5366)
* [sdl2-mixer] Fix libFLAC capitalization

* [sdl2-mixer] Only build native_midi on Windows

* [sdl2-mixer] Slight modernization; bump control version
2019-02-16 14:42:47 -08:00
Ryan Cheung
7ad1fcc376 Package sdl2pp (#3430)
* Fix mpg123 build in macOS and Linux, fix sdl2-mixer find mpg123 libarry

* Add package sdl2pp

* [mpg123] Use Windows logic in Windows Desktop

* [sdl2-mixer] Bump package version

* [sdl2pp] Use patch instead of replacing CMakeLists.txt. Use vcpkg_from_github()
2018-05-18 08:15:52 -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
Stephen E. Baker
0526ec7678 [sdl2-mixer] Bump to 2.0.2
Follows upstream default mp3 library change from smpeg to mpg123
2017-11-13 21:55:33 -05: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
codicodi
722de2835b Add sdl2-mixer 2017-04-10 11:00:52 +02:00