diff options
| author | Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> | 2021-04-15 22:53:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-15 13:53:35 -0700 |
| commit | 2bdc34f664583c138c617dc54729097840414735 (patch) | |
| tree | e6243424df603c702132652c34770639d13c4abb /ports/fluidsynth | |
| parent | fe430b986b5eb2dd6a2aca1a6fdaa32e213c1ba7 (diff) | |
| download | vcpkg-2bdc34f664583c138c617dc54729097840414735.tar.gz vcpkg-2bdc34f664583c138c617dc54729097840414735.zip | |
[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
Diffstat (limited to 'ports/fluidsynth')
| -rw-r--r-- | ports/fluidsynth/CONTROL | 5 | ||||
| -rw-r--r-- | ports/fluidsynth/portfile.cmake | 15 | ||||
| -rw-r--r-- | ports/fluidsynth/vcpkg.json | 10 |
3 files changed, 23 insertions, 7 deletions
diff --git a/ports/fluidsynth/CONTROL b/ports/fluidsynth/CONTROL deleted file mode 100644 index 470dc2c0b..000000000 --- a/ports/fluidsynth/CONTROL +++ /dev/null @@ -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
\ No newline at end of file diff --git a/ports/fluidsynth/portfile.cmake b/ports/fluidsynth/portfile.cmake index fed30db03..6bb27bb9c 100644 --- a/ports/fluidsynth/portfile.cmake +++ b/ports/fluidsynth/portfile.cmake @@ -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)
\ No newline at end of file +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) diff --git a/ports/fluidsynth/vcpkg.json b/ports/fluidsynth/vcpkg.json new file mode 100644 index 000000000..d00705ad4 --- /dev/null +++ b/ports/fluidsynth/vcpkg.json @@ -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" + ] +} |
