early-access version 2853
This commit is contained in:
26
externals/vcpkg/ports/qtvirtualkeyboard/hunspell_include_path_fix.patch
vendored
Executable file
26
externals/vcpkg/ports/qtvirtualkeyboard/hunspell_include_path_fix.patch
vendored
Executable file
@@ -0,0 +1,26 @@
|
||||
diff --git a/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.cpp b/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.cpp
|
||||
index 8ee4d7503..0fb4461d2 100644
|
||||
--- a/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.cpp
|
||||
+++ b/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.cpp
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
#include <QtHunspellInputMethod/private/hunspellinputmethod_p_p.h>
|
||||
#include <QtVirtualKeyboard/qvirtualkeyboardinputcontext.h>
|
||||
-#include <hunspell/hunspell.h>
|
||||
+#include <hunspell.h>
|
||||
#include <QStringList>
|
||||
#include <QDir>
|
||||
#include <QtCore/QLibraryInfo>
|
||||
diff --git a/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h b/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h
|
||||
index b79354429..a843bdfa6 100644
|
||||
--- a/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h
|
||||
+++ b/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h
|
||||
@@ -50,7 +50,7 @@
|
||||
#include <QLoggingCategory>
|
||||
#include <QStringDecoder>
|
||||
#include <QStringEncoder>
|
||||
-#include <hunspell/hunspell.h>
|
||||
+#include <hunspell.h>
|
||||
#include <QtHunspellInputMethod/qhunspellinputmethod_global.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
29
externals/vcpkg/ports/qtvirtualkeyboard/portfile.cmake
vendored
Executable file
29
externals/vcpkg/ports/qtvirtualkeyboard/portfile.cmake
vendored
Executable file
@@ -0,0 +1,29 @@
|
||||
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
||||
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
||||
|
||||
set(${PORT}_PATCHES hunspell_include_path_fix.patch)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
INVERTED_FEATURES
|
||||
"xcb" CMAKE_DISABLE_FIND_PACKAGE_XCB
|
||||
)
|
||||
|
||||
|
||||
if("hunspell" IN_LIST FEATURES)
|
||||
list(APPEND FEATURE_OPTIONS -DINPUT_vkb_hunspell:STRING=system)
|
||||
else()
|
||||
list(APPEND FEATURE_OPTIONS -DINPUT_vkb_hunspell=no)
|
||||
endif()
|
||||
if("t9write" IN_LIST FEATURES)
|
||||
list(APPEND FEATURE_OPTIONS -DINPUT_vkb_handwriting=t9write)
|
||||
else()
|
||||
list(APPEND FEATURE_OPTIONS -DINPUT_vkb_handwriting=no)
|
||||
endif()
|
||||
|
||||
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
|
||||
)
|
||||
48
externals/vcpkg/ports/qtvirtualkeyboard/vcpkg.json
vendored
Executable file
48
externals/vcpkg/ports/qtvirtualkeyboard/vcpkg.json
vendored
Executable file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"name": "qtvirtualkeyboard",
|
||||
"version": "6.3.0",
|
||||
"description": "SCXML (state machine notation) compiler and related tools",
|
||||
"homepage": "https://www.qt.io/",
|
||||
"license": null,
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "qtbase",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"gui"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "qtdeclarative",
|
||||
"default-features": false
|
||||
},
|
||||
{
|
||||
"name": "qtsvg",
|
||||
"default-features": false
|
||||
}
|
||||
],
|
||||
"default-features": [
|
||||
"default-features",
|
||||
"hunspell"
|
||||
],
|
||||
"features": {
|
||||
"default-features": {
|
||||
"description": "Platform-dependent default features"
|
||||
},
|
||||
"hunspell": {
|
||||
"description": "Use hunspell",
|
||||
"dependencies": [
|
||||
"hunspell"
|
||||
]
|
||||
},
|
||||
"t9write": {
|
||||
"description": "T9Write handwriting (commercial SDK requires port overlay)",
|
||||
"dependencies": [
|
||||
"t9write"
|
||||
]
|
||||
},
|
||||
"xcb": {
|
||||
"description": "XCB integration"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user