mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
new port: kf6archive (#46399)
This commit is contained in:
34
ports/kf6archive/portfile.cmake
Normal file
34
ports/kf6archive/portfile.cmake
Normal file
@@ -0,0 +1,34 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO KDE/karchive
|
||||
REF "v${VERSION}"
|
||||
SHA512 f87fd53ba029b05d3c233ea8d8a9dbb7b2aba2aec55a38b26cfd0f6e1c49d8c1297c06d634175ccc5bbbce00261a3387a2da3c705011e9cbae538eae2723fef3
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(PKGCONFIG)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/KF6Archive)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
# Static builds should not have libraries in the bin directory
|
||||
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(GLOB LICENSE_FILES "${SOURCE_PATH}/LICENSES/*")
|
||||
vcpkg_install_copyright(FILE_LIST ${LICENSE_FILES})
|
||||
60
ports/kf6archive/vcpkg.json
Normal file
60
ports/kf6archive/vcpkg.json
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"name": "kf6archive",
|
||||
"version": "6.7.0",
|
||||
"description": "File compression",
|
||||
"homepage": "https://api.kde.org/frameworks/karchive/html/index.html",
|
||||
"license": "LGPL-2.0-or-later",
|
||||
"supports": "!xbox",
|
||||
"dependencies": [
|
||||
"bzip2",
|
||||
"ecm",
|
||||
"liblzma",
|
||||
"openssl",
|
||||
"qtbase",
|
||||
{
|
||||
"name": "qttools",
|
||||
"features": [
|
||||
"linguist"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
},
|
||||
"zlib",
|
||||
"zstd"
|
||||
],
|
||||
"default-features": [
|
||||
"bzip2"
|
||||
],
|
||||
"features": {
|
||||
"bzip2": {
|
||||
"description": "Support for bzip2 compressed files and data streams",
|
||||
"dependencies": [
|
||||
"bzip2"
|
||||
]
|
||||
},
|
||||
"lzma": {
|
||||
"description": "Support for xz compressed files and data streams",
|
||||
"dependencies": [
|
||||
"liblzma"
|
||||
]
|
||||
},
|
||||
"openssl": {
|
||||
"description": "Support for compressed encrypted files and data streams",
|
||||
"dependencies": [
|
||||
"openssl"
|
||||
]
|
||||
},
|
||||
"zstd": {
|
||||
"description": "Support for zstd compressed files and data streams",
|
||||
"dependencies": [
|
||||
"zstd"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -476,6 +476,10 @@ jinja2cpplight:x64-android=fail
|
||||
juce:arm-neon-android=fail
|
||||
juce:arm64-android=fail
|
||||
juce:x64-android=fail
|
||||
# needs newer ECM version
|
||||
kf6archive:arm-neon-android=skip
|
||||
kf6archive:arm64-android=skip
|
||||
kf6archive:x64-android=skip
|
||||
lcm:arm-neon-android=fail
|
||||
lcm:arm64-android=fail
|
||||
lcm:arm64-windows-static-md=fail
|
||||
|
||||
@@ -1215,6 +1215,7 @@ kf5xmlgui:arm64-windows = cascade
|
||||
kf5xmlgui:x64-uwp = cascade
|
||||
kf5xmlgui:x64-windows = cascade
|
||||
kf5xmlgui:x86-windows = cascade
|
||||
kf6archive(android) = skip # needs newer ECM version
|
||||
lapack-reference:arm64-uwp = cascade
|
||||
lapack-reference:arm64-windows = cascade
|
||||
lapack-reference:x64-uwp = cascade
|
||||
|
||||
@@ -4316,6 +4316,10 @@
|
||||
"baseline": "5.98.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kf6archive": {
|
||||
"baseline": "6.7.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"kfr": {
|
||||
"baseline": "6.2.0",
|
||||
"port-version": 0
|
||||
|
||||
9
versions/k-/kf6archive.json
Normal file
9
versions/k-/kf6archive.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "590a13d6a936df53932719c4d98a4f4fe8c3be60",
|
||||
"version": "6.7.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user