Techt3o commited on
Commit
bc3054b
·
verified ·
1 Parent(s): 8a22781

a28231db09757ea58e87beb781ba9415cea3099d3a0aa20c9ddc9d0eb91a8e27

Browse files
Files changed (50) hide show
  1. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-scxml/portfile.cmake +2 -0
  2. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-scxml/vcpkg.json +13 -0
  3. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-sensors/portfile.cmake +2 -0
  4. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-sensors/vcpkg.json +13 -0
  5. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-serialbus/portfile.cmake +2 -0
  6. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-serialbus/vcpkg.json +13 -0
  7. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-serialport/portfile.cmake +2 -0
  8. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-serialport/vcpkg.json +12 -0
  9. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-speech/portfile.cmake +2 -0
  10. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-speech/vcpkg.json +18 -0
  11. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-svg/portfile.cmake +2 -0
  12. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-svg/static_svg_link_fix.patch +24 -0
  13. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-svg/vcpkg.json +12 -0
  14. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-tools/icudt-debug-suffix.patch +13 -0
  15. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-tools/portfile.cmake +9 -0
  16. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-tools/vcpkg.json +17 -0
  17. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-translations/portfile.cmake +3 -0
  18. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-translations/vcpkg.json +13 -0
  19. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-virtualkeyboard/portfile.cmake +2 -0
  20. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-virtualkeyboard/vcpkg.json +12 -0
  21. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-wayland/portfile.cmake +8 -0
  22. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-wayland/vcpkg.json +13 -0
  23. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webchannel/portfile.cmake +2 -0
  24. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webchannel/vcpkg.json +13 -0
  25. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/build_1.patch +12 -0
  26. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/build_2.patch +24 -0
  27. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/common.pri.patch +12 -0
  28. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/gl.patch +13 -0
  29. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/portfile.cmake +57 -0
  30. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/vcpkg.json +34 -0
  31. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webglplugin/portfile.cmake +3 -0
  32. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webglplugin/vcpkg.json +12 -0
  33. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-websockets/portfile.cmake +2 -0
  34. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-websockets/vcpkg.json +13 -0
  35. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webview/portfile.cmake +2 -0
  36. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webview/vcpkg.json +9 -0
  37. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-winextras/patches/require_quick.patch +12 -0
  38. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-winextras/patches/unrequire_quick.patch +12 -0
  39. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-winextras/portfile.cmake +12 -0
  40. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-winextras/vcpkg.json +23 -0
  41. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-x11extras/portfile.cmake +2 -0
  42. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-x11extras/vcpkg.json +12 -0
  43. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-xmlpatterns/portfile.cmake +5 -0
  44. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-xmlpatterns/vcpkg.json +13 -0
  45. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5compat/portfile.cmake +35 -0
  46. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5compat/vcpkg.json +81 -0
  47. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtactiveqt/portfile.cmake +36 -0
  48. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtactiveqt/vcpkg.json +35 -0
  49. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtapplicationmanager/bump-cmake-version.patch +11 -0
  50. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtapplicationmanager/portfile.cmake +62 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-scxml/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-scxml/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-scxml",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 SCXML Module - Provides classes and tools for creating state machines from SCXML files and embedding them in applications",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ },
11
+ "qt5-declarative"
12
+ ]
13
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-sensors/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-sensors/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-sensors",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 Sensors module - Provides access to sensor hardware and motion gesture recognition.",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ },
11
+ "qt5-declarative"
12
+ ]
13
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-serialbus/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-serialbus/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-serialbus",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 Serialbus Module;",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ },
11
+ "qt5-serialport"
12
+ ]
13
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-serialport/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-serialport/vcpkg.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-serialport",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 Serial Port - provides access to hardware and virtual serial ports",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ }
11
+ ]
12
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-speech/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-speech/vcpkg.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-speech",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 Speech Module",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "atlmfc",
9
+ "platform": "windows"
10
+ },
11
+ {
12
+ "name": "qt5-base",
13
+ "default-features": false
14
+ },
15
+ "qt5-declarative",
16
+ "qt5-multimedia"
17
+ ]
18
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-svg/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation(PATCHES "static_svg_link_fix.patch")
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-svg/static_svg_link_fix.patch ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/plugins/iconengines/svgiconengine/svgiconengine.pro b/src/plugins/iconengines/svgiconengine/svgiconengine.pro
2
+ index bfc739fa8..c0df08194 100644
3
+ --- a/src/plugins/iconengines/svgiconengine/svgiconengine.pro
4
+ +++ b/src/plugins/iconengines/svgiconengine/svgiconengine.pro
5
+ @@ -8,6 +8,6 @@ OTHER_FILES += qsvgiconengine-nocompress.json
6
+ QT += svg core-private gui-private
7
+
8
+ PLUGIN_TYPE = iconengines
9
+ -PLUGIN_EXTENDS = svg
10
+ +PLUGIN_EXTENDS = gui
11
+ PLUGIN_CLASS_NAME = QSvgIconPlugin
12
+ load(qt_plugin)
13
+ diff --git a/src/plugins/imageformats/svg/svg.pro b/src/plugins/imageformats/svg/svg.pro
14
+ index 9db6a9ab0..dcfc4b555 100644
15
+ --- a/src/plugins/imageformats/svg/svg.pro
16
+ +++ b/src/plugins/imageformats/svg/svg.pro
17
+ @@ -6,6 +6,6 @@ SOURCES += main.cpp \
18
+ QT += svg
19
+
20
+ PLUGIN_TYPE = imageformats
21
+ -PLUGIN_EXTENDS = svg
22
+ +PLUGIN_EXTENDS = gui
23
+ PLUGIN_CLASS_NAME = QSvgPlugin
24
+ load(qt_plugin)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-svg/vcpkg.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-svg",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 SVG Module - provides classes for displaying the contents of SVG files",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ }
11
+ ]
12
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-tools/icudt-debug-suffix.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp
2
+ index 4e480bb..e15f076 100644
3
+ --- a/src/windeployqt/main.cpp
4
+ +++ b/src/windeployqt/main.cpp
5
+ @@ -1324,7 +1324,7 @@ static DeployResult deploy(const Options &options,
6
+ const QString icuVersion = icuLibs.front().mid(index, numberExpression.matchedLength());
7
+ if (optVerboseLevel > 1)
8
+ std::wcout << "Adding ICU version " << icuVersion << '\n';
9
+ - icuLibs.push_back(QStringLiteral("icudt") + icuVersion + QLatin1String(windowsSharedLibrarySuffix));
10
+ + icuLibs.push_back(QStringLiteral("icudt") + (result.isDebug && platformHasDebugSuffix(options.platform) ? QStringLiteral("d") : QString()) + icuVersion + QLatin1String(windowsSharedLibrarySuffix));
11
+ }
12
+ for (const QString &icuLib : qAsConst(icuLibs)) {
13
+ const QString icuPath = findInPath(icuLib);
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-tools/portfile.cmake ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+
3
+ qt_submodule_installation(PATCHES
4
+ icudt-debug-suffix.patch # https://bugreports.qt.io/browse/QTBUG-87677
5
+ )
6
+
7
+ if(EXISTS "${CURRENT_INSTALLED_DIR}/plugins/platforms/qminimal${VCPKG_TARGET_SHARED_LIBRARY_SUFFIX}")
8
+ file(INSTALL "${CURRENT_INSTALLED_DIR}/plugins/platforms/qminimal${VCPKG_TARGET_SHARED_LIBRARY_SUFFIX}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/plugins/platforms")
9
+ endif()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-tools/vcpkg.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-tools",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 Tools Module; Includes deployment tools and helpers, Qt Designer, Assistant, and other applications",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-activeqt",
9
+ "platform": "windows"
10
+ },
11
+ {
12
+ "name": "qt5-base",
13
+ "default-features": false
14
+ },
15
+ "qt5-declarative"
16
+ ]
17
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-translations/portfile.cmake ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
2
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
3
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-translations/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-translations",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 translations module",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ },
11
+ "qt5-tools"
12
+ ]
13
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-virtualkeyboard/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-virtualkeyboard/vcpkg.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-virtualkeyboard",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 Virtual Keyboard Module - A framework for implementing different input methods. Supports localized keyboard layouts and custom visual themes",
5
+ "license": null,
6
+ "dependencies": [
7
+ "qt5-multimedia",
8
+ "qt5-quickcontrols",
9
+ "qt5-quickcontrols",
10
+ "qt5-svg"
11
+ ]
12
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-wayland/portfile.cmake ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #Will not build on Windows!
2
+ message(WARNING "This port is just a placeholder until the required wayland libraries have been added into VCPKG! \
3
+ As such the build will most likely fail until your system has the required wayland libraries installed (untested)")
4
+ message(WARNING "qtwayland requires libwayland-dev from your system package manager. You can install it with
5
+ sudo apt install libwayland-dev
6
+ on Ubuntu systems.")
7
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
8
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-wayland/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-wayland",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 wayland Module;",
5
+ "license": null,
6
+ "supports": "linux",
7
+ "dependencies": [
8
+ {
9
+ "name": "qt5-base",
10
+ "default-features": false
11
+ }
12
+ ]
13
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webchannel/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webchannel/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-webchannel",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 Web Channel module - Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients.",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ },
11
+ "qt5-declarative"
12
+ ]
13
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/build_1.patch ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/3rdparty/chromium/third_party/angle/BUILD.gn b/src/3rdparty/chromium/third_party/angle/BUILD.gn
2
+ index fb57176..fa84cc5 100644
3
+ --- a/src/3rdparty/chromium/third_party/angle/BUILD.gn
4
+ +++ b/src/3rdparty/chromium/third_party/angle/BUILD.gn
5
+ @@ -131,7 +131,6 @@ config("extra_warnings") {
6
+ # Enable more default warnings on Windows.
7
+ if (is_win) {
8
+ cflags += [
9
+ - "/we4244", # Conversion: possible loss of data.
10
+ "/we4312", # Conversion: greater size.
11
+ "/we4456", # Variable shadowing.
12
+ "/we4458", # declaration hides class member.
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/build_2.patch ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/circular_queue.h b/src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/circular_queue.h
2
+ index 18ca770..5585a67 100644
3
+ --- a/src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/circular_queue.h
4
+ +++ b/src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/circular_queue.h
5
+ @@ -74,16 +74,16 @@ class CircularQueue {
6
+ return queue_->Get(pos_);
7
+ }
8
+
9
+ - const T* operator->() const {
10
+ + T* operator->() const {
11
+ return const_cast<CircularQueue<T>::Iterator*>(this)->operator->();
12
+ }
13
+
14
+ T& operator*() { return *(operator->()); }
15
+ - const T& operator*() const { return *(operator->()); }
16
+ + T& operator*() const { return *(operator->()); }
17
+
18
+ value_type& operator[](difference_type i) { return *(*this + i); }
19
+
20
+ - const value_type& operator[](difference_type i) const {
21
+ + value_type& operator[](difference_type i) const {
22
+ return const_cast<CircularQueue<T>::Iterator&>(*this)[i];
23
+ }
24
+
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/common.pri.patch ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/buildtools/config/common.pri b/src/buildtools/config/common.pri
2
+ #latest diff --git a/src/buildtools/config/common.pri b/src/buildtools/config/common.pri
3
+ index 97d39535c..dc09da43a 100644
4
+ --- a/src/buildtools/config/common.pri
5
+ +++ b/src/buildtools/config/common.pri
6
+ @@ -57,5 +57,5 @@
7
+ precompile_header {
8
+ - gn_args += enable_precompiled_headers=true
9
+ + gn_args += enable_precompiled_headers=false
10
+ } else {
11
+ gn_args += enable_precompiled_headers=false
12
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/gl.patch ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/3rdparty/chromium/ui/gl/gl_bindings_autogen_gl.h b/src/3rdparty/chromium/ui/gl/gl_bindings_autogen_gl.h
2
+ index d54583e8b..1921185f8 100644
3
+ --- a/src/3rdparty/chromium/ui/gl/gl_bindings_autogen_gl.h
4
+ +++ b/src/3rdparty/chromium/ui/gl/gl_bindings_autogen_gl.h
5
+ @@ -16,7 +16,7 @@
6
+ namespace gl {
7
+
8
+ class GLContext;
9
+ -
10
+ +typedef void *GLeglImageOES;
11
+ typedef void(GL_BINDING_CALL* glActiveShaderProgramProc)(GLuint pipeline,
12
+ GLuint program);
13
+ typedef void(GL_BINDING_CALL* glActiveTextureProc)(GLenum texture);
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/portfile.cmake ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
2
+ string(LENGTH "${CURRENT_BUILDTREES_DIR}" buildtrees_path_length)
3
+ if(buildtrees_path_length GREATER 35 AND CMAKE_HOST_WIN32)
4
+ vcpkg_buildpath_length_warning(35)
5
+ message(FATAL_ERROR "terminating due to source length.")
6
+ endif()
7
+ #set(VCPKG_BUILD_TYPE release) #You probably want to set this to reduce build type and space requirements
8
+ message(STATUS "${PORT} requires a lot of free disk space (>100GB), ram (>8 GB) and time (>2h per configuration) to be successfully build.\n\
9
+ -- As such ${PORT} is currently experimental.\n\
10
+ -- If ${PORT} fails post build validation please open up an issue. \n\
11
+ -- If it fails due to post validation the successfully installed files can be found in ${CURRENT_PACKAGES_DIR} \n\
12
+ -- and just need to be copied into ${CURRENT_INSTALLED_DIR}")
13
+ if(NOT VCPKG_TARGET_IS_WINDOWS)
14
+ message(STATUS "If ${PORT} directly fails ${PORT} might require additional prerequisites on Linux and OSX. Please check the configure logs.\n")
15
+ endif()
16
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
17
+
18
+ vcpkg_find_acquire_program(FLEX)
19
+ vcpkg_find_acquire_program(BISON)
20
+ vcpkg_find_acquire_program(GPERF)
21
+ vcpkg_find_acquire_program(PYTHON2)
22
+ vcpkg_find_acquire_program(NINJA)
23
+ get_filename_component(FLEX_DIR "${FLEX}" DIRECTORY )
24
+ get_filename_component(BISON_DIR "${BISON}" DIRECTORY )
25
+ get_filename_component(PYTHON2_DIR "${PYTHON2}" DIRECTORY )
26
+ get_filename_component(GPERF_DIR "${GPERF}" DIRECTORY )
27
+ get_filename_component(NINJA_DIR "${NINJA}" DIRECTORY )
28
+
29
+ if(WIN32) # WIN32 HOST probably has win_flex and win_bison!
30
+ if(NOT EXISTS "${FLEX_DIR}/flex${VCPKG_HOST_EXECUTABLE_SUFFIX}")
31
+ file(CREATE_LINK "${FLEX}" "${FLEX_DIR}/flex${VCPKG_HOST_EXECUTABLE_SUFFIX}")
32
+ endif()
33
+ if(NOT EXISTS "${BISON_DIR}/BISON${VCPKG_HOST_EXECUTABLE_SUFFIX}")
34
+ file(CREATE_LINK "${BISON}" "${BISON_DIR}/bison${VCPKG_HOST_EXECUTABLE_SUFFIX}")
35
+ endif()
36
+ endif()
37
+
38
+ vcpkg_add_to_path(PREPEND "${FLEX_DIR}")
39
+ vcpkg_add_to_path(PREPEND "${BISON_DIR}")
40
+ vcpkg_add_to_path(PREPEND "${PYTHON2_DIR}")
41
+ vcpkg_add_to_path(PREPEND "${GPERF_DIR}")
42
+ vcpkg_add_to_path(PREPEND "${NINJA_DIR}")
43
+
44
+ set(PATCHES common.pri.patch
45
+ gl.patch
46
+ build_1.patch
47
+ build_2.patch)
48
+
49
+ set(OPTIONS)
50
+ if("proprietary-codecs" IN_LIST FEATURES)
51
+ list(APPEND OPTIONS "-webengine-proprietary-codecs")
52
+ endif()
53
+ if(NOT VCPKG_TARGET_IS_WINDOWS)
54
+ list(APPEND OPTIONS "-webengine-system-libwebp" "-webengine-system-ffmpeg" "-webengine-system-icu")
55
+ endif()
56
+
57
+ qt_submodule_installation(PATCHES ${PATCHES} BUILD_OPTIONS ${OPTIONS})
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webengine/vcpkg.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-webengine",
3
+ "version": "5.15.3",
4
+ "port-version": 1,
5
+ "description": "Qt5 webengine Module;",
6
+ "license": null,
7
+ "supports": "!static",
8
+ "dependencies": [
9
+ {
10
+ "name": "atlmfc",
11
+ "platform": "windows"
12
+ },
13
+ {
14
+ "name": "ffmpeg",
15
+ "default-features": false,
16
+ "platform": "!windows"
17
+ },
18
+ {
19
+ "name": "qt5-base",
20
+ "default-features": false
21
+ },
22
+ "qt5-declarative",
23
+ "qt5-location",
24
+ "qt5-quickcontrols",
25
+ "qt5-quickcontrols2",
26
+ "qt5-tools",
27
+ "qt5-webchannel"
28
+ ],
29
+ "features": {
30
+ "proprietary-codecs": {
31
+ "description": "Enable proprietary-codecs in qtwebengine"
32
+ }
33
+ }
34
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webglplugin/portfile.cmake ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
2
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
3
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webglplugin/vcpkg.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-webglplugin",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 webglplugin Module;",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ }
11
+ ]
12
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-websockets/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-websockets/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-websockets",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 Web Sockets Module - provides WebSocket communication compliant with RFC 6455",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ },
11
+ "qt5-declarative"
12
+ ]
13
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webview/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-webview/vcpkg.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-webview",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 WebView module - Provides a way to display web content in a QML application without necessarily including a full web browser stack by using native APIs where it makes sense.",
5
+ "license": null,
6
+ "dependencies": [
7
+ "qt5-declarative"
8
+ ]
9
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-winextras/patches/require_quick.patch ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/src.pro b/src/src.pro
2
+ index fceeb21..8a242d0 100644
3
+ --- a/src/src.pro
4
+ +++ b/src/src.pro
5
+ @@ -2,6 +2,7 @@ win32 {
6
+ TEMPLATE = subdirs
7
+ CONFIG += ordered
8
+ SUBDIRS += winextras
9
+ + SUBDIRS += imports
10
+ } else {
11
+ # fake project for creating the documentation
12
+ TEMPLATE = aux
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-winextras/patches/unrequire_quick.patch ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/src.pro b/src/src.pro
2
+ index fceeb21..7e4835b 100644
3
+ --- a/src/src.pro
4
+ +++ b/src/src.pro
5
+ @@ -2,7 +2,6 @@ win32 {
6
+ TEMPLATE = subdirs
7
+ CONFIG += ordered
8
+ SUBDIRS += winextras
9
+ - qtHaveModule(quick): SUBDIRS += imports
10
+ } else {
11
+ # fake project for creating the documentation
12
+ TEMPLATE = aux
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-winextras/portfile.cmake ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ include("${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake")
2
+
3
+ vcpkg_list(SET _patches
4
+ "patches/unrequire_quick.patch"
5
+ )
6
+ if("declarative" IN_LIST FEATURES)
7
+ list(APPEND _patches
8
+ "patches/require_quick.patch"
9
+ )
10
+ endif()
11
+
12
+ qt_submodule_installation(PATCHES ${_patches})
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-winextras/vcpkg.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-winextras",
3
+ "version": "5.15.3",
4
+ "port-version": 1,
5
+ "description": "Qt5 Windows Extras Module. Provides platform-specific APIs for Windows.",
6
+ "license": null,
7
+ "supports": "windows",
8
+ "dependencies": [
9
+ "atlmfc",
10
+ {
11
+ "name": "qt5-base",
12
+ "default-features": false
13
+ }
14
+ ],
15
+ "features": {
16
+ "declarative": {
17
+ "description": "Build Qt.Quick imports",
18
+ "dependencies": [
19
+ "qt5-declarative"
20
+ ]
21
+ }
22
+ }
23
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-x11extras/portfile.cmake ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-x11extras/vcpkg.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-x11extras",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 x11extras Module;",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ }
11
+ ]
12
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-xmlpatterns/portfile.cmake ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
2
+ qt_submodule_installation()
3
+ if(EXISTS "${CURRENT_INSTALLED_DIR}/plugins/platforms/qminimal${VCPKG_TARGET_SHARED_LIBRARY_SUFFIX}")
4
+ file(INSTALL "${CURRENT_INSTALLED_DIR}/plugins/platforms/qminimal${VCPKG_TARGET_SHARED_LIBRARY_SUFFIX}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/plugins/platforms")
5
+ endif()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-xmlpatterns/vcpkg.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5-xmlpatterns",
3
+ "version": "5.15.3",
4
+ "description": "Qt5 XML Patterns Module - Support for XPath, XQuery, XSLT and XML schema validation",
5
+ "license": null,
6
+ "dependencies": [
7
+ {
8
+ "name": "qt5-base",
9
+ "default-features": false
10
+ },
11
+ "qt5-declarative"
12
+ ]
13
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5compat/portfile.cmake ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
2
+ include("${SCRIPT_PATH}/qt_install_submodule.cmake")
3
+
4
+ set(${PORT}_PATCHES)
5
+
6
+ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
7
+ FEATURES
8
+ "textcodec" FEATURE_textcodec
9
+ "codecs" FEATURE_codecs
10
+ "big-codecs" FEATURE_big_codecs
11
+ "iconv" FEATURE_iconv
12
+ "iconv" CMAKE_DISABLE_FIND_PACKAGE_ICU
13
+ #"iconv" CMAKE_REQUIRE_FIND_PACKAGE_WrapIconv
14
+ "qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
15
+ INVERTED_FEATURES
16
+ "iconv" CMAKE_DISABLE_FIND_PACKAGE_WrapIconv
17
+ "qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
18
+ )
19
+
20
+ #For iconv feature to work the following must be true:
21
+ #CONDITION NOT FEATURE_icu AND FEATURE_textcodec AND NOT WIN32 AND NOT QNX AND NOT ANDROID AND NOT APPLE AND WrapIconv_FOUND
22
+ #TODO: check if qtbase was built with ICU and fail if iconv is given here.
23
+
24
+ set(TOOL_NAMES)
25
+ qt_install_submodule(PATCHES ${${PORT}_PATCHES}
26
+ TOOL_NAMES ${TOOL_NAMES}
27
+ CONFIGURE_OPTIONS
28
+ ${FEATURE_OPTIONS}
29
+ CONFIGURE_OPTIONS_RELEASE
30
+ CONFIGURE_OPTIONS_DEBUG
31
+ )
32
+
33
+ #For my documentation:
34
+ # find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
35
+ # find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Network Xml Gui Quick)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5compat/vcpkg.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qt5compat",
3
+ "version": "6.2.4",
4
+ "description": "The module contains unsupported Qt 5 APIs",
5
+ "homepage": "https://www.qt.io/",
6
+ "license": null,
7
+ "dependencies": [
8
+ {
9
+ "name": "qtbase",
10
+ "default-features": false
11
+ }
12
+ ],
13
+ "default-features": [
14
+ "big-codecs",
15
+ "codecs",
16
+ "default-features",
17
+ "qml",
18
+ "textcodec"
19
+ ],
20
+ "features": {
21
+ "big-codecs": {
22
+ "description": "Supports big codecs, e.g. CJK.",
23
+ "dependencies": [
24
+ {
25
+ "name": "qt5compat",
26
+ "default-features": false,
27
+ "features": [
28
+ "textcodec"
29
+ ]
30
+ }
31
+ ]
32
+ },
33
+ "codecs": {
34
+ "description": "Supports non-unicode text conversions.",
35
+ "dependencies": [
36
+ {
37
+ "name": "qt5compat",
38
+ "default-features": false,
39
+ "features": [
40
+ "textcodec"
41
+ ]
42
+ }
43
+ ]
44
+ },
45
+ "default-features": {
46
+ "description": "Platform-dependent default features"
47
+ },
48
+ "iconv": {
49
+ "description": "Provides internationalization on Unix.",
50
+ "dependencies": [
51
+ "libiconv",
52
+ {
53
+ "name": "qt5compat",
54
+ "default-features": false,
55
+ "features": [
56
+ "textcodec"
57
+ ]
58
+ }
59
+ ]
60
+ },
61
+ "qml": {
62
+ "description": "Build QML imports",
63
+ "dependencies": [
64
+ {
65
+ "name": "qtbase",
66
+ "default-features": false,
67
+ "features": [
68
+ "gui"
69
+ ]
70
+ },
71
+ {
72
+ "name": "qtdeclarative",
73
+ "default-features": false
74
+ }
75
+ ]
76
+ },
77
+ "textcodec": {
78
+ "description": "Supports conversions between text encodings."
79
+ }
80
+ }
81
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtactiveqt/portfile.cmake ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
2
+ include("${SCRIPT_PATH}/qt_install_submodule.cmake")
3
+
4
+ set(${PORT}_PATCHES)
5
+
6
+ set(NO_BIN_AND_TOOLS FALSE)
7
+ if(VCPKG_TARGET_ARCHITECTURE MATCHES "^arm" AND VCPKG_TARGET_IS_WINDOWS)
8
+ set(NO_BIN_AND_TOOLS TRUE)
9
+ endif()
10
+
11
+ if(NOT NO_BIN_AND_TOOLS)
12
+ set(TOOL_NAMES
13
+ dumpcpp
14
+ dumpdoc
15
+ idc
16
+ testcon
17
+ )
18
+ endif()
19
+
20
+ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
21
+ FEATURES
22
+ "qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
23
+ INVERTED_FEATURES
24
+ "qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
25
+ )
26
+
27
+ qt_install_submodule(PATCHES ${${PORT}_PATCHES}
28
+ TOOL_NAMES ${TOOL_NAMES}
29
+ CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
30
+ CONFIGURE_OPTIONS_RELEASE
31
+ CONFIGURE_OPTIONS_DEBUG
32
+ )
33
+
34
+ if(NO_BIN_AND_TOOLS)
35
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin" "${CURRENT_PACKAGES_DIR}/tools")
36
+ endif()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtactiveqt/vcpkg.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qtactiveqt",
3
+ "version": "6.2.4",
4
+ "description": "ActiveQt",
5
+ "homepage": "https://www.qt.io/",
6
+ "license": null,
7
+ "supports": "windows",
8
+ "dependencies": [
9
+ {
10
+ "name": "qtactiveqt",
11
+ "host": true,
12
+ "default-features": false
13
+ },
14
+ {
15
+ "$comment": "also requires printsupport!",
16
+ "name": "qtbase",
17
+ "default-features": false,
18
+ "features": [
19
+ "gui",
20
+ "widgets"
21
+ ]
22
+ }
23
+ ],
24
+ "features": {
25
+ "qml": {
26
+ "description": "Build QML imports",
27
+ "dependencies": [
28
+ {
29
+ "name": "qtdeclarative",
30
+ "default-features": false
31
+ }
32
+ ]
33
+ }
34
+ }
35
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtapplicationmanager/bump-cmake-version.patch ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index f2236c0..904c5b7 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -1,5 +1,5 @@
6
+
7
+ -cmake_minimum_required(VERSION 3.16)
8
+ +cmake_minimum_required(VERSION 3.19)
9
+
10
+ include(.cmake.conf)
11
+ project(QtApplicationManager # special case
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtapplicationmanager/portfile.cmake ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
2
+ include("${SCRIPT_PATH}/qt_install_submodule.cmake")
3
+
4
+ set(${PORT}_PATCHES
5
+ bump-cmake-version.patch
6
+ wrapper-fixes.patch
7
+ )
8
+
9
+ set(TOOL_NAMES appman
10
+ appman-controller
11
+ appman-dumpqmltypes
12
+ appman-packager
13
+ appman-qmltestrunner
14
+ appman-launcher-qml
15
+ package-uploader
16
+ )
17
+
18
+ qt_download_submodule(PATCHES ${${PORT}_PATCHES})
19
+ if(QT_UPDATE_VERSION)
20
+ return()
21
+ endif()
22
+
23
+ set(qt_plugindir ${QT6_DIRECTORY_PREFIX}plugins)
24
+ set(qt_qmldir ${QT6_DIRECTORY_PREFIX}qml)
25
+ qt_cmake_configure(${_opt}
26
+ OPTIONS
27
+ -DINPUT_libarchive=system
28
+ -DINPUT_libyaml=system
29
+ -DFEATURE_am_system_libyaml=ON
30
+ -DFEATURE_am_system_libarchive=ON
31
+ OPTIONS_DEBUG
32
+ OPTIONS_RELEASE)
33
+
34
+ ### Need to fix one post-build.bat; Couldn't find the place where it gets generated!
35
+ if(VCPKG_TARGET_IS_WINDOWS)
36
+ set(scriptfile "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/src/tools/dumpqmltypes/CMakeFiles/appman-dumpqmltypes.dir/post-build.bat")
37
+ file(TO_NATIVE_PATH "${CURRENT_INSTALLED_DIR}" CURRENT_INSTALLED_DIR_NATIVE)
38
+ if(EXISTS "${scriptfile}")
39
+ vcpkg_replace_string("${scriptfile}" "${CURRENT_INSTALLED_DIR_NATIVE}\\bin" "${CURRENT_INSTALLED_DIR_NATIVE}\\debug\\bin")
40
+ endif()
41
+ endif()
42
+ vcpkg_cmake_install(ADD_BIN_TO_PATH)
43
+
44
+ qt_fixup_and_cleanup(TOOL_NAMES ${TOOL_NAMES})
45
+
46
+ qt_install_copyright("${SOURCE_PATH}")
47
+
48
+ # Switch to a more complicated script due to the one post-build script which needed fixing after configure.
49
+ # If somebody finds out how/where post-build.bat gets generated please fix it there instead.
50
+ #qt_install_submodule(PATCHES ${${PORT}_PATCHES}
51
+ # TOOL_NAMES ${TOOL_NAMES}
52
+ # CONFIGURE_OPTIONS
53
+ # --trace-expand
54
+ # -DINPUT_libarchive=system
55
+ # -DINPUT_libyaml=system
56
+ # -DFEATURE_am_system_libyaml=ON
57
+ # -DFEATURE_am_system_libarchive=ON
58
+ # CONFIGURE_OPTIONS_RELEASE
59
+ # CONFIGURE_OPTIONS_DEBUG
60
+ # )
61
+
62
+ set(VCPKG_POLICY_MISMATCHED_NUMBER_OF_BINARIES enabled) #Debug tracing libraries are only build if CMAKE_BUILD_TYPE is equal to Debug