aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qtdeclarative
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/qtdeclarative')
-rw-r--r--vcpkg/ports/qtdeclarative/portfile.cmake36
-rw-r--r--vcpkg/ports/qtdeclarative/vcpkg.json28
2 files changed, 64 insertions, 0 deletions
diff --git a/vcpkg/ports/qtdeclarative/portfile.cmake b/vcpkg/ports/qtdeclarative/portfile.cmake
new file mode 100644
index 0000000..88fbdee
--- /dev/null
+++ b/vcpkg/ports/qtdeclarative/portfile.cmake
@@ -0,0 +1,36 @@
+set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
+include("${SCRIPT_PATH}/qt_install_submodule.cmake")
+
+vcpkg_buildpath_length_warning(44)
+
+set(${PORT}_PATCHES "")
+
+ set(TOOL_NAMES
+ qml
+ qmlaotstats
+ qmlcachegen
+ qmleasing
+ qmlformat
+ qmlimportscanner
+ qmllint
+ qmlplugindump
+ qmlpreview
+ qmlprofiler
+ qmlscene
+ qmltestrunner
+ qmltime
+ qmltyperegistrar
+ qmldom
+ qmltc
+ qmlls
+ qmljsrootgen
+ svgtoqml
+ )
+
+qt_install_submodule(PATCHES ${${PORT}_PATCHES}
+ TOOL_NAMES ${TOOL_NAMES}
+ CONFIGURE_OPTIONS
+ -DCMAKE_DISABLE_FIND_PACKAGE_LTTngUST:BOOL=ON
+ CONFIGURE_OPTIONS_RELEASE
+ CONFIGURE_OPTIONS_DEBUG
+ )
diff --git a/vcpkg/ports/qtdeclarative/vcpkg.json b/vcpkg/ports/qtdeclarative/vcpkg.json
new file mode 100644
index 0000000..c89b2c4
--- /dev/null
+++ b/vcpkg/ports/qtdeclarative/vcpkg.json
@@ -0,0 +1,28 @@
+{
+ "name": "qtdeclarative",
+ "version": "6.9.1",
+ "description": "Qt Declarative (Quick 2)",
+ "homepage": "https://www.qt.io/",
+ "license": null,
+ "dependencies": [
+ {
+ "name": "qtbase",
+ "default-features": false,
+ "features": [
+ "network",
+ "testlib"
+ ]
+ },
+ {
+ "name": "qtdeclarative",
+ "host": true,
+ "default-features": false
+ },
+ "qtlanguageserver",
+ {
+ "name": "qtshadertools",
+ "default-features": false
+ },
+ "qtsvg"
+ ]
+}