diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/qtspeech | |
Diffstat (limited to 'vcpkg/ports/qtspeech')
| -rw-r--r-- | vcpkg/ports/qtspeech/portfile.cmake | 29 | ||||
| -rw-r--r-- | vcpkg/ports/qtspeech/vcpkg.json | 26 |
2 files changed, 55 insertions, 0 deletions
diff --git a/vcpkg/ports/qtspeech/portfile.cmake b/vcpkg/ports/qtspeech/portfile.cmake new file mode 100644 index 0000000..3b411aa --- /dev/null +++ b/vcpkg/ports/qtspeech/portfile.cmake @@ -0,0 +1,29 @@ +set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase") +include("${SCRIPT_PATH}/qt_install_submodule.cmake") + +set(${PORT}_PATCHES) +set(TOOL_NAMES) + +# Note: none of these features are implemented in the manifest yet +# flite -> Missing port for flite +# speechd -> missing port for speechd +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + "flite" FEATURE_flite + "flite-alsa" FEATURE_flite-alsa + "speechd" FEATURE_speechd +INVERTED_FEATURES + "flite" CMAKE_DISABLE_FIND_PACKAGE_Flite + "flite-alsa" CMAKE_DISABLE_FIND_PACKAGE_Alsa + "speechd" CMAKE_DISABLE_FIND_PACKAGE_SpeechDispatcher +) + +qt_install_submodule(PATCHES ${${PORT}_PATCHES} + TOOL_NAMES ${TOOL_NAMES} + CONFIGURE_OPTIONS + ${FEATURE_OPTIONS} + -DCMAKE_FIND_PACKAGE_TARGETS_GLOBAL=ON + CONFIGURE_OPTIONS_MAYBE_UNUSED + QT_BUILD_EXAMPLES + QT_USE_DEFAULT_CMAKE_OPTIMIZATION_FLAGS + ) diff --git a/vcpkg/ports/qtspeech/vcpkg.json b/vcpkg/ports/qtspeech/vcpkg.json new file mode 100644 index 0000000..c6aa918 --- /dev/null +++ b/vcpkg/ports/qtspeech/vcpkg.json @@ -0,0 +1,26 @@ +{ + "name": "qtspeech", + "version": "6.9.1", + "description": "The Qt Speech module enables a Qt application to support accessibility features such as text-to-speech, which is useful for end-users who are visually challenged or cannot access the application for whatever reason.", + "homepage": "https://www.qt.io/", + "license": null, + "supports": "!(windows & x86)", + "dependencies": [ + { + "name": "qtbase", + "default-features": false, + "features": [ + "gui", + "widgets" + ] + }, + { + "name": "qtdeclarative", + "default-features": false + }, + { + "name": "qtmultimedia", + "default-features": false + } + ] +} |