aboutsummaryrefslogtreecommitdiff
path: root/ports/kf5crash
diff options
context:
space:
mode:
authorDawid Wróbel <me@dawidwrobel.com>2021-04-12 13:15:11 -0400
committerGitHub <noreply@github.com>2021-04-12 10:15:11 -0700
commitbc96cd54bf3afe85e4c1f201d6475f5ce0a4763c (patch)
tree9d47498275a81770e6a9cbb9173726fbcf493630 /ports/kf5crash
parent407ca922594a85dd532c9ccff60ae06e96a18d5b (diff)
downloadvcpkg-bc96cd54bf3afe85e4c1f201d6475f5ce0a4763c.tar.gz
vcpkg-bc96cd54bf3afe85e4c1f201d6475f5ce0a4763c.zip
[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>
Diffstat (limited to 'ports/kf5crash')
-rw-r--r--ports/kf5crash/CONTROL6
-rw-r--r--ports/kf5crash/add_x11extras.patch18
-rw-r--r--ports/kf5crash/portfile.cmake8
-rw-r--r--ports/kf5crash/vcpkg.json16
4 files changed, 29 insertions, 19 deletions
diff --git a/ports/kf5crash/CONTROL b/ports/kf5crash/CONTROL
deleted file mode 100644
index 927eca46c..000000000
--- a/ports/kf5crash/CONTROL
+++ /dev/null
@@ -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
diff --git a/ports/kf5crash/add_x11extras.patch b/ports/kf5crash/add_x11extras.patch
index a6ff6fc66..9a260ab52 100644
--- a/ports/kf5crash/add_x11extras.patch
+++ b/ports/kf5crash/add_x11extras.patch
@@ -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})
diff --git a/ports/kf5crash/portfile.cmake b/ports/kf5crash/portfile.cmake
index dc608d371..5e12a93ea 100644
--- a/ports/kf5crash/portfile.cmake
+++ b/ports/kf5crash/portfile.cmake
@@ -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)
diff --git a/ports/kf5crash/vcpkg.json b/ports/kf5crash/vcpkg.json
new file mode 100644
index 000000000..b7c09c9b7
--- /dev/null
+++ b/ports/kf5crash/vcpkg.json
@@ -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"
+ }
+ ]
+}