mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[fluidsynth] Add pulseaudio feature for Linux (#31138)
* Add pulseaudio feature for fluidsynth * Add pulseaudio feature definition * Formatting fix * Update version * x-add-version run * Add pulseaudio feature package manager notice * vcpkg x-add-version --all
This commit is contained in:
parent
197818b248
commit
8849a1a3c9
@ -1,3 +1,11 @@
|
|||||||
|
if("pulseaudio" IN_LIST FEATURES)
|
||||||
|
message(
|
||||||
|
"${PORT} with pulseaudio feature currently requires the following from the system package manager:
|
||||||
|
libpulse-dev pulseaudio
|
||||||
|
These can be installed on Ubuntu systems via sudo apt install libpulse-dev pulseaudio"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO FluidSynth/fluidsynth
|
REPO FluidSynth/fluidsynth
|
||||||
@ -13,6 +21,7 @@ vcpkg_check_features(
|
|||||||
FEATURES
|
FEATURES
|
||||||
buildtools VCPKG_BUILD_MAKE_TABLES
|
buildtools VCPKG_BUILD_MAKE_TABLES
|
||||||
sndfile enable-libsndfile
|
sndfile enable-libsndfile
|
||||||
|
pulseaudio enable-pulseaudio
|
||||||
)
|
)
|
||||||
|
|
||||||
# enable platform-specific features, force the build to fail if the required libraries are not found,
|
# enable platform-specific features, force the build to fail if the required libraries are not found,
|
||||||
@ -23,7 +32,7 @@ set(LINUX_OPTIONS enable-alsa ALSA_FOUND)
|
|||||||
set(ANDROID_OPTIONS enable-opensles OpenSLES_FOUND)
|
set(ANDROID_OPTIONS enable-opensles OpenSLES_FOUND)
|
||||||
set(IGNORED_OPTIONS enable-coverage enable-dbus enable-floats enable-fpe-check enable-framework enable-jack enable-lash
|
set(IGNORED_OPTIONS enable-coverage enable-dbus enable-floats enable-fpe-check enable-framework enable-jack enable-lash
|
||||||
enable-libinstpatch enable-midishare enable-oboe enable-openmp enable-oss enable-pipewire enable-portaudio
|
enable-libinstpatch enable-midishare enable-oboe enable-openmp enable-oss enable-pipewire enable-portaudio
|
||||||
enable-profiling enable-pulseaudio enable-readline enable-sdl2 enable-systemd enable-trap-on-fpe enable-ubsan)
|
enable-profiling enable-readline enable-sdl2 enable-systemd enable-trap-on-fpe enable-ubsan)
|
||||||
|
|
||||||
if(VCPKG_TARGET_IS_WINDOWS)
|
if(VCPKG_TARGET_IS_WINDOWS)
|
||||||
set(OPTIONS_TO_ENABLE ${WINDOWS_OPTIONS})
|
set(OPTIONS_TO_ENABLE ${WINDOWS_OPTIONS})
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "fluidsynth",
|
"name": "fluidsynth",
|
||||||
"version": "2.3.2",
|
"version": "2.3.2",
|
||||||
"port-version": 1,
|
"port-version": 2,
|
||||||
"description": "FluidSynth reads and handles MIDI events from the MIDI input device. It is the software analogue of a MIDI synthesizer. FluidSynth can also play midifiles using a Soundfont.",
|
"description": "FluidSynth reads and handles MIDI events from the MIDI input device. It is the software analogue of a MIDI synthesizer. FluidSynth can also play midifiles using a Soundfont.",
|
||||||
"homepage": "https://github.com/FluidSynth/fluidsynth",
|
"homepage": "https://github.com/FluidSynth/fluidsynth",
|
||||||
"license": "LGPL-2.1-or-later",
|
"license": "LGPL-2.1-or-later",
|
||||||
@ -32,6 +32,10 @@
|
|||||||
"buildtools": {
|
"buildtools": {
|
||||||
"description": "Build tools gentables"
|
"description": "Build tools gentables"
|
||||||
},
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"description": "Build with PulseAudio support",
|
||||||
|
"supports": "linux"
|
||||||
|
},
|
||||||
"sndfile": {
|
"sndfile": {
|
||||||
"description": "Enable rendering to file and SF3 support",
|
"description": "Enable rendering to file and SF3 support",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
|
@ -2522,7 +2522,7 @@
|
|||||||
},
|
},
|
||||||
"fluidsynth": {
|
"fluidsynth": {
|
||||||
"baseline": "2.3.2",
|
"baseline": "2.3.2",
|
||||||
"port-version": 1
|
"port-version": 2
|
||||||
},
|
},
|
||||||
"fmem": {
|
"fmem": {
|
||||||
"baseline": "c-libs-2ccee3d2fb",
|
"baseline": "c-libs-2ccee3d2fb",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "eb9b815d5af8da59d2cb5a42361a9c88e7d6a1f4",
|
||||||
|
"version": "2.3.2",
|
||||||
|
"port-version": 2
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "0deaa03650b97bd28bcaa13d05fb3502f8651e48",
|
"git-tree": "0deaa03650b97bd28bcaa13d05fb3502f8651e48",
|
||||||
"version": "2.3.2",
|
"version": "2.3.2",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user