aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/qtlocation
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/qtlocation')
-rw-r--r--vcpkg/ports/qtlocation/portfile.cmake22
-rw-r--r--vcpkg/ports/qtlocation/vcpkg.json32
2 files changed, 54 insertions, 0 deletions
diff --git a/vcpkg/ports/qtlocation/portfile.cmake b/vcpkg/ports/qtlocation/portfile.cmake
new file mode 100644
index 0000000..d4afa6d
--- /dev/null
+++ b/vcpkg/ports/qtlocation/portfile.cmake
@@ -0,0 +1,22 @@
+set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
+include("${SCRIPT_PATH}/qt_install_submodule.cmake")
+
+# set(${PORT}_PATCHES)
+
+# vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
+# FEATURES
+# INVERTED_FEATURES
+ # "qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
+ # "nmea" CMAKE_DISABLE_FIND_PACKAGE_Qt6SerialPort
+ # "nmea" CMAKE_DISABLE_FIND_PACKAGE_Qt6Network
+# )
+
+# list(APPEND FEATURE_OPTIONS "-DCMAKE_DISABLE_FIND_PACKAGE_Gypsy=ON"
+ # "-DCMAKE_DISABLE_FIND_PACKAGE_Gconf=ON"
+# )
+
+qt_install_submodule(PATCHES ${${PORT}_PATCHES}
+ CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
+ CONFIGURE_OPTIONS_RELEASE
+ CONFIGURE_OPTIONS_DEBUG
+ )
diff --git a/vcpkg/ports/qtlocation/vcpkg.json b/vcpkg/ports/qtlocation/vcpkg.json
new file mode 100644
index 0000000..4b899de
--- /dev/null
+++ b/vcpkg/ports/qtlocation/vcpkg.json
@@ -0,0 +1,32 @@
+{
+ "name": "qtlocation",
+ "version": "6.9.1",
+ "description": "The Qt Location API helps you create viable mapping solutions using the data available from some of the popular location services.",
+ "homepage": "https://www.qt.io/",
+ "license": null,
+ "dependencies": [
+ {
+ "name": "qtbase",
+ "default-features": false
+ },
+ {
+ "name": "qtbase",
+ "default-features": false,
+ "features": [
+ "dbus"
+ ],
+ "platform": "linux"
+ },
+ {
+ "name": "qtpositioning",
+ "default-features": false,
+ "features": [
+ "qml"
+ ]
+ },
+ {
+ "name": "qtshadertools",
+ "default-features": false
+ }
+ ]
+}