Spaces:
Sleeping
Sleeping
fb8cc2d0e82615694bd91d410a4bc223e584e362150d258f5e02dc6238e9393b
Browse files- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5coreaddons/portfile.cmake +37 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5coreaddons/vcpkg.json +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5crash/portfile.cmake +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5crash/vcpkg.json +23 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5dbusaddons/portfile.cmake +33 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5dbusaddons/vcpkg.json +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5declarative/portfile.cmake +46 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5declarative/vcpkg.json +44 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5diagram/portfile.cmake +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5diagram/vcpkg.json +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5globalaccel/portfile.cmake +33 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5globalaccel/vcpkg.json +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5guiaddons/fix_cmake.patch +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5guiaddons/portfile.cmake +44 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5guiaddons/vcpkg.json +49 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5holidays/portfile.cmake +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5holidays/vcpkg.json +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5i18n/fix_static_builds.patch +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5i18n/portfile.cmake +38 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5i18n/vcpkg.json +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5iconthemes/portfile.cmake +49 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5iconthemes/vcpkg.json +40 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5itemmodels/portfile.cmake +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5itemmodels/vcpkg.json +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5itemviews/portfile.cmake +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5itemviews/vcpkg.json +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5jobwidgets/portfile.cmake +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5jobwidgets/vcpkg.json +24 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5kcmutils/portfile.cmake +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5kcmutils/vcpkg.json +34 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5kio/fix_libiconv.patch +201 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5kio/portfile.cmake +65 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5kio/vcpkg.json +94 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5newstuff/portfile.cmake +38 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5newstuff/vcpkg.json +40 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5notifications/portfile.cmake +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5notifications/vcpkg.json +45 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5package/portfile.cmake +32 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5package/vcpkg.json +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5plotting/portfile.cmake +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5plotting/vcpkg.json +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5service/portfile.cmake +59 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5service/vcpkg.json +34 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5solid/fix-libmount.patch +15 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5solid/portfile.cmake +67 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5solid/vcpkg.json +43 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5sonnet/portfile.cmake +47 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5sonnet/vcpkg.json +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5syntaxhighlighting/portfile.cmake +39 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5syntaxhighlighting/vcpkg.json +20 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5coreaddons/portfile.cmake
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kcoreaddons
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 60b3ffdc69ff39e9d7edf23458d5ed5d063a55cae90d63ced18dc5db16eab027aa39d14a3a8507e7330dfc768e5ab8f77c1770874ad76807ec31a9ee4e0491a4
|
6 |
+
PATCHES
|
7 |
+
fix_cmake_config.patch # https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/129
|
8 |
+
)
|
9 |
+
|
10 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
11 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
12 |
+
|
13 |
+
vcpkg_cmake_configure(
|
14 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
15 |
+
OPTIONS
|
16 |
+
-DBUILD_TESTING=OFF
|
17 |
+
)
|
18 |
+
|
19 |
+
vcpkg_cmake_install()
|
20 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5CoreAddons CONFIG_PATH lib/cmake/KF5CoreAddons)
|
21 |
+
vcpkg_copy_pdbs()
|
22 |
+
|
23 |
+
vcpkg_copy_tools(
|
24 |
+
TOOL_NAMES desktoptojson
|
25 |
+
AUTO_CLEAN
|
26 |
+
)
|
27 |
+
|
28 |
+
file(APPEND "${CURRENT_PACKAGES_DIR}/tools/${PORT}/qt.conf" "Data = ../../share")
|
29 |
+
|
30 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
31 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
32 |
+
|
33 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
34 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
35 |
+
endif()
|
36 |
+
|
37 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5coreaddons/vcpkg.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5coreaddons",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Addons to QtCore",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kcoreaddons/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"qt5-base",
|
9 |
+
"qt5-tools",
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
]
|
19 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5crash/portfile.cmake
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kcrash
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 8493f9264e7844eefadd7bfa1700fa25baec2db9fd3cc8c85069d8a3c6452982d00ec1bb8e870ff9011391866e94cf63dfc8207d27d87b1b9b76e14b6ad5943d
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_cmake_install()
|
19 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Crash CONFIG_PATH lib/cmake/KF5Crash)
|
20 |
+
vcpkg_copy_pdbs()
|
21 |
+
|
22 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
23 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
24 |
+
|
25 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
26 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
27 |
+
endif()
|
28 |
+
|
29 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5crash/vcpkg.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5crash",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "KCrash provides support for intercepting and handling application crashes.",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kcrash/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"kf5coreaddons",
|
9 |
+
"kf5windowsystem",
|
10 |
+
{
|
11 |
+
"name": "qt5-x11extras",
|
12 |
+
"platform": "linux"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake",
|
16 |
+
"host": true
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"name": "vcpkg-cmake-config",
|
20 |
+
"host": true
|
21 |
+
}
|
22 |
+
]
|
23 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5dbusaddons/portfile.cmake
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kdbusaddons
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 83f748690efe8024f603057cc97ab713f82ba6fbdb4462bb6052a8e89945e4117d6b1f030e0064120ae7e34a9b06860ba77d56617d5663578f0ac11a74dba2db
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_cmake_install()
|
19 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5DBusAddons CONFIG_PATH lib/cmake/KF5DBusAddons)
|
20 |
+
|
21 |
+
vcpkg_copy_pdbs()
|
22 |
+
|
23 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
24 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
25 |
+
elseif(VCPKG_TARGET_IS_WINDOWS)
|
26 |
+
# kquitapp5 is a non-dev tool allowing to quit an arbitrary, dbus-compatible app. No need to keep it.
|
27 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin/kquitapp5${VCPKG_HOST_EXECUTABLE_SUFFIX}" "${CURRENT_PACKAGES_DIR}/debug/bin/kquitapp5${VCPKG_HOST_EXECUTABLE_SUFFIX}")
|
28 |
+
endif()
|
29 |
+
|
30 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
31 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
32 |
+
|
33 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5dbusaddons/vcpkg.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5dbusaddons",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Convenience classes for D-Bus",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kdbusaddons/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"qt5-base",
|
9 |
+
"qt5-tools",
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
]
|
19 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5declarative/portfile.cmake
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kdeclarative
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 baad15ef1288e215a269c7b69d2de3659508ce16f91e7f20ec9255ed07810b22ea7e04f7446c50715f7b4abe2809c22d9911f03a5cc0791f7b9e5298f9e2ac59
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
10 |
+
INVERTED_FEATURES
|
11 |
+
"opengl" CMAKE_DISABLE_FIND_PACKAGE_EPOXY
|
12 |
+
)
|
13 |
+
|
14 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
15 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
16 |
+
|
17 |
+
vcpkg_cmake_configure(
|
18 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
19 |
+
OPTIONS
|
20 |
+
-DBUILD_TESTING=OFF
|
21 |
+
-DKDE_INSTALL_QTPLUGINDIR=plugins
|
22 |
+
-DBUNDLE_INSTALL_DIR=bin
|
23 |
+
-DKDE_INSTALL_QMLDIR=qml
|
24 |
+
${FEATURE_OPTIONS}
|
25 |
+
MAYBE_UNUSED_VARIABLES
|
26 |
+
CMAKE_DISABLE_FIND_PACKAGE_EPOXY
|
27 |
+
BUNDLE_INSTALL_DIR
|
28 |
+
)
|
29 |
+
|
30 |
+
vcpkg_cmake_install()
|
31 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Declarative CONFIG_PATH lib/cmake/KF5Declarative)
|
32 |
+
vcpkg_copy_pdbs()
|
33 |
+
|
34 |
+
vcpkg_copy_tools(
|
35 |
+
TOOL_NAMES kpackagelauncherqml
|
36 |
+
AUTO_CLEAN
|
37 |
+
)
|
38 |
+
|
39 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
40 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
41 |
+
endif()
|
42 |
+
|
43 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
44 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
45 |
+
|
46 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5declarative/vcpkg.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5declarative",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Integration of QML and KDE work spaces",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kdeclarative/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
{
|
9 |
+
"name": "gettext",
|
10 |
+
"host": true,
|
11 |
+
"features": [
|
12 |
+
"tools"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
"kf5config",
|
16 |
+
"kf5globalaccel",
|
17 |
+
"kf5guiaddons",
|
18 |
+
"kf5i18n",
|
19 |
+
"kf5iconthemes",
|
20 |
+
"kf5kio",
|
21 |
+
"kf5notifications",
|
22 |
+
"kf5package",
|
23 |
+
"kf5widgetsaddons",
|
24 |
+
"kf5windowsystem",
|
25 |
+
"qt5-base",
|
26 |
+
"qt5-tools",
|
27 |
+
{
|
28 |
+
"name": "vcpkg-cmake",
|
29 |
+
"host": true
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"name": "vcpkg-cmake-config",
|
33 |
+
"host": true
|
34 |
+
}
|
35 |
+
],
|
36 |
+
"features": {
|
37 |
+
"opengl": {
|
38 |
+
"description": "Enables OpenGl support",
|
39 |
+
"dependencies": [
|
40 |
+
"libepoxy"
|
41 |
+
]
|
42 |
+
}
|
43 |
+
}
|
44 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5diagram/portfile.cmake
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kdiagram
|
4 |
+
REF v2.8.0
|
5 |
+
SHA512 5a3b958aaf386b1cde3c840963521306ded5b1975cc293dbb36c60cacd52a62badaf64a6c5f3cd63fc65f02d0ba181d318496d665f08140299720cd022a855e7
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE ${SOURCE_PATH}/.clang-format "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_cmake_install()
|
19 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KChart CONFIG_PATH lib/cmake/KChart DO_NOT_DELETE_PARENT_CONFIG_PATH)
|
20 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KGantt CONFIG_PATH lib/cmake/KGantt)
|
21 |
+
vcpkg_copy_pdbs()
|
22 |
+
|
23 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
24 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
25 |
+
endif()
|
26 |
+
|
27 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
28 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
29 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE.GPL.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5diagram/vcpkg.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5diagram",
|
3 |
+
"version": "2.8.0",
|
4 |
+
"description": "Powerful libraries (KChart, KGantt) for creating business diagrams",
|
5 |
+
"homepage": "https://api.kde.org/kdiagram/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"qt5-base",
|
9 |
+
"qt5-svg",
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
]
|
19 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5globalaccel/portfile.cmake
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kglobalaccel
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 824e4d6204189290dcc542ef3004ad2e2e2f83620dbf381ab78edbef996f412996709b9b49b72aad7c23deeeb6be274906b4cbbbd49498be081330e89c5674de
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_cmake_install()
|
19 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5GlobalAccel CONFIG_PATH lib/cmake/KF5GlobalAccel)
|
20 |
+
vcpkg_copy_pdbs()
|
21 |
+
|
22 |
+
vcpkg_copy_tools(
|
23 |
+
TOOL_NAMES kglobalaccel5
|
24 |
+
AUTO_CLEAN
|
25 |
+
)
|
26 |
+
|
27 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
28 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
29 |
+
endif()
|
30 |
+
|
31 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
32 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
33 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5globalaccel/vcpkg.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5globalaccel",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "lobal desktop keyboard shortcuts",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kglobalaccel/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"kf5config",
|
9 |
+
"kf5coreaddons",
|
10 |
+
"kf5crash",
|
11 |
+
"kf5dbusaddons",
|
12 |
+
"kf5windowsystem",
|
13 |
+
"qt5-base",
|
14 |
+
"qt5-tools",
|
15 |
+
{
|
16 |
+
"name": "qt5-x11extras",
|
17 |
+
"platform": "linux"
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"name": "vcpkg-cmake",
|
21 |
+
"host": true
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"name": "vcpkg-cmake-config",
|
25 |
+
"host": true
|
26 |
+
}
|
27 |
+
]
|
28 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5guiaddons/fix_cmake.patch
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/KF5GuiAddonsConfig.cmake.in b/KF5GuiAddonsConfig.cmake.in
|
2 |
+
index ae17f6b..34e41bd 100644
|
3 |
+
--- a/KF5GuiAddonsConfig.cmake.in
|
4 |
+
+++ b/KF5GuiAddonsConfig.cmake.in
|
5 |
+
@@ -10,6 +10,7 @@ if (NOT @BUILD_SHARED_LIBS@)
|
6 |
+
find_dependency(Qt5X11Extras @REQUIRED_QT_VERSION@)
|
7 |
+
endif()
|
8 |
+
if (@WITH_WAYLAND@)
|
9 |
+
+ set(QtWaylandScanner_EXECUTABLE "${PACKAGE_PREFIX}/tools/qt5-wayland/bin/qtwaylandscanner" CACHE STRING "QtWaylandScanner workaround")
|
10 |
+
find_dependency(Wayland REQUIRED Client)
|
11 |
+
find_dependency(Qt5WaylandClient @REQUIRED_QT_VERSION@)
|
12 |
+
find_dependency(QtWaylandScanner)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5guiaddons/portfile.cmake
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kguiaddons
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 062a8da3a5d3f9da3288031f8e694fd6adb5b4f404071f2d66c7f4d5b15cbf10fedff58d9db928e45a052b69abbe38d7de57349638d8bb9a229798a553e3b9ed
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
fix_cmake.patch # https://github.com/microsoft/vcpkg/issues/17607#issuecomment-831518812
|
9 |
+
)
|
10 |
+
|
11 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
12 |
+
FEATURES
|
13 |
+
wayland WITH_WAYLAND
|
14 |
+
)
|
15 |
+
|
16 |
+
if("wayland" IN_LIST FEATURES AND NOT VCPKG_TARGET_IS_LINUX)
|
17 |
+
message(FATAL_ERROR "Feature wayland is only supported on Linux.")
|
18 |
+
endif()
|
19 |
+
|
20 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
21 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
22 |
+
|
23 |
+
vcpkg_cmake_configure(
|
24 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
25 |
+
OPTIONS
|
26 |
+
-DBUILD_TESTING=OFF
|
27 |
+
-DQtWaylandScanner_EXECUTABLE=${CURRENT_INSTALLED_DIR}/tools/qt5-wayland/bin/qtwaylandscanner
|
28 |
+
${FEATURE_OPTIONS}
|
29 |
+
MAYBE_UNUSED_VARIABLES
|
30 |
+
QtWaylandScanner_EXECUTABLE
|
31 |
+
)
|
32 |
+
|
33 |
+
vcpkg_cmake_install()
|
34 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5GuiAddons CONFIG_PATH lib/cmake/KF5GuiAddons)
|
35 |
+
vcpkg_copy_pdbs()
|
36 |
+
|
37 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
38 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
39 |
+
endif()
|
40 |
+
|
41 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
42 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
43 |
+
|
44 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5guiaddons/vcpkg.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5guiaddons",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Addons to QtGui",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kguiaddons/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"qt5-tools",
|
9 |
+
{
|
10 |
+
"name": "qt5-winextras",
|
11 |
+
"platform": "windows"
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "qt5-x11extras",
|
15 |
+
"platform": "linux"
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"name": "vcpkg-cmake",
|
19 |
+
"host": true
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"name": "vcpkg-cmake-config",
|
23 |
+
"host": true
|
24 |
+
}
|
25 |
+
],
|
26 |
+
"default-features": [
|
27 |
+
"defaults"
|
28 |
+
],
|
29 |
+
"features": {
|
30 |
+
"defaults": {
|
31 |
+
"description": "Default features",
|
32 |
+
"dependencies": [
|
33 |
+
{
|
34 |
+
"name": "kf5guiaddons",
|
35 |
+
"features": [
|
36 |
+
"wayland"
|
37 |
+
],
|
38 |
+
"platform": "linux"
|
39 |
+
}
|
40 |
+
]
|
41 |
+
},
|
42 |
+
"wayland": {
|
43 |
+
"description": "Linux-only. Build with support for KeySequenceEditor inhibiting shortcuts on Wayland",
|
44 |
+
"dependencies": [
|
45 |
+
"qt5-wayland"
|
46 |
+
]
|
47 |
+
}
|
48 |
+
}
|
49 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5holidays/portfile.cmake
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kholidays
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 df5a68c9faf2c05b30b161f2e9f363f252be2efd9ec89787a88952fecb91d36b0187e9c88bdedde6887086f5ead4aa5d6ff627c9ea267cd447d5d7ad938b5d65
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
-DKDE_INSTALL_QMLDIR=qml
|
17 |
+
)
|
18 |
+
|
19 |
+
vcpkg_cmake_install()
|
20 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Holidays CONFIG_PATH lib/cmake/KF5Holidays)
|
21 |
+
vcpkg_copy_pdbs()
|
22 |
+
|
23 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
24 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
25 |
+
endif()
|
26 |
+
|
27 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
28 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
29 |
+
|
30 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5holidays/vcpkg.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5holidays",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Holiday calculation library",
|
5 |
+
"dependencies": [
|
6 |
+
"ecm",
|
7 |
+
"qt5-base",
|
8 |
+
"qt5-tools",
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "vcpkg-cmake-config",
|
15 |
+
"host": true
|
16 |
+
}
|
17 |
+
]
|
18 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5i18n/fix_static_builds.patch
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/KF5I18nConfig.cmake.in b/KF5I18nConfig.cmake.in
|
2 |
+
index 364cc43..af7cd3b 100644
|
3 |
+
--- a/KF5I18nConfig.cmake.in
|
4 |
+
+++ b/KF5I18nConfig.cmake.in
|
5 |
+
@@ -8,3 +8,4 @@ include("${CMAKE_CURRENT_LIST_DIR}/KF5I18nTargets.cmake")
|
6 |
+
@PACKAGE_INCLUDE_QCHTARGETS@
|
7 |
+
include("${CMAKE_CURRENT_LIST_DIR}/KF5I18nMacros.cmake")
|
8 |
+
|
9 |
+
+find_dependency(Iconv)
|
10 |
+
diff --git a/src/i18n/CMakeLists.txt b/src/i18n/CMakeLists.txt
|
11 |
+
index c6b510c..0a25eca 100644
|
12 |
+
--- a/src/i18n/CMakeLists.txt
|
13 |
+
+++ b/src/i18n/CMakeLists.txt
|
14 |
+
@@ -40,12 +40,16 @@ ecm_generate_export_header(KF5I18n
|
15 |
+
EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT}
|
16 |
+
)
|
17 |
+
|
18 |
+
+find_package(Iconv REQUIRED)
|
19 |
+
+
|
20 |
+
target_include_directories(KF5I18n INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KI18n>")
|
21 |
+
target_include_directories(KF5I18n PRIVATE ${LibIntl_INCLUDE_DIRS})
|
22 |
+
+target_include_directories(KF5I18n PRIVATE ${Iconv_INCLUDE_DIRS})
|
23 |
+
|
24 |
+
target_link_libraries(KF5I18n PUBLIC Qt5::Core)
|
25 |
+
# This is only required for platforms which don't use glibc (with glibc LibIntl_LIBRARIES will be empty)
|
26 |
+
target_link_libraries(KF5I18n PRIVATE ${LibIntl_LIBRARIES})
|
27 |
+
+target_link_libraries(KF5I18n PRIVATE ${Iconv_LIBRARIES})
|
28 |
+
target_compile_options(KF5I18n PRIVATE -DTRANSLATION_DOMAIN=\"ki18n5\")
|
29 |
+
|
30 |
+
set_target_properties(KF5I18n PROPERTIES VERSION ${KI18N_VERSION}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5i18n/portfile.cmake
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
2 |
+
list(APPEND PATCHES fix_static_builds.patch)
|
3 |
+
endif()
|
4 |
+
|
5 |
+
vcpkg_from_github(
|
6 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
7 |
+
REPO KDE/ki18n
|
8 |
+
REF v5.89.0
|
9 |
+
SHA512 f83d8b9ef51cc05a2eccb175e602fd0530d0cb6bb0c21e582a82fdd2897d9f988c2d927f2dc986faaf7482ec1c81e8cea4a9e74fc557c88be9958393db71c2a9
|
10 |
+
PATCHES ${PATCHES}
|
11 |
+
)
|
12 |
+
|
13 |
+
vcpkg_find_acquire_program(PYTHON3)
|
14 |
+
|
15 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
16 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
17 |
+
|
18 |
+
vcpkg_cmake_configure(
|
19 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
20 |
+
OPTIONS
|
21 |
+
-DBUILD_TESTING=OFF
|
22 |
+
-DKDE_INSTALL_PLUGINDIR=plugins
|
23 |
+
-DKDE_INSTALL_QMLDIR=qml
|
24 |
+
-DPYTHON_EXECUTABLE=${PYTHON3}
|
25 |
+
)
|
26 |
+
|
27 |
+
vcpkg_cmake_install()
|
28 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5I18n CONFIG_PATH lib/cmake/KF5I18n)
|
29 |
+
vcpkg_copy_pdbs()
|
30 |
+
|
31 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
32 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
33 |
+
endif()
|
34 |
+
|
35 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
36 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
37 |
+
|
38 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5i18n/vcpkg.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5i18n",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Advanced internationalization framework",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/ki18n/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"gettext",
|
9 |
+
{
|
10 |
+
"name": "gettext",
|
11 |
+
"host": true,
|
12 |
+
"features": [
|
13 |
+
"tools"
|
14 |
+
]
|
15 |
+
},
|
16 |
+
"libiconv",
|
17 |
+
"qt5-declarative",
|
18 |
+
"qt5-tools",
|
19 |
+
{
|
20 |
+
"name": "vcpkg-cmake",
|
21 |
+
"host": true
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"name": "vcpkg-cmake-config",
|
25 |
+
"host": true
|
26 |
+
}
|
27 |
+
]
|
28 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5iconthemes/portfile.cmake
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kiconthemes
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 d876f4a67d667a881820280c51fac8ddcdb99414f8c810422dd20be370173c036abcec3168495009242d479520a379be0c8ee4bea637023584e52c9452d9b3b7
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_check_features(
|
10 |
+
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
11 |
+
FEATURES
|
12 |
+
designerplugin BUILD_DESIGNERPLUGIN
|
13 |
+
)
|
14 |
+
|
15 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
16 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
17 |
+
|
18 |
+
vcpkg_cmake_configure(
|
19 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
20 |
+
OPTIONS
|
21 |
+
-DBUILD_TESTING=OFF
|
22 |
+
-DKDE_INSTALL_PLUGINDIR=plugins
|
23 |
+
-DKDE_INSTALL_QTPLUGINDIR=plugins
|
24 |
+
${FEATURE_OPTIONS}
|
25 |
+
)
|
26 |
+
|
27 |
+
vcpkg_cmake_install()
|
28 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5IconThemes CONFIG_PATH lib/cmake/KF5IconThemes)
|
29 |
+
vcpkg_copy_pdbs()
|
30 |
+
|
31 |
+
vcpkg_copy_tools(
|
32 |
+
TOOL_NAMES kiconfinder5
|
33 |
+
AUTO_CLEAN
|
34 |
+
)
|
35 |
+
|
36 |
+
if(VCPKG_TARGET_IS_OSX)
|
37 |
+
vcpkg_copy_tools(
|
38 |
+
TOOL_NAMES ksvg2icns
|
39 |
+
AUTO_CLEAN
|
40 |
+
)
|
41 |
+
endif()
|
42 |
+
|
43 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
44 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
45 |
+
endif()
|
46 |
+
|
47 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
48 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
49 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5iconthemes/vcpkg.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5iconthemes",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Icon GUI utilities",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kiconthemes/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"gettext",
|
9 |
+
{
|
10 |
+
"name": "gettext",
|
11 |
+
"host": true,
|
12 |
+
"features": [
|
13 |
+
"tools"
|
14 |
+
]
|
15 |
+
},
|
16 |
+
"kf5archive",
|
17 |
+
"kf5configwidgets",
|
18 |
+
"kf5coreaddons",
|
19 |
+
"kf5guiaddons",
|
20 |
+
"kf5i18n",
|
21 |
+
"kf5itemviews",
|
22 |
+
"kf5widgetsaddons",
|
23 |
+
"qt5-base",
|
24 |
+
"qt5-svg",
|
25 |
+
"qt5-tools",
|
26 |
+
{
|
27 |
+
"name": "vcpkg-cmake",
|
28 |
+
"host": true
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"name": "vcpkg-cmake-config",
|
32 |
+
"host": true
|
33 |
+
}
|
34 |
+
],
|
35 |
+
"features": {
|
36 |
+
"designerplugin": {
|
37 |
+
"description": "Enables a Qt Designer plugin"
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5itemmodels/portfile.cmake
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kitemmodels
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 4d7730994f935bd0929e8ceacfaed945e784cebdc86642c6148ce21108c4ffe792774196613c8b3215354069db85d276a30c6608445961f67aeb1b420a579007
|
6 |
+
)
|
7 |
+
|
8 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
9 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
10 |
+
|
11 |
+
vcpkg_cmake_configure(
|
12 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
13 |
+
OPTIONS
|
14 |
+
-DBUILD_TESTING=OFF
|
15 |
+
-DKDE_INSTALL_QMLDIR=qml
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_cmake_install()
|
19 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5ItemModels CONFIG_PATH lib/cmake/KF5ItemModels)
|
20 |
+
vcpkg_copy_pdbs()
|
21 |
+
|
22 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
23 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
24 |
+
endif()
|
25 |
+
|
26 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
27 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
28 |
+
|
29 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5itemmodels/vcpkg.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5itemmodels",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Models for Qt Model/View system",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kitemmodels/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"qt5-base",
|
9 |
+
"qt5-tools",
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
]
|
19 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5itemviews/portfile.cmake
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kitemviews
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 c96cb1204d5e9d0b1206eac93f36b06c94b7fcf63c7a75938e50783af1e7d3fe48617fadd264f55f2ac31c3d316a062b9200053a582ccf2e7c927659b7e1b442
|
6 |
+
)
|
7 |
+
|
8 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
9 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
10 |
+
|
11 |
+
vcpkg_cmake_configure(
|
12 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
13 |
+
OPTIONS
|
14 |
+
-DBUILD_TESTING=OFF
|
15 |
+
-DBUILD_DESIGNERPLUGIN=OFF
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_cmake_install()
|
19 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5ItemViews CONFIG_PATH lib/cmake/KF5ItemViews)
|
20 |
+
vcpkg_copy_pdbs()
|
21 |
+
|
22 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
23 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
24 |
+
endif()
|
25 |
+
|
26 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
27 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
28 |
+
|
29 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5itemviews/vcpkg.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5itemviews",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Widget addons for Qt Model/View",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kitemviews/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"qt5-base",
|
9 |
+
"qt5-tools",
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
]
|
19 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5jobwidgets/portfile.cmake
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kjobwidgets
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 6fcc1fbef4de8adde1577739a28b5a3671829b24d4d8885a6b22f7b99662f058502183ab7d4f8c47f2c69f02a1932ac94a55be93bd6245fe97d8819644b1e708
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_cmake_install()
|
19 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5JobWidgets CONFIG_PATH lib/cmake/KF5JobWidgets)
|
20 |
+
|
21 |
+
vcpkg_copy_pdbs()
|
22 |
+
|
23 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
24 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
25 |
+
endif()
|
26 |
+
|
27 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
28 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
29 |
+
|
30 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5jobwidgets/vcpkg.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5jobwidgets",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Widgets for showing progress of asynchronous jobs",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kjobwidgets/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"kf5coreaddons",
|
9 |
+
"kf5widgetsaddons",
|
10 |
+
"qt5-base",
|
11 |
+
{
|
12 |
+
"name": "qt5-x11extras",
|
13 |
+
"platform": "linux"
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "vcpkg-cmake",
|
17 |
+
"host": true
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"name": "vcpkg-cmake-config",
|
21 |
+
"host": true
|
22 |
+
}
|
23 |
+
]
|
24 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5kcmutils/portfile.cmake
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kcmutils
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 9f12e906d9bd763906d6c9a0ebbefec1b7d1e958a217de5ed7ea418c8fcda1dbaccd8df89a849019aa81303fc4540b26872d205e7215285c4f312e8bbfcb97d0
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_cmake_install()
|
19 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5KCMUtils CONFIG_PATH lib/cmake/KF5KCMUtils)
|
20 |
+
|
21 |
+
vcpkg_copy_pdbs()
|
22 |
+
|
23 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
24 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
25 |
+
endif()
|
26 |
+
|
27 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
28 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
29 |
+
|
30 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5kcmutils/vcpkg.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5kcmutils",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Utilities for KDE System Settings modules",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kcmutils/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
{
|
9 |
+
"name": "gettext",
|
10 |
+
"host": true,
|
11 |
+
"features": [
|
12 |
+
"tools"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
"kf5configwidgets",
|
16 |
+
"kf5coreaddons",
|
17 |
+
"kf5declarative",
|
18 |
+
"kf5guiaddons",
|
19 |
+
"kf5i18n",
|
20 |
+
"kf5itemviews",
|
21 |
+
"kf5service",
|
22 |
+
"kf5xmlgui",
|
23 |
+
"qt5-base",
|
24 |
+
"qt5-tools",
|
25 |
+
{
|
26 |
+
"name": "vcpkg-cmake",
|
27 |
+
"host": true
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"name": "vcpkg-cmake-config",
|
31 |
+
"host": true
|
32 |
+
}
|
33 |
+
]
|
34 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5kio/fix_libiconv.patch
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/ioslaves/file/CMakeLists.txt b/src/ioslaves/file/CMakeLists.txt
|
2 |
+
index fec216af..8595f36e 100644
|
3 |
+
--- a/src/ioslaves/file/CMakeLists.txt
|
4 |
+
+++ b/src/ioslaves/file/CMakeLists.txt
|
5 |
+
@@ -28,7 +28,9 @@ ecm_qt_export_logging_category(
|
6 |
+
EXPORT KIO
|
7 |
+
)
|
8 |
+
|
9 |
+
-target_link_libraries(kio_file KF5::KIOCore KF5::I18n KF5::ConfigCore Qt5::DBus Qt5::Network)
|
10 |
+
+find_package(Iconv REQUIRED)
|
11 |
+
+include_directories(${Iconv_INCLUDE_DIRS})
|
12 |
+
+target_link_libraries(kio_file KF5::KIOCore KF5::I18n KF5::ConfigCore Qt5::DBus Qt5::Network ${Iconv_LIBRARIES})
|
13 |
+
|
14 |
+
if(UNIX)
|
15 |
+
target_link_libraries(kio_file Qt5::Network KF5::AuthCore)
|
16 |
+
diff --git a/src/ioslaves/ftp/CMakeLists.txt b/src/ioslaves/ftp/CMakeLists.txt
|
17 |
+
index 44abb409..61eb3836 100644
|
18 |
+
--- a/src/ioslaves/ftp/CMakeLists.txt
|
19 |
+
+++ b/src/ioslaves/ftp/CMakeLists.txt
|
20 |
+
@@ -16,4 +16,6 @@ ecm_qt_export_logging_category(
|
21 |
+
EXPORT KIO
|
22 |
+
)
|
23 |
+
|
24 |
+
-target_link_libraries(kio_ftp Qt5::Network KF5::KIOCore KF5::I18n KF5::ConfigCore)
|
25 |
+
+find_package(Iconv REQUIRED)
|
26 |
+
+include_directories(${Iconv_INCLUDE_DIRS})
|
27 |
+
+target_link_libraries(kio_ftp Qt5::Network KF5::KIOCore KF5::I18n KF5::ConfigCore ${Iconv_LIBRARIES})
|
28 |
+
|
29 |
+
diff --git a/src/ioslaves/http/CMakeLists.txt b/src/ioslaves/http/CMakeLists.txt
|
30 |
+
index e616d08b..0631edb6 100644
|
31 |
+
--- a/src/ioslaves/http/CMakeLists.txt
|
32 |
+
+++ b/src/ioslaves/http/CMakeLists.txt
|
33 |
+
@@ -37,11 +37,15 @@ target_sources(kio_http_cache_cleaner PRIVATE
|
34 |
+
http_cache_cleaner.cpp
|
35 |
+
)
|
36 |
+
|
37 |
+
+find_package(Iconv REQUIRED)
|
38 |
+
+include_directories(${Iconv_INCLUDE_DIRS})
|
39 |
+
target_link_libraries(kio_http_cache_cleaner
|
40 |
+
Qt5::DBus
|
41 |
+
Qt5::Network # QLocalSocket
|
42 |
+
KF5::KIOCore # KProtocolManager
|
43 |
+
- KF5::I18n)
|
44 |
+
+ KF5::I18n
|
45 |
+
+ ${Iconv_LIBRARIES}
|
46 |
+
+)
|
47 |
+
|
48 |
+
install(TARGETS kio_http_cache_cleaner DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF5} )
|
49 |
+
|
50 |
+
@@ -91,6 +95,7 @@ target_link_libraries(kio_http
|
51 |
+
KF5::KIONTLM
|
52 |
+
KF5::Archive
|
53 |
+
KF5::I18n
|
54 |
+
+ ${Iconv_LIBRARIES}
|
55 |
+
)
|
56 |
+
if(GSSAPI_FOUND)
|
57 |
+
target_link_libraries(kio_http ${GSSAPI_LIBS} )
|
58 |
+
diff --git a/src/ioslaves/http/kcookiejar/CMakeLists.txt b/src/ioslaves/http/kcookiejar/CMakeLists.txt
|
59 |
+
index 0f770ae4..2600d2d2 100644
|
60 |
+
--- a/src/ioslaves/http/kcookiejar/CMakeLists.txt
|
61 |
+
+++ b/src/ioslaves/http/kcookiejar/CMakeLists.txt
|
62 |
+
@@ -13,10 +13,13 @@ target_sources(kcookiejar5 PRIVATE
|
63 |
+
main.cpp
|
64 |
+
)
|
65 |
+
|
66 |
+
+find_package(Iconv REQUIRED)
|
67 |
+
+include_directories(${Iconv_INCLUDE_DIRS})
|
68 |
+
target_link_libraries( kcookiejar5
|
69 |
+
Qt5::DBus
|
70 |
+
KF5::I18n
|
71 |
+
KF5::WidgetsAddons
|
72 |
+
+ ${Iconv_LIBRARIES}
|
73 |
+
)
|
74 |
+
|
75 |
+
install(TARGETS kcookiejar5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} )
|
76 |
+
@@ -55,6 +58,7 @@ target_link_libraries(kded_kcookiejar
|
77 |
+
KF5::DBusAddons
|
78 |
+
KF5::I18n
|
79 |
+
KF5::WidgetsAddons
|
80 |
+
+ ${Iconv_LIBRARIES}
|
81 |
+
)
|
82 |
+
|
83 |
+
########### install files ###############
|
84 |
+
diff --git a/src/ioslaves/remote/CMakeLists.txt b/src/ioslaves/remote/CMakeLists.txt
|
85 |
+
index e2b576e2..526551ee 100644
|
86 |
+
--- a/src/ioslaves/remote/CMakeLists.txt
|
87 |
+
+++ b/src/ioslaves/remote/CMakeLists.txt
|
88 |
+
@@ -19,4 +19,6 @@ ecm_qt_declare_logging_category(kio_remote
|
89 |
+
EXPORT KIO
|
90 |
+
)
|
91 |
+
|
92 |
+
-target_link_libraries(kio_remote KF5::KIOCore KF5::I18n KF5::ConfigCore Qt5::Network)
|
93 |
+
+find_package(Iconv REQUIRED)
|
94 |
+
+include_directories(${Iconv_INCLUDE_DIRS})
|
95 |
+
+target_link_libraries(kio_remote KF5::KIOCore KF5::I18n KF5::ConfigCore Qt5::Network ${Iconv_LIBRARIES})
|
96 |
+
diff --git a/src/ioslaves/remote/kdedmodule/CMakeLists.txt b/src/ioslaves/remote/kdedmodule/CMakeLists.txt
|
97 |
+
index 4e40d214..7ba0d911 100644
|
98 |
+
--- a/src/ioslaves/remote/kdedmodule/CMakeLists.txt
|
99 |
+
+++ b/src/ioslaves/remote/kdedmodule/CMakeLists.txt
|
100 |
+
@@ -1,7 +1,9 @@
|
101 |
+
add_library(remotedirnotify MODULE remotedirnotify.cpp remotedirnotifymodule.cpp ../debug.cpp)
|
102 |
+
kcoreaddons_desktop_to_json(remotedirnotify remotedirnotify.desktop)
|
103 |
+
|
104 |
+
-target_link_libraries(remotedirnotify KF5::DBusAddons KF5::KIOCore)
|
105 |
+
+find_package(Iconv REQUIRED)
|
106 |
+
+include_directories(${Iconv_INCLUDE_DIRS})
|
107 |
+
+target_link_libraries(remotedirnotify KF5::DBusAddons KF5::KIOCore ${Iconv_LIBRARIES})
|
108 |
+
# Rename target to allow co-installability with plasma-workspace <= 5.9
|
109 |
+
set_target_properties(remotedirnotify PROPERTIES OUTPUT_NAME "remotenotifier")
|
110 |
+
|
111 |
+
diff --git a/src/ioslaves/telnet/CMakeLists.txt b/src/ioslaves/telnet/CMakeLists.txt
|
112 |
+
index ffee12c8..0b03c211 100644
|
113 |
+
--- a/src/ioslaves/telnet/CMakeLists.txt
|
114 |
+
+++ b/src/ioslaves/telnet/CMakeLists.txt
|
115 |
+
@@ -2,10 +2,13 @@
|
116 |
+
add_executable(ktelnetservice5 ktelnetservice.cpp)
|
117 |
+
ecm_mark_nongui_executable(ktelnetservice5)
|
118 |
+
|
119 |
+
+find_package(Iconv REQUIRED)
|
120 |
+
+include_directories(${Iconv_INCLUDE_DIRS})
|
121 |
+
target_link_libraries(ktelnetservice5
|
122 |
+
Qt5::Widgets
|
123 |
+
KF5::I18n
|
124 |
+
KF5::KIOGui
|
125 |
+
+ ${Iconv_LIBRARIES}
|
126 |
+
)
|
127 |
+
|
128 |
+
install(TARGETS ktelnetservice5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
|
129 |
+
diff --git a/src/ioslaves/trash/CMakeLists.txt b/src/ioslaves/trash/CMakeLists.txt
|
130 |
+
index 147b3f3e..0546b8ce 100644
|
131 |
+
--- a/src/ioslaves/trash/CMakeLists.txt
|
132 |
+
+++ b/src/ioslaves/trash/CMakeLists.txt
|
133 |
+
@@ -51,6 +51,8 @@ else()
|
134 |
+
)
|
135 |
+
endif()
|
136 |
+
|
137 |
+
+find_package(Iconv REQUIRED)
|
138 |
+
+include_directories(${Iconv_INCLUDE_DIRS})
|
139 |
+
target_link_libraries(kio_trash
|
140 |
+
KF5::ConfigCore
|
141 |
+
KF5::Solid
|
142 |
+
@@ -59,6 +61,7 @@ target_link_libraries(kio_trash
|
143 |
+
Qt5::Network
|
144 |
+
KF5::I18n
|
145 |
+
KF5::ConfigCore
|
146 |
+
+ ${Iconv_LIBRARIES}
|
147 |
+
)
|
148 |
+
if(APPLE)
|
149 |
+
target_link_libraries(kio_trash "-framework DiskArbitration -framework CoreFoundation")
|
150 |
+
@@ -78,6 +81,7 @@ target_link_libraries(ktrash5
|
151 |
+
KF5::KIOCore
|
152 |
+
KF5::I18n
|
153 |
+
KF5::ConfigCore
|
154 |
+
+ ${Iconv_LIBRARIES}
|
155 |
+
)
|
156 |
+
|
157 |
+
install(TARGETS ktrash5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
|
158 |
+
diff --git a/src/kioexec/CMakeLists.txt b/src/kioexec/CMakeLists.txt
|
159 |
+
index 92eeafe7..8ae87424 100644
|
160 |
+
--- a/src/kioexec/CMakeLists.txt
|
161 |
+
+++ b/src/kioexec/CMakeLists.txt
|
162 |
+
@@ -19,7 +19,9 @@ ecm_qt_declare_logging_category(kioexecd
|
163 |
+
EXPORT KIO
|
164 |
+
)
|
165 |
+
|
166 |
+
-target_link_libraries(kioexecd KF5::I18n KF5::DBusAddons KF5::WidgetsAddons KF5::KIOCore)
|
167 |
+
+find_package(Iconv REQUIRED)
|
168 |
+
+include_directories(${Iconv_INCLUDE_DIRS})
|
169 |
+
+target_link_libraries(kioexecd KF5::I18n KF5::DBusAddons KF5::WidgetsAddons KF5::KIOCore ${Iconv_LIBRARIES})
|
170 |
+
|
171 |
+
kdbusaddons_generate_dbus_service_file(kiod5 org.kde.kioexecd ${KDE_INSTALL_FULL_LIBEXECDIR_KF5})
|
172 |
+
|
173 |
+
@@ -45,6 +47,7 @@ target_link_libraries(kioexec
|
174 |
+
KF5::WidgetsAddons # KMessageBox
|
175 |
+
KF5::WindowSystem # KStartupInfo
|
176 |
+
KF5::DBusAddons # KDBusService
|
177 |
+
+ ${Iconv_LIBRARIES}
|
178 |
+
)
|
179 |
+
|
180 |
+
if (HAVE_X11)
|
181 |
+
diff --git a/src/kpasswdserver/CMakeLists.txt b/src/kpasswdserver/CMakeLists.txt
|
182 |
+
index c268e039..c1a562aa 100644
|
183 |
+
--- a/src/kpasswdserver/CMakeLists.txt
|
184 |
+
+++ b/src/kpasswdserver/CMakeLists.txt
|
185 |
+
@@ -39,6 +39,8 @@ ecm_qt_export_logging_category(
|
186 |
+
EXPORT KIO
|
187 |
+
)
|
188 |
+
|
189 |
+
+find_package(Iconv REQUIRED)
|
190 |
+
+include_directories(${Iconv_INCLUDE_DIRS})
|
191 |
+
target_link_libraries(kiod_kpasswdserver
|
192 |
+
KF5::DBusAddons # KDED Module
|
193 |
+
Qt5::DBus
|
194 |
+
@@ -46,6 +48,7 @@ target_link_libraries(kiod_kpasswdserver
|
195 |
+
KF5::WidgetsAddons # KPasswordDialog
|
196 |
+
KF5::I18n
|
197 |
+
KF5::WindowSystem
|
198 |
+
+ ${Iconv_LIBRARIES}
|
199 |
+
${WALLET_LIB}
|
200 |
+
)
|
201 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5kio/portfile.cmake
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
2 |
+
list(APPEND PATCHES fix_libiconv.patch)
|
3 |
+
endif()
|
4 |
+
|
5 |
+
vcpkg_from_github(
|
6 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
7 |
+
REPO KDE/kio
|
8 |
+
REF v5.89.0-rc2
|
9 |
+
SHA512 08df36c08b028998884983fa233aad5bfc05d4e9e5899ed85390015daa7e0703272edabc59189579957e9971435887c4486796061878ce0f252ac2259b78a799
|
10 |
+
HEAD_REF master
|
11 |
+
PATCHES
|
12 |
+
${PATCHES}
|
13 |
+
)
|
14 |
+
|
15 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
16 |
+
INVERTED_FEATURES
|
17 |
+
"kf5notifications" CMAKE_DISABLE_FIND_PACKAGE_KF5Notifications
|
18 |
+
"kf5wallet" CMAKE_DISABLE_FIND_PACKAGE_KF5Wallet
|
19 |
+
)
|
20 |
+
|
21 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
22 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
23 |
+
|
24 |
+
vcpkg_cmake_configure(
|
25 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
26 |
+
OPTIONS
|
27 |
+
-DBUILD_TESTING=OFF
|
28 |
+
-DCMAKE_DISABLE_FIND_PACKAGE_KF5DocTools=ON
|
29 |
+
-DCMAKE_VERBOSE_MAKEFILE=ON
|
30 |
+
-DKDE_INSTALL_QTPLUGINDIR=plugins
|
31 |
+
-DKDE_INSTALL_PLUGINDIR=plugins
|
32 |
+
-DKDE_INSTALL_LIBEXECDIR=bin
|
33 |
+
${FEATURE_OPTIONS}
|
34 |
+
MAYBE_UNUSED_VARIABLES CMAKE_DISABLE_FIND_PACKAGE_KF5Notifications
|
35 |
+
)
|
36 |
+
|
37 |
+
vcpkg_cmake_install()
|
38 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5KIO CONFIG_PATH lib/cmake/KF5KIO)
|
39 |
+
vcpkg_copy_pdbs()
|
40 |
+
|
41 |
+
set(LIBEXEC_TOOLS kio_http_cache_cleaner kiod5 kioexec kioslave5)
|
42 |
+
|
43 |
+
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
44 |
+
if(NOT VCPKG_TARGET_IS_ANDROID)
|
45 |
+
list(APPEND LIBEXEC_TOOLS kpac_dhcp_helper)
|
46 |
+
endif()
|
47 |
+
|
48 |
+
list(TRANSFORM LIBEXEC_TOOLS PREPEND "kf5/")
|
49 |
+
endif()
|
50 |
+
|
51 |
+
vcpkg_copy_tools(
|
52 |
+
TOOL_NAMES kcookiejar5 ktelnetservice5 ktrash5 protocoltojson ${LIBEXEC_TOOLS}
|
53 |
+
AUTO_CLEAN
|
54 |
+
)
|
55 |
+
|
56 |
+
file(APPEND "${CURRENT_PACKAGES_DIR}/tools/${PORT}/qt.conf" "Data = ../../share")
|
57 |
+
|
58 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
59 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
60 |
+
|
61 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
62 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
63 |
+
endif()
|
64 |
+
|
65 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5kio/vcpkg.json
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5kio",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Network transparent access to files and data",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kio/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
{
|
9 |
+
"name": "gettext",
|
10 |
+
"host": true,
|
11 |
+
"features": [
|
12 |
+
"tools"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
"kf5archive",
|
16 |
+
{
|
17 |
+
"name": "kf5auth",
|
18 |
+
"platform": "!(windows | android)"
|
19 |
+
},
|
20 |
+
"kf5bookmarks",
|
21 |
+
"kf5completion",
|
22 |
+
"kf5config",
|
23 |
+
"kf5configwidgets",
|
24 |
+
"kf5coreaddons",
|
25 |
+
"kf5crash",
|
26 |
+
{
|
27 |
+
"name": "kf5dbusaddons",
|
28 |
+
"platform": "!android"
|
29 |
+
},
|
30 |
+
"kf5guiaddons",
|
31 |
+
"kf5i18n",
|
32 |
+
"kf5iconthemes",
|
33 |
+
"kf5itemviews",
|
34 |
+
"kf5jobwidgets",
|
35 |
+
"kf5service",
|
36 |
+
"kf5solid",
|
37 |
+
"kf5textwidgets",
|
38 |
+
"kf5widgetsaddons",
|
39 |
+
"kf5windowsystem",
|
40 |
+
"kf5xmlgui",
|
41 |
+
{
|
42 |
+
"name": "libiconv",
|
43 |
+
"platform": "windows & static"
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"name": "libmount",
|
47 |
+
"platform": "linux"
|
48 |
+
},
|
49 |
+
"qt5-base",
|
50 |
+
{
|
51 |
+
"name": "qt5-macextras",
|
52 |
+
"platform": "osx"
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"name": "qt5-x11extras",
|
56 |
+
"platform": "linux"
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"name": "vcpkg-cmake",
|
60 |
+
"host": true
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"name": "vcpkg-cmake-config",
|
64 |
+
"host": true
|
65 |
+
}
|
66 |
+
],
|
67 |
+
"features": {
|
68 |
+
"kf5notifications": {
|
69 |
+
"description": "Required to have error notification support in kpac",
|
70 |
+
"dependencies": [
|
71 |
+
{
|
72 |
+
"name": "kf5kio",
|
73 |
+
"default-features": false,
|
74 |
+
"features": [
|
75 |
+
"unixkf5notifications"
|
76 |
+
],
|
77 |
+
"platform": "!(windows | android)"
|
78 |
+
}
|
79 |
+
]
|
80 |
+
},
|
81 |
+
"kf5wallet": {
|
82 |
+
"description": "Required to have permanent storage of passwords for kpasswdserver",
|
83 |
+
"dependencies": [
|
84 |
+
"kf5wallet"
|
85 |
+
]
|
86 |
+
},
|
87 |
+
"unixkf5notifications": {
|
88 |
+
"description": "Required to have error notification support in kpac (windows only)",
|
89 |
+
"dependencies": [
|
90 |
+
"kf5notifications"
|
91 |
+
]
|
92 |
+
}
|
93 |
+
}
|
94 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5newstuff/portfile.cmake
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/knewstuff
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 e031fc985ad29be177b438667c624c6706a45edd7029b8144d712e04b9b3f5c8bc7aebea9e2a09afe2a2f28db078f58969cb63bf7dccd5d2e1e05dcbc456766b
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
-DKDE_INSTALL_QMLDIR=qml
|
17 |
+
-DBUNDLE_INSTALL_DIR=bin
|
18 |
+
)
|
19 |
+
|
20 |
+
vcpkg_cmake_install()
|
21 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5NewStuff CONFIG_PATH lib/cmake/KF5NewStuff DO_NOT_DELETE_PARENT_CONFIG_PATH)
|
22 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5NewStuffCore CONFIG_PATH lib/cmake/KF5NewStuffCore DO_NOT_DELETE_PARENT_CONFIG_PATH)
|
23 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5NewStuffQuick CONFIG_PATH lib/cmake/KF5NewStuffQuick)
|
24 |
+
vcpkg_copy_pdbs()
|
25 |
+
|
26 |
+
vcpkg_copy_tools(
|
27 |
+
TOOL_NAMES knewstuff-dialog
|
28 |
+
AUTO_CLEAN
|
29 |
+
)
|
30 |
+
|
31 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
32 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
33 |
+
|
34 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
35 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
36 |
+
endif()
|
37 |
+
|
38 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5newstuff/vcpkg.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5newstuff",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Framework for downloading and sharing additional application data",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/knewstuff/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
{
|
9 |
+
"name": "gettext",
|
10 |
+
"host": true,
|
11 |
+
"features": [
|
12 |
+
"tools"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
"kf5archive",
|
16 |
+
"kf5attica",
|
17 |
+
"kf5completion",
|
18 |
+
"kf5config",
|
19 |
+
"kf5coreaddons",
|
20 |
+
"kf5i18n",
|
21 |
+
"kf5iconthemes",
|
22 |
+
"kf5itemviews",
|
23 |
+
"kf5kio",
|
24 |
+
"kf5package",
|
25 |
+
"kf5service",
|
26 |
+
"kf5textwidgets",
|
27 |
+
"kf5widgetsaddons",
|
28 |
+
"kf5xmlgui",
|
29 |
+
"qt5-base",
|
30 |
+
"qt5-tools",
|
31 |
+
{
|
32 |
+
"name": "vcpkg-cmake",
|
33 |
+
"host": true
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"name": "vcpkg-cmake-config",
|
37 |
+
"host": true
|
38 |
+
}
|
39 |
+
]
|
40 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5notifications/portfile.cmake
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/knotifications
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 58e9fe34b29e0f6d7507a3a783918bcfbc8a191ddc7bb287c793628a97a2a203347971849100ae9a98d9f8a23c27ba184b509c11caf00517d8c6422ae91ac310
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
-DKDE_INSTALL_QMLDIR=qml
|
17 |
+
)
|
18 |
+
|
19 |
+
vcpkg_cmake_install()
|
20 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Notifications CONFIG_PATH lib/cmake/KF5Notifications)
|
21 |
+
vcpkg_copy_pdbs()
|
22 |
+
|
23 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
24 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
25 |
+
endif()
|
26 |
+
|
27 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
28 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
29 |
+
|
30 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5notifications/vcpkg.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5notifications",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Desktop notifications",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/knotifications/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"kf5config",
|
9 |
+
"kf5coreaddons",
|
10 |
+
{
|
11 |
+
"name": "kf5windowsystem",
|
12 |
+
"platform": "!android"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "libcanberra",
|
16 |
+
"platform": "!(windows | uwp)"
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"name": "libsnoretoast",
|
20 |
+
"platform": "windows"
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"name": "qt5-androidextras",
|
24 |
+
"platform": "android"
|
25 |
+
},
|
26 |
+
"qt5-base",
|
27 |
+
{
|
28 |
+
"name": "qt5-macextras",
|
29 |
+
"platform": "osx"
|
30 |
+
},
|
31 |
+
"qt5-tools",
|
32 |
+
{
|
33 |
+
"name": "qt5-x11extras",
|
34 |
+
"platform": "linux"
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"name": "vcpkg-cmake",
|
38 |
+
"host": true
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"name": "vcpkg-cmake-config",
|
42 |
+
"host": true
|
43 |
+
}
|
44 |
+
]
|
45 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5package/portfile.cmake
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kpackage
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 0f008129d2675fb8faa274bc9d1389be6a4acee0be95eb06973762933a7306749742e852a83144c54523aacdd10e5a808c8c06834ff533719a6e66ccc62f7186
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
-DCMAKE_DISABLE_FIND_PACKAGE_KF5DocTools=ON
|
17 |
+
)
|
18 |
+
|
19 |
+
vcpkg_cmake_install()
|
20 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Package CONFIG_PATH lib/cmake/KF5Package)
|
21 |
+
vcpkg_copy_pdbs()
|
22 |
+
|
23 |
+
vcpkg_copy_tools(TOOL_NAMES kpackagetool5 AUTO_CLEAN)
|
24 |
+
|
25 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
26 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
27 |
+
endif()
|
28 |
+
|
29 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
30 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
31 |
+
|
32 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5package/vcpkg.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5package",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Installation and loading of additional content (ex: scripts, images...) as packages",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kpackage/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
{
|
9 |
+
"name": "gettext",
|
10 |
+
"host": true,
|
11 |
+
"features": [
|
12 |
+
"tools"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
"kf5archive",
|
16 |
+
"kf5coreaddons",
|
17 |
+
"kf5i18n",
|
18 |
+
"qt5-base",
|
19 |
+
"qt5-tools",
|
20 |
+
{
|
21 |
+
"name": "vcpkg-cmake",
|
22 |
+
"host": true
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"name": "vcpkg-cmake-config",
|
26 |
+
"host": true
|
27 |
+
}
|
28 |
+
]
|
29 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5plotting/portfile.cmake
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kplotting
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 4499f1820d2314041d78e48130f5f8ee30c677302c9a34a1f7e797d4ebd0ba4286278622c113907d9c224e753c528adc85cb55abd2d3132187553a5d7fbe382a
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_cmake_install()
|
19 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Plotting CONFIG_PATH lib/cmake/KF5Plotting)
|
20 |
+
vcpkg_copy_pdbs()
|
21 |
+
|
22 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
23 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/plugins" "${CURRENT_PACKAGES_DIR}/debug/plugins")
|
24 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/plugins" "${CURRENT_PACKAGES_DIR}/plugins")
|
25 |
+
|
26 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5plotting/vcpkg.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5plotting",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Lightweight plotting framework",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kplotting/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"qt5-base",
|
9 |
+
"qt5-tools",
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
]
|
19 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5service/portfile.cmake
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/kservice
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 9809b7cb05b3164575e4f92cc979b34dad63945648e054621248fd92ce1c5885a048704ed11b1292446bb55940ed2c11e982a434bb0983c25de9938514b53c6d
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
if(VCPKG_TARGET_IS_OSX)
|
10 |
+
# On Darwin platform, the bundled version of 'bison' may be too old (< 3.0).
|
11 |
+
vcpkg_find_acquire_program(BISON)
|
12 |
+
execute_process(
|
13 |
+
COMMAND ${BISON} --version
|
14 |
+
OUTPUT_VARIABLE BISON_OUTPUT
|
15 |
+
)
|
16 |
+
string(REGEX MATCH "([0-9]+)\\.([0-9]+)\\.([0-9]+)" BISON_VERSION "${BISON_OUTPUT}")
|
17 |
+
set(BISON_MAJOR ${CMAKE_MATCH_1})
|
18 |
+
set(BISON_MINOR ${CMAKE_MATCH_2})
|
19 |
+
message(STATUS "Using bison: ${BISON_MAJOR}.${BISON_MINOR}.${CMAKE_MATCH_3}")
|
20 |
+
if(NOT (BISON_MAJOR GREATER_EQUAL 3 AND BISON_MINOR GREATER_EQUAL 0))
|
21 |
+
message(WARNING "${PORT} requires bison version greater than one provided by macOS, please use \`brew install bison\` to install a newer bison.")
|
22 |
+
endif()
|
23 |
+
endif()
|
24 |
+
|
25 |
+
vcpkg_find_acquire_program(BISON)
|
26 |
+
vcpkg_find_acquire_program(FLEX)
|
27 |
+
|
28 |
+
get_filename_component(FLEX_DIR "${FLEX}" DIRECTORY)
|
29 |
+
get_filename_component(BISON_DIR "${BISON}" DIRECTORY)
|
30 |
+
|
31 |
+
vcpkg_add_to_path(PREPEND "${FLEX_DIR}")
|
32 |
+
vcpkg_add_to_path(PREPEND "${BISON_DIR}")
|
33 |
+
|
34 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
35 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
36 |
+
|
37 |
+
vcpkg_cmake_configure(
|
38 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
39 |
+
OPTIONS
|
40 |
+
-DBUILD_TESTING=OFF
|
41 |
+
-DCMAKE_DISABLE_FIND_PACKAGE_KF5DocTools=ON
|
42 |
+
)
|
43 |
+
|
44 |
+
vcpkg_cmake_install()
|
45 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Service CONFIG_PATH lib/cmake/KF5Service)
|
46 |
+
vcpkg_copy_pdbs()
|
47 |
+
|
48 |
+
vcpkg_copy_tools(
|
49 |
+
TOOL_NAMES kbuildsycoca5
|
50 |
+
AUTO_CLEAN
|
51 |
+
)
|
52 |
+
|
53 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
54 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
55 |
+
endif()
|
56 |
+
|
57 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
58 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
59 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5service/vcpkg.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5service",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Plugin framework for desktop services",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/kservice/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
{
|
9 |
+
"name": "gettext",
|
10 |
+
"host": true,
|
11 |
+
"features": [
|
12 |
+
"tools"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
"kf5config",
|
16 |
+
"kf5coreaddons",
|
17 |
+
{
|
18 |
+
"name": "kf5dbusaddons",
|
19 |
+
"platform": "!android"
|
20 |
+
},
|
21 |
+
"kf5i18n",
|
22 |
+
"libiconv",
|
23 |
+
"qt5-base",
|
24 |
+
"qt5-tools",
|
25 |
+
{
|
26 |
+
"name": "vcpkg-cmake",
|
27 |
+
"host": true
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"name": "vcpkg-cmake-config",
|
31 |
+
"host": true
|
32 |
+
}
|
33 |
+
]
|
34 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5solid/fix-libmount.patch
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/KF5SolidConfig.cmake.in b/KF5SolidConfig.cmake.in
|
2 |
+
index 0a23f44..7020804 100644
|
3 |
+
--- a/KF5SolidConfig.cmake.in
|
4 |
+
+++ b/KF5SolidConfig.cmake.in
|
5 |
+
@@ -23,6 +23,10 @@ if (NOT @BUILD_SHARED_LIBS@)
|
6 |
+
find_dependency(Qt5Xml @REQUIRED_QT_VERSION@)
|
7 |
+
find_dependency(Qt5Gui @REQUIRED_QT_VERSION@)
|
8 |
+
|
9 |
+
+ if (@HAVE_LIBMOUNT@)
|
10 |
+
+ find_dependency(LibMount)
|
11 |
+
+ endif()
|
12 |
+
+
|
13 |
+
if (@Qt5DBus_FOUND@)
|
14 |
+
find_dependency(Qt5DBus @REQUIRED_QT_VERSION@)
|
15 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5solid/portfile.cmake
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/solid
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 18d3c709756476870b6495bd5a99d70ec291a71a2f79dae954ce434953fb6299033c2dc85c68adf81031b03b70bf2e4798b7428da99c2ac28ddd6070cc413592
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
fix-libmount.patch
|
9 |
+
)
|
10 |
+
|
11 |
+
if(VCPKG_TARGET_IS_OSX)
|
12 |
+
# On Darwin platform, the bundled version of 'bison' may be too old (< 3.0).
|
13 |
+
vcpkg_find_acquire_program(BISON)
|
14 |
+
execute_process(
|
15 |
+
COMMAND ${BISON} --version
|
16 |
+
OUTPUT_VARIABLE BISON_OUTPUT
|
17 |
+
)
|
18 |
+
string(REGEX MATCH "([0-9]+)\\.([0-9]+)\\.([0-9]+)" BISON_VERSION "${BISON_OUTPUT}")
|
19 |
+
set(BISON_MAJOR ${CMAKE_MATCH_1})
|
20 |
+
set(BISON_MINOR ${CMAKE_MATCH_2})
|
21 |
+
message(STATUS "Using bison: ${BISON_MAJOR}.${BISON_MINOR}.${CMAKE_MATCH_3}")
|
22 |
+
if(NOT (BISON_MAJOR GREATER_EQUAL 3 AND BISON_MINOR GREATER_EQUAL 0))
|
23 |
+
message(WARNING "${PORT} requires bison version greater than one provided by macOS, please use \`brew install bison\` to install a newer bison.")
|
24 |
+
endif()
|
25 |
+
endif()
|
26 |
+
|
27 |
+
vcpkg_find_acquire_program(BISON)
|
28 |
+
vcpkg_find_acquire_program(FLEX)
|
29 |
+
|
30 |
+
get_filename_component(FLEX_DIR "${FLEX}" DIRECTORY )
|
31 |
+
get_filename_component(BISON_DIR "${BISON}" DIRECTORY )
|
32 |
+
|
33 |
+
vcpkg_add_to_path(PREPEND "${FLEX_DIR}")
|
34 |
+
vcpkg_add_to_path(PREPEND "${BISON_DIR}")
|
35 |
+
|
36 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
37 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
38 |
+
|
39 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
40 |
+
INVERTED_FEATURES
|
41 |
+
"libmount" CMAKE_DISABLE_FIND_PACKAGE_LibMount
|
42 |
+
)
|
43 |
+
|
44 |
+
vcpkg_cmake_configure(
|
45 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
46 |
+
OPTIONS
|
47 |
+
-DBUILD_TESTING=OFF
|
48 |
+
-DKDE_INSTALL_QMLDIR=qml
|
49 |
+
)
|
50 |
+
|
51 |
+
vcpkg_cmake_install()
|
52 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Solid CONFIG_PATH lib/cmake/KF5Solid)
|
53 |
+
vcpkg_copy_pdbs()
|
54 |
+
|
55 |
+
vcpkg_copy_tools(
|
56 |
+
TOOL_NAMES solid-hardware5
|
57 |
+
AUTO_CLEAN
|
58 |
+
)
|
59 |
+
|
60 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
61 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
62 |
+
endif()
|
63 |
+
|
64 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
65 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
66 |
+
|
67 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5solid/vcpkg.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5solid",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Desktop hardware abstraction",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/solid/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"qt5-base",
|
9 |
+
"qt5-tools",
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
],
|
19 |
+
"default-features": [
|
20 |
+
"platform-default-features"
|
21 |
+
],
|
22 |
+
"features": {
|
23 |
+
"libmount": {
|
24 |
+
"description": "Used by the UDisks backend on Linux",
|
25 |
+
"supports": "linux",
|
26 |
+
"dependencies": [
|
27 |
+
"libmount"
|
28 |
+
]
|
29 |
+
},
|
30 |
+
"platform-default-features": {
|
31 |
+
"description": "Enable platform-dependent default features",
|
32 |
+
"dependencies": [
|
33 |
+
{
|
34 |
+
"name": "kf5solid",
|
35 |
+
"features": [
|
36 |
+
"libmount"
|
37 |
+
],
|
38 |
+
"platform": "linux"
|
39 |
+
}
|
40 |
+
]
|
41 |
+
}
|
42 |
+
}
|
43 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5sonnet/portfile.cmake
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/sonnet
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 18e2b9f9553229853952e2b0e3e6fac9c87417014f607144419bfe10b9d40cf5b542b253a43e5305d75ccef525f8cce36c112e1bad9398365847d5ec2996e8e4
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
10 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
11 |
+
|
12 |
+
vcpkg_cmake_configure(
|
13 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
14 |
+
OPTIONS
|
15 |
+
-DBUILD_TESTING=OFF
|
16 |
+
-DBUILD_EXAMPLES=OFF
|
17 |
+
-DKDE_INSTALL_PLUGINDIR=plugins
|
18 |
+
-DKDE_INSTALL_QTPLUGINDIR=plugins
|
19 |
+
-DKDE_INSTALL_QMLDIR=qml
|
20 |
+
)
|
21 |
+
|
22 |
+
vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/bin")
|
23 |
+
vcpkg_add_to_path(PREPEND "${CURRENT_INSTALLED_DIR}/debug/bin")
|
24 |
+
|
25 |
+
vcpkg_cmake_install()
|
26 |
+
|
27 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5Sonnet CONFIG_PATH lib/cmake/KF5Sonnet)
|
28 |
+
|
29 |
+
vcpkg_copy_tools(
|
30 |
+
TOOL_NAMES gentrigrams parsetrigrams
|
31 |
+
AUTO_CLEAN
|
32 |
+
)
|
33 |
+
|
34 |
+
file(APPEND "${CURRENT_PACKAGES_DIR}/tools/${PORT}/qt.conf" "Data = ../../share")
|
35 |
+
|
36 |
+
vcpkg_copy_pdbs()
|
37 |
+
|
38 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
39 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
40 |
+
endif()
|
41 |
+
|
42 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
43 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
44 |
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/bin/gentrigrams${VCPKG_HOST_EXECUTABLE_SUFFIX}")
|
45 |
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/bin/parsetrigrams${VCPKG_HOST_EXECUTABLE_SUFFIX}")
|
46 |
+
|
47 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5sonnet/vcpkg.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5sonnet",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Multi-language spell checker",
|
5 |
+
"homepage": "https://api.kde.org/frameworks/sonnet/html/index.html",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"qt5-base",
|
9 |
+
"qt5-tools",
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
]
|
19 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5syntaxhighlighting/portfile.cmake
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO KDE/syntax-highlighting
|
4 |
+
REF v5.89.0
|
5 |
+
SHA512 c92df10d236d736f3f944f25efac796636ef857049732c0359edb900a1686839c55303917ab2286935024e7e6f19a0797fc38b417a1bd60d5dfb8c9c45ca6e66
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_find_acquire_program(PERL)
|
10 |
+
get_filename_component(PERL_EXE_PATH ${PERL} DIRECTORY)
|
11 |
+
vcpkg_add_to_path("${PERL_EXE_PATH}")
|
12 |
+
|
13 |
+
# Prevent KDEClangFormat from writing to source effectively blocking parallel configure
|
14 |
+
file(WRITE "${SOURCE_PATH}/.clang-format" "DisableFormat: true\nSortIncludes: false\n")
|
15 |
+
|
16 |
+
vcpkg_cmake_configure(
|
17 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
18 |
+
OPTIONS
|
19 |
+
-DBUILD_TESTING=OFF
|
20 |
+
-DKDE_INSTALL_QMLDIR=qml
|
21 |
+
)
|
22 |
+
|
23 |
+
vcpkg_cmake_install(ADD_BIN_TO_PATH)
|
24 |
+
vcpkg_cmake_config_fixup(PACKAGE_NAME KF5SyntaxHighlighting CONFIG_PATH lib/cmake/KF5SyntaxHighlighting)
|
25 |
+
vcpkg_copy_pdbs()
|
26 |
+
|
27 |
+
vcpkg_copy_tools(
|
28 |
+
TOOL_NAMES kate-syntax-highlighter
|
29 |
+
AUTO_CLEAN
|
30 |
+
)
|
31 |
+
|
32 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
33 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
34 |
+
endif()
|
35 |
+
|
36 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
37 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
38 |
+
|
39 |
+
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/kf5syntaxhighlighting/vcpkg.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "kf5syntaxhighlighting",
|
3 |
+
"version": "5.89.0",
|
4 |
+
"description": "Syntax highlighting engine for Kate syntax definitions",
|
5 |
+
"homepage": "https://github.com/KDE/syntax-highlighting",
|
6 |
+
"dependencies": [
|
7 |
+
"ecm",
|
8 |
+
"qt5-base",
|
9 |
+
"qt5-tools",
|
10 |
+
"qt5-xmlpatterns",
|
11 |
+
{
|
12 |
+
"name": "vcpkg-cmake",
|
13 |
+
"host": true
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "vcpkg-cmake-config",
|
17 |
+
"host": true
|
18 |
+
}
|
19 |
+
]
|
20 |
+
}
|