aboutsummaryrefslogtreecommitdiff
path: root/ports/qtremoteobjects
diff options
context:
space:
mode:
Diffstat (limited to 'ports/qtremoteobjects')
-rw-r--r--ports/qtremoteobjects/portfile.cmake18
-rw-r--r--ports/qtremoteobjects/vcpkg.json42
2 files changed, 60 insertions, 0 deletions
diff --git a/ports/qtremoteobjects/portfile.cmake b/ports/qtremoteobjects/portfile.cmake
new file mode 100644
index 000000000..9969bd4ee
--- /dev/null
+++ b/ports/qtremoteobjects/portfile.cmake
@@ -0,0 +1,18 @@
+set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
+include("${SCRIPT_PATH}/qt_install_submodule.cmake")
+
+set(${PORT}_PATCHES)
+set(TOOL_NAMES repc)
+
+vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
+FEATURES
+INVERTED_FEATURES
+ "qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
+)
+
+qt_install_submodule(PATCHES ${${PORT}_PATCHES}
+ TOOL_NAMES ${TOOL_NAMES}
+ CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
+ CONFIGURE_OPTIONS_RELEASE
+ CONFIGURE_OPTIONS_DEBUG
+ )
diff --git a/ports/qtremoteobjects/vcpkg.json b/ports/qtremoteobjects/vcpkg.json
new file mode 100644
index 000000000..e8160b64a
--- /dev/null
+++ b/ports/qtremoteobjects/vcpkg.json
@@ -0,0 +1,42 @@
+{
+ "name": "qtremoteobjects",
+ "version-semver": "6.2.0",
+ "description": "Qt distributed object system",
+ "homepage": "https://www.qt.io/",
+ "dependencies": [
+ {
+ "name": "qtbase",
+ "default-features": false,
+ "features": [
+ "network"
+ ]
+ },
+ {
+ "name": "qtdeclarative",
+ "default-features": false
+ },
+ {
+ "name": "qtremoteobjects",
+ "host": true,
+ "default-features": false
+ }
+ ],
+ "features": {
+ "qml": {
+ "description": "Build QML imports",
+ "dependencies": [
+ {
+ "name": "qtbase",
+ "default-features": false,
+ "features": [
+ "gui"
+ ]
+ },
+ {
+ "name": "qtdeclarative",
+ "default-features": false
+ }
+ ]
+ }
+ }
+}