* Add kf5jobwidgets port

* [kf5jobwidgets] update to 5.75.0

* [kf5jobwidgets] update to 5.84.0

* [kf5jobwidgets] update versions

* [kf5jobwidgets] fix static build

* [kf5jobwidgets] update versions

* [kf5jobwidgets] replace deprecated functions

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* [kf5jobwidgets] update versions

* [kf5jobwidgets] use semVer

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* [kf5jobwidgets] update versions

* [kf5jobwidgets] DISABLE_PARALLEL_CONFIGURE

* [kf5jobwidgets] update versions

* [kf5jobwidgets] fix MAYBE_UNUSED_VARIABLES usage

* [kf5jobwidgets] update versions

* [kf5jobwidgets] remove extraneous options

* [kf5jobwidgets] update versions

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
This commit is contained in:
Dawid Wróbel 2021-08-03 01:50:31 +02:00 коммит произвёл GitHub
Родитель 3d4ce760a1
Коммит e47b72b646
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 66 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,29 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/kjobwidgets
REF v5.84.0
SHA512 57aa8d5756e1c9ce955975bfb5dc33ed78aaa984420effbb3b79984f9fd46794f3da092185bbcefe0464228d8f504349f7efd3a0ae79406954dc9ea84b3553f8
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DBUILD_TESTING=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/KF5JobWidgets)
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}/debug/etc")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")

Просмотреть файл

@ -0,0 +1,24 @@
{
"name": "kf5jobwidgets",
"version-semver": "5.84.0",
"description": "Widgets for showing progress of asynchronous jobs",
"homepage": "https://api.kde.org/frameworks/kjobwidgets/html/index.html",
"dependencies": [
"ecm",
"kf5coreaddons",
"kf5widgetsaddons",
"qt5-base",
{
"name": "qt5-x11extras",
"platform": "linux"
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

Просмотреть файл

@ -2912,6 +2912,10 @@
"baseline": "5.84.0",
"port-version": 0
},
"kf5jobwidgets": {
"baseline": "5.84.0",
"port-version": 0
},
"kf5plotting": {
"baseline": "5.84.0",
"port-version": 0

Просмотреть файл

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "7405290b40e00636f2db4aa51f0ebfa24bfe0589",
"version-semver": "5.84.0",
"port-version": 0
}
]
}