aboutsummaryrefslogtreecommitdiff
path: root/ports/kf5completion
diff options
context:
space:
mode:
Diffstat (limited to 'ports/kf5completion')
-rw-r--r--ports/kf5completion/CONTROL5
-rw-r--r--ports/kf5completion/add-qdbus-to-required-libraries.patch3
-rw-r--r--ports/kf5completion/portfile.cmake11
-rw-r--r--ports/kf5completion/vcpkg.json12
4 files changed, 21 insertions, 10 deletions
diff --git a/ports/kf5completion/CONTROL b/ports/kf5completion/CONTROL
deleted file mode 100644
index fb1f4309a..000000000
--- a/ports/kf5completion/CONTROL
+++ /dev/null
@@ -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 \ No newline at end of file
diff --git a/ports/kf5completion/add-qdbus-to-required-libraries.patch b/ports/kf5completion/add-qdbus-to-required-libraries.patch
index b5c285a65..89add3816 100644
--- a/ports/kf5completion/add-qdbus-to-required-libraries.patch
+++ b/ports/kf5completion/add-qdbus-to-required-libraries.patch
@@ -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)
diff --git a/ports/kf5completion/portfile.cmake b/ports/kf5completion/portfile.cmake
index d9e697dcf..fd4f0c2f2 100644
--- a/ports/kf5completion/portfile.cmake
+++ b/ports/kf5completion/portfile.cmake
@@ -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) \ No newline at end of file
diff --git a/ports/kf5completion/vcpkg.json b/ports/kf5completion/vcpkg.json
new file mode 100644
index 000000000..8a799ccf8
--- /dev/null
+++ b/ports/kf5completion/vcpkg.json
@@ -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"
+ ]
+}