aboutsummaryrefslogtreecommitdiff
path: root/ports/kf5guiaddons
diff options
context:
space:
mode:
Diffstat (limited to 'ports/kf5guiaddons')
-rw-r--r--ports/kf5guiaddons/CONTROL5
-rw-r--r--ports/kf5guiaddons/portfile.cmake11
-rw-r--r--ports/kf5guiaddons/vcpkg.json18
3 files changed, 26 insertions, 8 deletions
diff --git a/ports/kf5guiaddons/CONTROL b/ports/kf5guiaddons/CONTROL
deleted file mode 100644
index a364eecc1..000000000
--- a/ports/kf5guiaddons/CONTROL
+++ /dev/null
@@ -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
diff --git a/ports/kf5guiaddons/portfile.cmake b/ports/kf5guiaddons/portfile.cmake
index 8234e4cd8..4a933a915 100644
--- a/ports/kf5guiaddons/portfile.cmake
+++ b/ports/kf5guiaddons/portfile.cmake
@@ -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) \ No newline at end of file
+
+file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright) \ No newline at end of file
diff --git a/ports/kf5guiaddons/vcpkg.json b/ports/kf5guiaddons/vcpkg.json
new file mode 100644
index 000000000..55fd0fdb1
--- /dev/null
+++ b/ports/kf5guiaddons/vcpkg.json
@@ -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"
+ }
+ ]
+}