diff options
Diffstat (limited to 'ports')
| -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" + ] +} |
