mirror of https://github.com/microsoft/vcpkg.git
[libsoundio] Add support for linux backends (#16891)
* Add support for linux backends * Run vcpkg format-manifest * Bump version * Run vcpkg-format * Add version * Use vcpkg_check_features * Use version instead of version-string * Update version * Update versions/l-/libsoundio.json Co-authored-by: Victor Romero <romerosanchezv@gmail.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
This commit is contained in:
parent
4ec290c716
commit
23c1c65fc7
|
|
@ -1,5 +0,0 @@
|
|||
Source: libsoundio
|
||||
Version: 2.0.0-3
|
||||
Description: libsoundio is C library providing cross-platform audio input and output.
|
||||
Homepage: http://libsound.io/
|
||||
Supports: !uwp
|
||||
|
|
@ -14,6 +14,13 @@ vcpkg_from_github(
|
|||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" BUILD_DYNAMIC_LIBS)
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC_LIBS)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
alsa ENABLE_ALSA
|
||||
jack ENABLE_JACK
|
||||
pulseaudio ENABLE_PULSEAUDIO
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
|
|
@ -22,9 +29,7 @@ vcpkg_configure_cmake(
|
|||
-DBUILD_STATIC_LIBS=${BUILD_STATIC_LIBS}
|
||||
-DBUILD_EXAMPLE_PROGRAMS=OFF
|
||||
-DBUILD_TESTS=OFF
|
||||
-DENABLE_JACK=OFF
|
||||
-DENABLE_PULSEAUDIO=OFF
|
||||
-DENABLE_ALSA=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
-DENABLE_COREAUDIO=${VCPKG_TARGET_IS_OSX}
|
||||
-DENABLE_WASAPI=${VCPKG_TARGET_IS_WINDOWS}
|
||||
)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"name": "libsoundio",
|
||||
"version": "2.0.0",
|
||||
"port-version": 4,
|
||||
"description": "libsoundio is C library providing cross-platform audio input and output.",
|
||||
"homepage": "http://libsound.io/",
|
||||
"supports": "!uwp",
|
||||
"features": {
|
||||
"alsa": {
|
||||
"description": "ALSA backend for libsoundio"
|
||||
},
|
||||
"jack": {
|
||||
"description": "JACK backend for libsoundio",
|
||||
"dependencies": [
|
||||
"jack2"
|
||||
]
|
||||
},
|
||||
"pulseaudio": {
|
||||
"description": "PulseAudio backend for libsoundio"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3457,8 +3457,8 @@
|
|||
"port-version": 4
|
||||
},
|
||||
"libsoundio": {
|
||||
"baseline": "2.0.0-3",
|
||||
"port-version": 0
|
||||
"baseline": "2.0.0",
|
||||
"port-version": 4
|
||||
},
|
||||
"libspatialindex": {
|
||||
"baseline": "1.9.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "96de946826ca6aafdc9409f9d75f02a6d082cffb",
|
||||
"version": "2.0.0",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "b7c77d32f74a10cb1ff43cb80c15d6a6f65d5d53",
|
||||
"version-string": "2.0.0-3",
|
||||
|
|
|
|||
Loading…
Reference in New Issue