mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 05:53:03 +08:00
[fluidsynth] update portfile features. (#17235)
* [fluidsynth] update deps. * add all the features. (at least in the portfile) * bump port version * use version instead of version-string * revert version bump * version stuff * default everything to off without vcpkg_check_features * version stuff
This commit is contained in:
parent
fe430b986b
commit
2bdc34f664
@ -1,5 +0,0 @@
|
||||
Source: fluidsynth
|
||||
Version: 2.1.4
|
||||
Homepage: https://github.com/FluidSynth/fluidsynth
|
||||
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.
|
||||
Build-Depends: glib
|
@ -8,9 +8,20 @@ vcpkg_from_github(
|
||||
force-x86-gentables.patch
|
||||
)
|
||||
|
||||
set(feature_list dbus jack libinstpatch libsndfile midishare opensles oboe oss sdl2 pulseaudio readline lash alsa systemd coreaudio coremidi dart)
|
||||
set(FEATURE_OPTIONS)
|
||||
foreach(_feature IN LISTS feature_list)
|
||||
list(APPEND FEATURE_OPTIONS -Denable-${_feature}:BOOL=OFF)
|
||||
endforeach()
|
||||
|
||||
vcpkg_find_acquire_program(PKGCONFIG)
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
OPTIONS -Denable-pkgconfig=0
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}
|
||||
OPTIONS_DEBUG
|
||||
-Denable-debug:BOOL=ON
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
@ -27,4 +38,4 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
endif()
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
10
ports/fluidsynth/vcpkg.json
Normal file
10
ports/fluidsynth/vcpkg.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "fluidsynth",
|
||||
"version": "2.1.4",
|
||||
"port-version": 1,
|
||||
"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",
|
||||
"dependencies": [
|
||||
"glib"
|
||||
]
|
||||
}
|
@ -1998,7 +1998,7 @@
|
||||
},
|
||||
"fluidsynth": {
|
||||
"baseline": "2.1.4",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"fmem": {
|
||||
"baseline": "c-libs-2ccee3d2fb",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "e0fa8719cb1348a12b177ffdba4943891bede664",
|
||||
"version": "2.1.4",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "3c4776e7b26493ea0fa2f825a2e855231805e978",
|
||||
"version-string": "2.1.4",
|
||||
|
Loading…
Reference in New Issue
Block a user