aboutsummaryrefslogtreecommitdiff
path: root/ports/kf5windowsystem
diff options
context:
space:
mode:
Diffstat (limited to 'ports/kf5windowsystem')
-rw-r--r--ports/kf5windowsystem/CONTROL5
-rw-r--r--ports/kf5windowsystem/portfile.cmake16
-rw-r--r--ports/kf5windowsystem/vcpkg.json18
3 files changed, 31 insertions, 8 deletions
diff --git a/ports/kf5windowsystem/CONTROL b/ports/kf5windowsystem/CONTROL
deleted file mode 100644
index d5cb90487..000000000
--- a/ports/kf5windowsystem/CONTROL
+++ /dev/null
@@ -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
diff --git a/ports/kf5windowsystem/portfile.cmake b/ports/kf5windowsystem/portfile.cmake
index 0284c7408..9cc1a0e45 100644
--- a/ports/kf5windowsystem/portfile.cmake
+++ b/ports/kf5windowsystem/portfile.cmake
@@ -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) \ No newline at end of file
diff --git a/ports/kf5windowsystem/vcpkg.json b/ports/kf5windowsystem/vcpkg.json
new file mode 100644
index 000000000..b54979877
--- /dev/null
+++ b/ports/kf5windowsystem/vcpkg.json
@@ -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"
+ }
+ ]
+}