aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qtwayland
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/qtwayland')
-rw-r--r--vcpkg/ports/qtwayland/portfile.cmake25
-rw-r--r--vcpkg/ports/qtwayland/vcpkg.json28
2 files changed, 53 insertions, 0 deletions
diff --git a/vcpkg/ports/qtwayland/portfile.cmake b/vcpkg/ports/qtwayland/portfile.cmake
new file mode 100644
index 0000000..54d9d93
--- /dev/null
+++ b/vcpkg/ports/qtwayland/portfile.cmake
@@ -0,0 +1,25 @@
+set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
+include("${SCRIPT_PATH}/qt_install_submodule.cmake")
+
+message(WARNING "qtwayland requires libwayland-dev from your system package manager. You can install it with
+sudo apt install libwayland-dev
+on Ubuntu systems.")
+
+set(${PORT}_PATCHES)
+
+set(TOOL_NAMES qtwaylandscanner)
+
+
+vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
+FEATURES
+ "qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
+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/vcpkg/ports/qtwayland/vcpkg.json b/vcpkg/ports/qtwayland/vcpkg.json
new file mode 100644
index 0000000..73afedf
--- /dev/null
+++ b/vcpkg/ports/qtwayland/vcpkg.json
@@ -0,0 +1,28 @@
+{
+ "name": "qtwayland",
+ "version": "6.9.1",
+ "description": "A toolbox for making Qt based Wayland compositors",
+ "homepage": "https://www.qt.io/",
+ "license": null,
+ "supports": "!windows",
+ "dependencies": [
+ {
+ "name": "qtbase",
+ "default-features": false,
+ "features": [
+ "gui"
+ ]
+ }
+ ],
+ "features": {
+ "qml": {
+ "description": "Build QML imports",
+ "dependencies": [
+ {
+ "name": "qtdeclarative",
+ "default-features": false
+ }
+ ]
+ }
+ }
+}