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/qtvirtualkeyboard/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/qtvirtualkeyboard/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/qtvirtualkeyboard/portfile.cmake | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/vcpkg/ports/qtvirtualkeyboard/portfile.cmake b/vcpkg/ports/qtvirtualkeyboard/portfile.cmake new file mode 100644 index 0000000..9a7cf7d --- /dev/null +++ b/vcpkg/ports/qtvirtualkeyboard/portfile.cmake @@ -0,0 +1,31 @@ +set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase") +include("${SCRIPT_PATH}/qt_install_submodule.cmake") + +set(${PORT}_PATCHES "hunspell_include_path_fix.patch") + +if("hunspell" IN_LIST FEATURES) + list(APPEND FEATURE_OPTIONS -DINPUT_vkb_hunspell:STRING=system) +else() + list(APPEND FEATURE_OPTIONS -DINPUT_vkb_hunspell=no) +endif() + +# +# To use t9write, overlay this port with the following line changed to: +# list(APPEND FEATURE_OPTIONS -DINPUT_vkb_handwriting=t9write) +# and add t9write as a dependency. +# +list(APPEND FEATURE_OPTIONS + -DINPUT_vkb_handwriting=no + -DCMAKE_DISABLE_FIND_PACKAGE_CerenceHwrAlphabetic:BOOL=ON + -DCMAKE_DISABLE_FIND_PACKAGE_CerenceHwrCjk:BOOL=ON + -DCMAKE_DISABLE_FIND_PACKAGE_CerenceXt9:BOOL=ON + -DCMAKE_DISABLE_FIND_PACKAGE_MyScript:BOOL=ON +) + +qt_install_submodule(PATCHES ${${PORT}_PATCHES} + CONFIGURE_OPTIONS ${FEATURE_OPTIONS} + -DINPUT_vkb_style:STRING=default + CONFIGURE_OPTIONS_RELEASE + CONFIGURE_OPTIONS_DEBUG -DFEATURE_vkb_record_trace_input=ON + -DFEATURE_vkb_sensitive_debug=ON + ) |