diff --git a/ports/sdl2-mixer/portfile.cmake b/ports/sdl2-mixer/portfile.cmake index 192a17efce..7e6fbc17a5 100644 --- a/ports/sdl2-mixer/portfile.cmake +++ b/ports/sdl2-mixer/portfile.cmake @@ -18,9 +18,9 @@ vcpkg_check_features( libmodplug SDL2MIXER_MOD_MODPLUG mpg123 SDL2MIXER_MP3 mpg123 SDL2MIXER_MP3_MPG123 + wavpack SDL2MIXER_WAVPACK + wavpack SDL2MIXER_WAVPACK_DSD opusfile SDL2MIXER_OPUS - MAYBE_UNUSED_VARIABLES - SDL2MIXER_MP3_DRMP3 ) if("fluidsynth" IN_LIST FEATURES) @@ -46,6 +46,8 @@ vcpkg_cmake_configure( -DSDL2MIXER_MIDI_TIMIDITY=OFF -DSDL2MIXER_MP3_DRMP3=OFF -DSDL2MIXER_MOD_XMP_SHARED=${BUILD_SHARED} + MAYBE_UNUSED_VARIABLES + SDL2MIXER_MP3_DRMP3 ) vcpkg_cmake_install() diff --git a/ports/sdl2-mixer/vcpkg.json b/ports/sdl2-mixer/vcpkg.json index b4b15731a2..b3c9034ea1 100644 --- a/ports/sdl2-mixer/vcpkg.json +++ b/ports/sdl2-mixer/vcpkg.json @@ -1,7 +1,7 @@ { "name": "sdl2-mixer", "version": "2.8.0", - "port-version": 2, + "port-version": 3, "description": "Multi-channel audio mixer library for SDL.", "homepage": "https://github.com/libsdl-org/SDL_mixer", "license": "Zlib", @@ -18,7 +18,9 @@ { "name": "vcpkg-cmake-config", "host": true - }, + } + ], + "default-features": [ "wavpack" ], "features": { @@ -52,6 +54,12 @@ "dependencies": [ "opusfile" ] + }, + "wavpack": { + "description": "Enable WavPack music.", + "dependencies": [ + "wavpack" + ] } } } diff --git a/versions/baseline.json b/versions/baseline.json index 30f758e407..1afd6e57c8 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7910,7 +7910,7 @@ }, "sdl2-mixer": { "baseline": "2.8.0", - "port-version": 2 + "port-version": 3 }, "sdl2-mixer-ext": { "baseline": "2.6.0", diff --git a/versions/s-/sdl2-mixer.json b/versions/s-/sdl2-mixer.json index 3b92aa2d3e..46d62ab1db 100644 --- a/versions/s-/sdl2-mixer.json +++ b/versions/s-/sdl2-mixer.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "dd4194d58e9c97835f6d38257f1af245e659e2de", + "version": "2.8.0", + "port-version": 3 + }, { "git-tree": "6c3753de43f2caf437f28a171665f37abe890109", "version": "2.8.0",