Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions ports/libsoundio/CONTROL

This file was deleted.

11 changes: 8 additions & 3 deletions ports/libsoundio/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
)
Expand Down
22 changes: 22 additions & 0 deletions ports/libsoundio/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3433,8 +3433,8 @@
"port-version": 3
},
"libsoundio": {
"baseline": "2.0.0-3",
"port-version": 0
"baseline": "2.0.0",
"port-version": 4
},
"libspatialindex": {
"baseline": "1.9.0",
Expand Down
10 changes: 10 additions & 0 deletions versions/l-/libsoundio.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"versions": [
{
"git-tree": "96de946826ca6aafdc9409f9d75f02a6d082cffb",
"version": "2.0.0",
"port-version": 4
},
{
"git-tree": "b8772b81312859cfef91f4161ebcf236acea836e",
"version-string": "2.0.0-3",
"port-version": 1
},
Comment thread
JackBoosY marked this conversation as resolved.
Outdated
{
"git-tree": "b7c77d32f74a10cb1ff43cb80c15d6a6f65d5d53",
"version-string": "2.0.0-3",
Expand Down