diff options
| -rw-r--r-- | ports/fluidsynth/CONTROL | 5 | ||||
| -rw-r--r-- | ports/fluidsynth/portfile.cmake | 15 | ||||
| -rw-r--r-- | ports/fluidsynth/vcpkg.json | 10 | ||||
| -rw-r--r-- | versions/baseline.json | 2 | ||||
| -rw-r--r-- | versions/f-/fluidsynth.json | 5 |
5 files changed, 29 insertions, 8 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" + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 0e3fb6cb2..973c80f07 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1998,7 +1998,7 @@ }, "fluidsynth": { "baseline": "2.1.4", - "port-version": 0 + "port-version": 1 }, "fmem": { "baseline": "c-libs-2ccee3d2fb", diff --git a/versions/f-/fluidsynth.json b/versions/f-/fluidsynth.json index a766ae2ca..4df819b93 100644 --- a/versions/f-/fluidsynth.json +++ b/versions/f-/fluidsynth.json @@ -1,6 +1,11 @@ { "versions": [ { + "git-tree": "e0fa8719cb1348a12b177ffdba4943891bede664", + "version": "2.1.4", + "port-version": 1 + }, + { "git-tree": "3c4776e7b26493ea0fa2f825a2e855231805e978", "version-string": "2.1.4", "port-version": 0 |
