mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[many ports] Update existing KF5 frameworks to 5.75 (#13467)
* Update KF5 framework to 5.73 kf5crash - make x11 patch exclusive to linux - enable win/macOS builds kf5syntaxhighlighting - fix building on non-Win by removing the cli tool from all platforms * Add kf5auth port * Revert "Add kf5auth port" This reverts commit 8703c2423667f62075c34496ef273394a5b8d538. * Add kf5globalaccel port * Revert "Add kf5globalaccel port" This reverts commit f1ac3db8e2019f474a09d6964aea8e21bc9da166. * [ecm] use where possible * [kf5holidays] use PORT placeholder where possible * [kf5syntaxhighlighting] use PORT placeholder where possible Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * [kf5plotting] use PORT placeholder where possible * [kf5crash] fix logical condition in the patch * [kf5crash] logical condition again, include other BSDs * [kf5i18n] acquire python3 * [kf5i18n] remove vcpk cmake wrapper added mistakenly * Update KF5 framework to 5.73 kf5crash - make x11 patch exclusive to linux - enable win/macOS builds kf5syntaxhighlighting - fix building on non-Win by removing the cli tool from all platforms * Add kf5auth port * Revert "Add kf5auth port" This reverts commit 8703c2423667f62075c34496ef273394a5b8d538. * Add kf5globalaccel port * Revert "Add kf5globalaccel port" This reverts commit f1ac3db8e2019f474a09d6964aea8e21bc9da166. * [ecm] use where possible * [kf5holidays] use PORT placeholder where possible * [kf5syntaxhighlighting] use PORT placeholder where possible Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * [kf5plotting] use PORT placeholder where possible * [kf5crash] fix logical condition in the patch * [kf5crash] logical condition again, include other BSDs * [kf5i18n] acquire python3 * [kf5i18n] remove vcpk cmake wrapper added mistakenly * [ecm] Remove 'skip' from windows baseline * Fixed KF5ItemModel for windows * [kf5syntaxhighlighting] fix Windows build * Fixed k5syntaxhighlighting for windows * [kf5plotting] fix license files * [kf5archive] fix license files * [kf5*] update to 5.75.0 * [kf5holidays] fix sha sum * [kf5syntaxhighlighting] fix licensing * [kf5itemviews] fix windows static build * [kf5widgetsaddons] fix windows static build * [kf5completion] fix windows static build * [kf5*] fix windows static build * [kf5i18n] fix windows static build * [kf5windowsystem] require libxcb-res0-dev * [kf5windowsystem] depend on qt5-x11extras * [qt5] fix brotli reference * Delete duplicate apt entries. * kf5crash: fix linux build * kf5i18n: fix Linux build * ecm: do not override custom clang format files * kf5i18n: fix Windows build * [kf5*] update versions * [kf5i18n] fix logical NOT * [kf5syntaxhighlighting] disable parallel configure * [kf5*] update versions * [kf5*] convert CONTROL to manifest * [kf5*] update versions * [kf5*] update versioning scheme * [ecm] syntax formatting Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * [kf5syntaxhighlighting] syntax formatting Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * [kf5holidays] syntax formatting Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * [kf5archive] restore original line order * [kf5holidays] restore CRLF * [kf5archive] restore CRLF * [kf5syntaxhighlighting] syntax formatting * [kf5syntaxhighlighting] quotations * [kf5syntaxhighlighting] fix \bin removal redundancy * [kf5*] update versions Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Kuntal Majumder <hellozee@disroot.org> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
parent
407ca92259
commit
bc96cd54bf
@ -1,4 +0,0 @@
|
||||
Source: ecm
|
||||
Version: 5.74.0
|
||||
Homepage: https://github.com/KDE/extra-cmake-modules
|
||||
Description: Extra CMake Modules (ECM), extra modules and scripts for CMake
|
33
ports/ecm/do-not-override-custom-clang-format-files.patch
Normal file
33
ports/ecm/do-not-override-custom-clang-format-files.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From 0d5ed9bb9117f6526691b3572bf85090efbeed4a Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Lohnau <alexander.lohnau@gmx.de>
|
||||
Date: Sat, 30 Jan 2021 13:44:07 +0100
|
||||
Subject: [PATCH] KDEClangFormat: Do not override custom clang-format files
|
||||
|
||||
---
|
||||
kde-modules/KDEClangFormat.cmake | 13 ++++++++++++-
|
||||
1 file changed, 12 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kde-modules/KDEClangFormat.cmake b/kde-modules/KDEClangFormat.cmake
|
||||
index 6cdbd2b5..995f03ad 100644
|
||||
--- a/kde-modules/KDEClangFormat.cmake
|
||||
+++ b/kde-modules/KDEClangFormat.cmake
|
||||
@@ -35,7 +35,18 @@ find_program(KDE_CLANG_FORMAT_EXECUTABLE clang-format)
|
||||
|
||||
# instantiate our clang-format file, must be in source directory for tooling if we have the tool
|
||||
if(KDE_CLANG_FORMAT_EXECUTABLE)
|
||||
- configure_file(${CMAKE_CURRENT_LIST_DIR}/clang-format.cmake ${CMAKE_CURRENT_SOURCE_DIR}/.clang-format @ONLY)
|
||||
+ set(CLANG_FORMAT_FILE ${CMAKE_CURRENT_SOURCE_DIR}/.clang-format)
|
||||
+ if (EXISTS ${CLANG_FORMAT_FILE})
|
||||
+ file(READ ${CLANG_FORMAT_FILE} CLANG_FORMAT_CONTENTS LIMIT 128)
|
||||
+ string(FIND "${CLANG_FORMAT_CONTENTS}" "SPDX-FileCopyrightText: 2019 Christoph Cullmann" matchres)
|
||||
+ if(${matchres} EQUAL -1)
|
||||
+ message(WARNING "The .clang-format file already exists. Please remove it in order to use the file provided by ECM")
|
||||
+ else()
|
||||
+ configure_file(${CMAKE_CURRENT_LIST_DIR}/clang-format.cmake ${CLANG_FORMAT_FILE} @ONLY)
|
||||
+ endif()
|
||||
+ else()
|
||||
+ configure_file(${CMAKE_CURRENT_LIST_DIR}/clang-format.cmake ${CLANG_FORMAT_FILE} @ONLY)
|
||||
+ endif()
|
||||
endif()
|
||||
|
||||
# formatting target
|
@ -1,9 +1,11 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/extra-cmake-modules
|
||||
REF 5c191fa1d2383c69ddc075395e04f84b7679613a # v5.74.0
|
||||
SHA512 9a520e2cb45f2891cb5b463409063549904574e2ad0c4f77987555fc9aac68589695344a3acaddcb95d2739458031ece489ff9635c7d713c6309e4f9027f6ef7
|
||||
REF v5.75.0
|
||||
SHA512 486845a91967c89dec42f9120757c7b883006713d0957e9bd21dfacb2911225fe45680590ef3dc5e0d45a9dbc81cf99e1514fb4922b1a027bcba3864da883076
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
"do-not-override-custom-clang-format-files.patch"
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
@ -21,7 +23,7 @@ vcpkg_install_cmake()
|
||||
# Remove debug files
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
||||
|
||||
file(COPY ${CURRENT_PORT_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/ecm)
|
||||
file(COPY ${CURRENT_PORT_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING-CMAKE-SCRIPTS DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
|
6
ports/ecm/vcpkg.json
Normal file
6
ports/ecm/vcpkg.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "ecm",
|
||||
"version": "5.75.0",
|
||||
"description": "Extra CMake Modules (ECM), extra modules and scripts for CMake",
|
||||
"homepage": "https://github.com/KDE/extra-cmake-modules"
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
Source: kf5archive
|
||||
Version: 5.74.0
|
||||
Port-Version: 1
|
||||
Homepage: https://api.kde.org/frameworks/karchive/html/index.html
|
||||
Description: File compression
|
||||
Build-Depends: ecm, qt5-base[core], zlib, bzip2
|
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/karchive
|
||||
REF 6e1f95972f25f1d3a94dd181f44ee0846e042ef9 # v5.74.0
|
||||
SHA512 333a5e310c1b482379a3092bb3ac0e31963917090edd3afba6f26e40f63abe327dfdff70800e635667fe3333538e5fc911ab06d7287c17d2062a4618c191f308
|
||||
REF v5.75.0
|
||||
SHA512 4a909626f776cc9ebf9acd0e16bcda9e2e0e5dd29bd52b27140baa9905758a028f542ccd40e98c5432a4d9eac2908e36e1f9329e40cc4cf835e15557c96175f1
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
@ -20,8 +20,13 @@ vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Archive)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/LGPL-3.0-only.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
12
ports/kf5archive/vcpkg.json
Normal file
12
ports/kf5archive/vcpkg.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "kf5archive",
|
||||
"version": "5.75.0",
|
||||
"description": "File compression",
|
||||
"homepage": "https://api.kde.org/frameworks/karchive/html/index.html",
|
||||
"dependencies": [
|
||||
"bzip2",
|
||||
"ecm",
|
||||
"qt5-base",
|
||||
"zlib"
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
Source: kf5completion
|
||||
Version: 5.64.0
|
||||
Homepage: https://api.kde.org/frameworks/kcompletion/html/index.html
|
||||
Description: Text completion helpers and widgets
|
||||
Build-Depends: ecm, qt5-tools, kf5config, kf5widgetsaddons
|
@ -1,10 +1,9 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index a86a05e..688bae2 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -32,7 +32,7 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX KCOMPLETION
|
||||
# Dependencies
|
||||
set(REQUIRED_QT_VERSION 5.11.0)
|
||||
set(REQUIRED_QT_VERSION 5.12.0)
|
||||
|
||||
-find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Widgets)
|
||||
+find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Widgets DBus)
|
||||
|
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kcompletion
|
||||
REF v5.64.0
|
||||
SHA512 1d597bc0e82d1570b1ff7b254425ab18d4d505a0b7f475a43b51d70566b91e763b86675837421c3f09073544efa77e673e9d2cfef586c12684fc9fe7b0c6a0cc
|
||||
REF v5.75.0
|
||||
SHA512 f4ff54b518f51b399392ee8f4be27bcc15a45be993b6a76305a16c84d6a85629017b8c4c27f19ff2c37699eeb3a455b9b6e5c7551716a55f0f7ecce2f2a2240b
|
||||
HEAD_REF master
|
||||
# reported issue, just a manual workaround until the issue is fixed upstream
|
||||
PATCHES
|
||||
@ -24,10 +24,15 @@ vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Completion)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
12
ports/kf5completion/vcpkg.json
Normal file
12
ports/kf5completion/vcpkg.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "kf5completion",
|
||||
"version": "5.75.0",
|
||||
"description": "Text completion helpers and widgets",
|
||||
"homepage": "https://api.kde.org/frameworks/kcompletion/html/index.html",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"kf5config",
|
||||
"kf5widgetsaddons",
|
||||
"qt5-tools"
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
Source: kf5config
|
||||
Version: 5.64.0
|
||||
Homepage: https://api.kde.org/frameworks/kconfig/html/index.html
|
||||
Description: Configuration system
|
||||
Build-Depends: ecm, qt5-base, qt5-tools
|
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kconfig
|
||||
REF v5.64.0
|
||||
SHA512 b8919e552a35ed3f4882d2d15205c5576be985e9f6e4e834d26587c9288e85a2ab27504a1531d1af70e8db4dc7ed71a6b0caf91c7310dace81177b68aa6a97e5
|
||||
REF v5.75.0
|
||||
SHA512 66789adf41114354cd2602b4bc6215f99026c1735547ab9c1449fff18dca7cf1e5786dcc8030499b8449498d14ece33aad9d9955109331f5c8c3914d1eccfd50
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
@ -50,4 +50,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
|
11
ports/kf5config/vcpkg.json
Normal file
11
ports/kf5config/vcpkg.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "kf5config",
|
||||
"version": "5.75.0",
|
||||
"description": "Configuration system",
|
||||
"homepage": "https://api.kde.org/frameworks/kconfig/html/index.html",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"qt5-base",
|
||||
"qt5-tools"
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
Source: kf5coreaddons
|
||||
Version: 5.64.0
|
||||
Homepage: https://api.kde.org/frameworks/kcoreaddons/html/index.html
|
||||
Description: Addons to QtCore
|
||||
Build-Depends: ecm, qt5-base, qt5-tools
|
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kcoreaddons
|
||||
REF v5.64.0
|
||||
SHA512 b6849c072aa33cd2d93477e7a08ffc8ec7034f7d8530b6492faa9a53e4e15af0da778fc54e5d865e68b36c32aa6559f3d178a03046f5120d11dcb61d35ed7a60
|
||||
REF v5.75.0
|
||||
SHA512 bf17c323dbf2164a1d8e265ff97f01dd683b0f285c59755dd2f49a842666af0eaba3f6f73496d2f9690088b1cc7fe37e671218f039e8b3be0ce1ac5e2bbe13c3
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
@ -39,4 +39,4 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
11
ports/kf5coreaddons/vcpkg.json
Normal file
11
ports/kf5coreaddons/vcpkg.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "kf5coreaddons",
|
||||
"version": "5.75.0",
|
||||
"description": "Addons to QtCore",
|
||||
"homepage": "https://api.kde.org/frameworks/kcoreaddons/html/index.html",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"qt5-base",
|
||||
"qt5-tools"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
Source: kf5crash
|
||||
Version: 5.64.0
|
||||
Homepage: https://api.kde.org/frameworks/kcrash/html/index.html
|
||||
Description: KCrash provides support for intercepting and handling application crashes.
|
||||
Supports: linux
|
||||
Build-Depends: ecm, kf5coreaddons, kf5widgetsaddons
|
@ -1,13 +1,15 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 8a9d1c6..0d5fb3f 100644
|
||||
index 8c66d85..f2d89cb 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -12,7 +12,7 @@ feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKA
|
||||
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
|
||||
|
||||
set(REQUIRED_QT_VERSION 5.11.0)
|
||||
-find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core)
|
||||
+find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core X11Extras)
|
||||
include(KDEInstallDirs)
|
||||
@@ -17,8 +17,9 @@ include(KDEInstallDirs)
|
||||
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
|
||||
include(KDECMakeSettings)
|
||||
|
||||
-if (NOT APPLE)
|
||||
+if (UNIX AND NOT APPLE)
|
||||
find_package(X11)
|
||||
+ find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED COMPONENTS X11Extras)
|
||||
endif()
|
||||
|
||||
set(HAVE_X11 ${X11_FOUND})
|
||||
|
@ -1,10 +1,8 @@
|
||||
vcpkg_fail_port_install(ON_TARGET "osx" "uwp" "windows")
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kcrash
|
||||
REF v5.64.0
|
||||
SHA512 28749b220002fef756dbd8436cf684b7e3eb1d72ae00ae8b1bfded5c4a446683dc925a3be9beb55ad0872e71d3c23411d32b4fab935909816efa339cedaeda3d
|
||||
REF v5.75.0
|
||||
SHA512 f6784d2db20bd90194a1ae8134e344a899f8c28d934783fbc104d2719e8340955278059ea5a237eeda550b4c4484e45c6d4b7c09425b0d1bb0b0025d8e214596
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
add_x11extras.patch
|
||||
@ -28,4 +26,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
|
16
ports/kf5crash/vcpkg.json
Normal file
16
ports/kf5crash/vcpkg.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "kf5crash",
|
||||
"version": "5.75.0",
|
||||
"description": "KCrash provides support for intercepting and handling application crashes.",
|
||||
"homepage": "https://api.kde.org/frameworks/kcrash/html/index.html",
|
||||
"supports": "linux",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"kf5coreaddons",
|
||||
"kf5windowsystem",
|
||||
{
|
||||
"name": "qt5-x11extras",
|
||||
"platform": "linux"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
Source: kf5guiaddons
|
||||
Version: 5.64.0
|
||||
Homepage: https://api.kde.org/frameworks/kguiaddons/html/index.html
|
||||
Description: Addons to QtGui
|
||||
Build-Depends: ecm, qt5-winextras (windows), qt5-x11extras (linux), qt5-tools
|
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kguiaddons
|
||||
REF v5.64.0
|
||||
SHA512 98d07360f02b473997cdbf9e9b832ea8c4a459a73669eff1db5276dfbd63e9a9088e3c1ed99d70cc1433468e1efcbce43d22fefdf75a399f4812e0fc4a4f13b1
|
||||
REF v5.75.0
|
||||
SHA512 d016e2e8c6fecd037cab025acd129305a3c062e0f98b537f1454dccfb13d9a6765f1974588416fcd8d23ae9c9efdb2276c3cbab15e21df62aea07059142dd12b
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
@ -20,10 +20,15 @@ vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5GuiAddons)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
18
ports/kf5guiaddons/vcpkg.json
Normal file
18
ports/kf5guiaddons/vcpkg.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "kf5guiaddons",
|
||||
"version": "5.75.0",
|
||||
"description": "Addons to QtGui",
|
||||
"homepage": "https://api.kde.org/frameworks/kguiaddons/html/index.html",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"qt5-tools",
|
||||
{
|
||||
"name": "qt5-winextras",
|
||||
"platform": "windows"
|
||||
},
|
||||
{
|
||||
"name": "qt5-x11extras",
|
||||
"platform": "linux"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
Source: kf5holidays
|
||||
Version: 5.74.0
|
||||
Description: Holiday calculation library
|
||||
Build-Depends: ecm, qt5-base[core], qt5-tools
|
@ -1,29 +1,35 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kholidays
|
||||
REF 75055256fdd361fa52bafc0ee2f989b14661cd22 # v5.74.0
|
||||
SHA512 0405eac77aedf363697c4aa9cc8699c7031db86957dfc6143078bd8dc88955bcdd31e9fd2af78be2543f87e6391ff73257f591b04135c649450b60006012c34a
|
||||
REF v5.75.0
|
||||
SHA512 16b62a7e8fc664075cf787a7ae811bdb7f27b11f10619001994e1aa0c89e46bdb1c932091f6fcdcc3bad91614eeb9606a9b6aef62cec5e4a557a0c107e32d816
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS -DBUILD_HTML_DOCS=OFF
|
||||
-DBUILD_MAN_DOCS=OFF
|
||||
-DBUILD_QTHELP_DOCS=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
OPTIONS
|
||||
-DBUILD_HTML_DOCS=OFF
|
||||
-DBUILD_MAN_DOCS=OFF
|
||||
-DBUILD_QTHELP_DOCS=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Holidays)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/qml ${CURRENT_PACKAGES_DIR}/debug/qml )
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/qml ${CURRENT_PACKAGES_DIR}/qml )
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/kf5holidays RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
|
10
ports/kf5holidays/vcpkg.json
Normal file
10
ports/kf5holidays/vcpkg.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "kf5holidays",
|
||||
"version": "5.75.0",
|
||||
"description": "Holiday calculation library",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"qt5-base",
|
||||
"qt5-tools"
|
||||
]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
Source: kf5i18n
|
||||
Version: 5.64.0
|
||||
Port-Version: 1
|
||||
Homepage: https://api.kde.org/frameworks/ki18n/html/index.html
|
||||
Description: Advanced internationalization framework
|
||||
Build-Depends: ecm, qt5-declarative, qt5-tools, gettext
|
@ -1,8 +1,13 @@
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
list(APPEND PATCHES "prevent-cmake-failing-with-variable-notfound.patch")
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/ki18n
|
||||
REF v5.64.0
|
||||
SHA512 13b5d701003edea704ffc86a886d86b27ff2198d4cde4ee732b9241cf04dba0fba403f1f78b45facd7c2d3b543f8f0a098369035270a61b347331eb495fae1d3
|
||||
REF v5.75.0
|
||||
SHA512 9e059afb8c3bd074ecdfcb1bf4cf3c9340159dc9f7276c9bb81abb1fa73fc893229abade8c4fac344ffec555889232d3a789df72974d6f9c7c6437627872a356
|
||||
PATCHES ${PATCHES}
|
||||
)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
@ -26,6 +31,8 @@ if(CMAKE_HOST_WIN32)
|
||||
vcpkg_add_to_path(${GETTEXT_PATH})
|
||||
endif()
|
||||
|
||||
vcpkg_find_acquire_program(PYTHON3)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
@ -35,16 +42,22 @@ vcpkg_configure_cmake(
|
||||
-DBUILD_QTHELP_DOCS=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
-DKDE_INSTALL_PLUGINDIR=plugins
|
||||
-DPYTHON_EXECUTABLE=${PYTHON3}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5I18n)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
|
@ -0,0 +1,33 @@
|
||||
From 6195ac786afd3fb8d74df4db86fdddd966661ec9 Mon Sep 17 00:00:00 2001
|
||||
From: Dawid Wrobel <me@dawidwrobel.com>
|
||||
Date: Mon, 1 Mar 2021 20:41:12 +0000
|
||||
Subject: [PATCH] Prevent CMake failing with "variable NOTFOUND"
|
||||
|
||||
Since the LibIntl_LIBRARIES has value only on some platforms, CMake can
|
||||
throw an error complaining about using a NOTFOUND variable.
|
||||
---
|
||||
src/CMakeLists.txt | 8 ++++++--
|
||||
1 file changed, 6 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 92bfabf..46d2c76 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -41,8 +41,12 @@ target_include_directories(KF5I18n INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_
|
||||
target_include_directories(KF5I18n PRIVATE ${LibIntl_INCLUDE_DIRS})
|
||||
|
||||
target_link_libraries(KF5I18n PUBLIC Qt5::Core)
|
||||
-# This is only required for platforms which don't use glibc (with glibc LibIntl_LIBRARIES will be empty)
|
||||
-target_link_libraries(KF5I18n PRIVATE ${LibIntl_LIBRARIES})
|
||||
+
|
||||
+if (${LibIntl_LIBRARIES})
|
||||
+ # This is only required for platforms which don't use glibc (with glibc LibIntl_LIBRARIES will be empty)
|
||||
+ target_link_libraries(KF5I18n PRIVATE ${LibIntl_LIBRARIES})
|
||||
+endif()
|
||||
+
|
||||
target_compile_options(KF5I18n PRIVATE -DTRANSLATION_DOMAIN=\"ki18n5\")
|
||||
|
||||
set_target_properties(KF5I18n PROPERTIES VERSION ${KI18N_VERSION_STRING}
|
||||
--
|
||||
GitLab
|
||||
|
12
ports/kf5i18n/vcpkg.json
Normal file
12
ports/kf5i18n/vcpkg.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "kf5i18n",
|
||||
"version": "5.75.0",
|
||||
"description": "Advanced internationalization framework",
|
||||
"homepage": "https://api.kde.org/frameworks/ki18n/html/index.html",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"gettext",
|
||||
"qt5-declarative",
|
||||
"qt5-tools"
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
Source: kf5itemmodels
|
||||
Version: 5.64.0
|
||||
Homepage: https://api.kde.org/frameworks/kitemmodels/html/index.html
|
||||
Description: Models for Qt Model/View system
|
||||
Build-Depends: ecm, qt5-tools, qt5-base
|
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kitemmodels
|
||||
REF v5.64.0
|
||||
SHA512 c29911b5ff521a8d1dae9b72250be59267da7bf059aeb1efec6a7361204957c12a1ae95fd34a00067b277ce3a61d88930326501c361341a316d6c0afb109b7ed
|
||||
REF v5.75.0
|
||||
SHA512 24304df25d4331edccd8ef579489d6d691dcca8fb8820aedd7c89513ae79310846137aa2281b54b42377189f1ecf7bf30d771da8dce4733bc8959572b749445c
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
@ -13,16 +13,22 @@ vcpkg_configure_cmake(
|
||||
-DBUILD_MAN_DOCS=OFF
|
||||
-DBUILD_QTHELP_DOCS=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
-DKDE_INSTALL_QMLDIR=qml
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5ItemModels)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
|
11
ports/kf5itemmodels/vcpkg.json
Normal file
11
ports/kf5itemmodels/vcpkg.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "kf5itemmodels",
|
||||
"version": "5.75.0",
|
||||
"description": "Models for Qt Model/View system",
|
||||
"homepage": "https://api.kde.org/frameworks/kitemmodels/html/index.html",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"qt5-base",
|
||||
"qt5-tools"
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
Source: kf5itemviews
|
||||
Version: 5.64.0
|
||||
Homepage: https://api.kde.org/frameworks/kitemviews/html/index.html
|
||||
Description: Widget addons for Qt Model/View
|
||||
Build-Depends: ecm, qt5-tools, qt5-base
|
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kitemviews
|
||||
REF v5.64.0
|
||||
SHA512 c40d1dee94badac2e58098138522d72be00082ac9ce70e8f5690b5bd5ae0705fa79a7edc3af391230a86d08a4a8b7dac1c28f148758f7ee8c09195a178e35bcb
|
||||
REF v5.75.0
|
||||
SHA512 929e223540d026121fd5b5d36ed2b5e5b53d55c617d9e5f9abc75f56b9441e3495530faeb7aa38a3dcffc67c551eec70a86bcdeaf22d6e9cf4921fd3812c4c89
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
@ -20,10 +20,15 @@ vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5ItemViews)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
|
11
ports/kf5itemviews/vcpkg.json
Normal file
11
ports/kf5itemviews/vcpkg.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "kf5itemviews",
|
||||
"version": "5.75.0",
|
||||
"description": "Widget addons for Qt Model/View",
|
||||
"homepage": "https://api.kde.org/frameworks/kitemviews/html/index.html",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"qt5-base",
|
||||
"qt5-tools"
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
Source: kf5plotting
|
||||
Version: 5.74.0
|
||||
Homepage: https://api.kde.org/frameworks/kplotting/html/index.html
|
||||
Description: Lightweight plotting framework
|
||||
Build-Depends: ecm, qt5-base[core], qt5-tools
|
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kplotting
|
||||
REF 0645b4803f9d260ea80087cc81ebabfd874e4274 # v5.74.0
|
||||
SHA512 32fb460ada2063106df3aee29b618b500e1418c4c341326960393308a65f74a0913480c1089278ef5a32a744d3b40b98b873dea14293c997dadce2525b6647d5
|
||||
REF v5.75.0
|
||||
SHA512 1eb2320006a21b0d8a3b4fb557458954a1d82427f8b91339d606e5405ef2820f408f257d833fb4af0c5f737eacff0f0371db54b5e6f63b68093e30a8249f17bf
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
@ -22,4 +22,5 @@ vcpkg_copy_pdbs()
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/plugins ${CURRENT_PACKAGES_DIR}/debug/plugins)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/plugins ${CURRENT_PACKAGES_DIR}/plugins)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/kf5plotting RENAME copyright)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
|
11
ports/kf5plotting/vcpkg.json
Normal file
11
ports/kf5plotting/vcpkg.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "kf5plotting",
|
||||
"version": "5.75.0",
|
||||
"description": "Lightweight plotting framework",
|
||||
"homepage": "https://api.kde.org/frameworks/kplotting/html/index.html",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"qt5-base",
|
||||
"qt5-tools"
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
Source: kf5syntaxhighlighting
|
||||
Version: 5.64.0-1
|
||||
Homepage: https://github.com/KDE/syntax-highlighting
|
||||
Description: Syntax highlighting engine for Kate syntax definitions
|
||||
Build-Depends: ecm, qt5-base[core], qt5-tools, qt5-xmlpatterns
|
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/syntax-highlighting
|
||||
REF v5.64.0
|
||||
SHA512 b33a136fad0e55054660c34328a208a19834c1adc9cdb9e8f334e9224492f2894bbcb355e61c8f6da6301363a11f832fa7e38cff293be249876048dd34c39476
|
||||
REF v5.75.0
|
||||
SHA512 bb3b722861823b8ebe407b859b425c2f600af6686c2b1107436c55931e50e746e0852df8b11c5ad895323236a2ee857bcfe8a17af563c26baa4541535d275f8c
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
@ -11,24 +11,22 @@ get_filename_component(PERL_EXE_PATH ${PERL} DIRECTORY)
|
||||
vcpkg_add_to_path("${PERL_EXE_PATH}")
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS -DBUILD_HTML_DOCS=OFF
|
||||
-DBUILD_MAN_DOCS=OFF
|
||||
-DBUILD_QTHELP_DOCS=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
OPTIONS
|
||||
-DBUILD_HTML_DOCS=OFF
|
||||
-DBUILD_MAN_DOCS=OFF
|
||||
-DBUILD_QTHELP_DOCS=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake(ADD_BIN_TO_PATH)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5SyntaxHighlighting)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/kf5syntaxhighlighting RENAME copyright)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/kate-syntax-highlighter.exe)
|
||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/kf5syntaxhighlighting)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/kate-syntax-highlighter.exe
|
||||
${CURRENT_PACKAGES_DIR}/tools/kf5syntaxhighlighting/kate-syntax-highlighter.exe)
|
||||
|
||||
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/kf5syntaxhighlighting)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
|
12
ports/kf5syntaxhighlighting/vcpkg.json
Normal file
12
ports/kf5syntaxhighlighting/vcpkg.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "kf5syntaxhighlighting",
|
||||
"version": "5.75.0",
|
||||
"description": "Syntax highlighting engine for Kate syntax definitions",
|
||||
"homepage": "https://github.com/KDE/syntax-highlighting",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"qt5-base",
|
||||
"qt5-tools",
|
||||
"qt5-xmlpatterns"
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
Source: kf5widgetsaddons
|
||||
Version: 5.64.0
|
||||
Homepage: https://api.kde.org/frameworks/kwidgetsaddons/html/index.html
|
||||
Description: Addons to QtWidgets
|
||||
Build-Depends: ecm, qt5-base, qt5-tools
|
@ -1,8 +1,8 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kwidgetsaddons
|
||||
REF v5.64.0
|
||||
SHA512 f49bade85b97468ad4c2faa34b71c6d04ff95c720c27e5b7adfb9a7b5acf8ff30b91d2beca7472dec6b8241f918b4fb15bddc1429be86a62bcefefe918311307
|
||||
REF v5.75.0
|
||||
SHA512 8854ddc56d8a30081d69d952d035ef303b3a30760fdee3ba8889029b373cb793807f984ce3fc06bd1d377fa3d5a768d3dbf99cb44a3b29a7589b2c4f77767360
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
@ -21,10 +21,15 @@ vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5WidgetsAddons)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
|
11
ports/kf5widgetsaddons/vcpkg.json
Normal file
11
ports/kf5widgetsaddons/vcpkg.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "kf5widgetsaddons",
|
||||
"version": "5.75.0",
|
||||
"description": "Addons to QtWidgets",
|
||||
"homepage": "https://api.kde.org/frameworks/kwidgetsaddons/html/index.html",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"qt5-base",
|
||||
"qt5-tools"
|
||||
]
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
Source: kf5windowsystem
|
||||
Version: 5.64.0
|
||||
Homepage: https://api.kde.org/frameworks/kwindowsystem/html/
|
||||
Description: Access to the windowing system
|
||||
Build-Depends: ecm, qt5-winextras (windows), qt5-tools
|
@ -1,10 +1,14 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/kwindowsystem
|
||||
REF v5.64.0
|
||||
SHA512 7e1033ac383042b76254f35676c8aa011f02192e80ac2eb0554014a483749b13002062e7e928884f95dc7cb2a1c390bd2a93a7871d3f107b7042f7219dadecf5
|
||||
REF v5.75.0
|
||||
SHA512 5c88ed9749d9cc5bb4cb1a8ec5f2da7359cb8c8f7c04c4fd63a59d88ddfee1533ed1ce686f12182d14fb7a7e1bd92f82cc416fff60bcdef73510f596217301cb
|
||||
)
|
||||
|
||||
if (VCPKG_TARGET_IS_LINUX)
|
||||
message(WARNING "${PORT} currently requires the following libraries from the system package manager:\n libxcb-res0-dev\n\nThese can be installed on Ubuntu systems via apt-get install libxcb-res0-dev")
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
@ -20,10 +24,16 @@ vcpkg_install_cmake()
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5WindowSystem)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin/data)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
18
ports/kf5windowsystem/vcpkg.json
Normal file
18
ports/kf5windowsystem/vcpkg.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "kf5windowsystem",
|
||||
"version": "5.75.0",
|
||||
"description": "Access to the windowing system",
|
||||
"homepage": "https://api.kde.org/frameworks/kwindowsystem/html/",
|
||||
"dependencies": [
|
||||
"ecm",
|
||||
"qt5-tools",
|
||||
{
|
||||
"name": "qt5-winextras",
|
||||
"platform": "windows"
|
||||
},
|
||||
{
|
||||
"name": "qt5-x11extras",
|
||||
"platform": "linux"
|
||||
}
|
||||
]
|
||||
}
|
@ -258,15 +258,6 @@ eathread:x64-uwp=fail
|
||||
eathread:x86-windows=fail
|
||||
ebml:arm-uwp=fail
|
||||
ebml:x64-uwp=fail
|
||||
ecm:arm64-windows = skip
|
||||
ecm:arm-uwp = skip
|
||||
ecm:x64-linux = skip
|
||||
ecm:x64-osx = skip
|
||||
ecm:x64-uwp = skip
|
||||
ecm:x64-windows = skip
|
||||
ecm:x64-windows-static = skip
|
||||
ecm:x64-windows-static-md=skip
|
||||
ecm:x86-windows = skip
|
||||
ecsutil:arm64-windows=fail
|
||||
ecsutil:arm-uwp=fail
|
||||
ecsutil:x64-linux=fail
|
||||
|
@ -1769,7 +1769,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"ecm": {
|
||||
"baseline": "5.74.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"ecos": {
|
||||
@ -2769,59 +2769,59 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5archive": {
|
||||
"baseline": "5.74.0",
|
||||
"port-version": 1
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5completion": {
|
||||
"baseline": "5.64.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5config": {
|
||||
"baseline": "5.64.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5coreaddons": {
|
||||
"baseline": "5.64.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5crash": {
|
||||
"baseline": "5.64.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5guiaddons": {
|
||||
"baseline": "5.64.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5holidays": {
|
||||
"baseline": "5.74.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5i18n": {
|
||||
"baseline": "5.64.0",
|
||||
"port-version": 1
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5itemmodels": {
|
||||
"baseline": "5.64.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5itemviews": {
|
||||
"baseline": "5.64.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5plotting": {
|
||||
"baseline": "5.74.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5syntaxhighlighting": {
|
||||
"baseline": "5.64.0-1",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5widgetsaddons": {
|
||||
"baseline": "5.64.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf5windowsystem": {
|
||||
"baseline": "5.64.0",
|
||||
"baseline": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kfr": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ae79be3c1aec28736e6df3b1c9e6973ac6d3c33b",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "ef6c69c364962a681a9f97d8babc7e10c8d84bfe",
|
||||
"version-string": "5.74.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4c427a520895326ea450337eb531cb8ed5c7be30",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "98bfda14e12e6f5468957c379b06fc2cb931ca64",
|
||||
"version-string": "5.74.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2fcd1bf45f43cfac3f85834beea42a82d9f5d5a0",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "696b8fc5814324c18e01201d06f72cacb983f858",
|
||||
"version-string": "5.64.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "1b18ac2e564ec1c1f918ff77cad0b15bead4699f",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "b6f37e63a4ee87b5b6de7224072e410f8c93258b",
|
||||
"version-string": "5.64.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a36efec82fc03b9f181a9ebf3bf0724ad44b112f",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "2f1927fb52301082ec65eb107a7605e8edec49d2",
|
||||
"version-string": "5.64.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d8c9a56257206c1946c7ba30f87bbc450598a1ba",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "b21008fd070821fe16a997fcc02aa09e85022324",
|
||||
"version-string": "5.64.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "7b32de9f028a53b45e25e0d6ac6517c6e93ec8ea",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "8bca3434ab81ca66cb57d44ed891ff5a773c92ce",
|
||||
"version-string": "5.64.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "18dd0b493b905446080c4060b086e2e8ad653613",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "c668e8479d432fcb7f1d450ad1c51a6ad9dc67fb",
|
||||
"version-string": "5.74.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "de9aea1ae1eb983815781d4ab7a8684db7e04b6b",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "729fd5fa589799c9c12afaa7fa6434c9304301f7",
|
||||
"version-string": "5.64.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "86e47be26b32b4e22157e2e12c78b490d13d9f86",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "2ffea0df33ef54f6741e97f8353e5ee2c2484e6b",
|
||||
"version-string": "5.64.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "efce2fde551eaca8c41d6b55713a2c14e1d8ba1b",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "165e6d588675a123a6757b98d821014b71f63613",
|
||||
"version-string": "5.64.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "d0c6197f035b8ce06cd634593430c342d2baa5a3",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "25c33b06994d1c7906afd3ada835facb0a9fc2d7",
|
||||
"version-string": "5.74.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b58bac6d264e3a74e6347874a5c550b4e3edbbce",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "4fdddfb870b34a5a43de450af11a42822831cf87",
|
||||
"version-string": "5.64.0-1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "00f70a9674ddeb01e86abf6a902b3d545e95f508",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "40e1bd1fb0830d760f34b565cb277a9f9a5c31d7",
|
||||
"version-string": "5.64.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "dcebc7ba5d9140cd073ba9fb4c448c404827b824",
|
||||
"version": "5.75.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "35fa4e3ec318a0000fec7537cf7368edb5e5e5fb",
|
||||
"version-string": "5.64.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user