diff options
Diffstat (limited to 'ports/kf5archive')
| -rw-r--r-- | ports/kf5archive/CONTROL | 6 | ||||
| -rw-r--r-- | ports/kf5archive/portfile.cmake | 11 | ||||
| -rw-r--r-- | ports/kf5archive/vcpkg.json | 12 |
3 files changed, 20 insertions, 9 deletions
diff --git a/ports/kf5archive/CONTROL b/ports/kf5archive/CONTROL deleted file mode 100644 index d94ba1383..000000000 --- a/ports/kf5archive/CONTROL +++ /dev/null @@ -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
diff --git a/ports/kf5archive/portfile.cmake b/ports/kf5archive/portfile.cmake index 537f1bb4f..1b97f8dde 100644 --- a/ports/kf5archive/portfile.cmake +++ b/ports/kf5archive/portfile.cmake @@ -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)
\ No newline at end of file diff --git a/ports/kf5archive/vcpkg.json b/ports/kf5archive/vcpkg.json new file mode 100644 index 000000000..744e7ecf9 --- /dev/null +++ b/ports/kf5archive/vcpkg.json @@ -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" + ] +} |
