Skip to content

Commit

Permalink
[kf5attica] new port (#19446)
Browse files Browse the repository at this point in the history
* Add KF5Attica

* [kf5attica] bump to 5.73

* [kf5attica] use PORT variable where applicable

* [kf5attica] update to 5.75.0

* [kf5attica] port CONTROL to JSON

* [kf5attica] update to 5.84.0

* [kf5attica] remove unused options

* [kf5attica] only remove what's required

* [kf5attica] grammar in description

* [kf5attica] update deprecated functions

* [kf5attica] wrap paths in quotes

* [kf5attica] update versions

* [kf5attica] fix static builds

* [kf5attica] update versions

Co-authored-by: Kuntal Majumder <[email protected]>
  • Loading branch information
wrobelda and hellozee authored Aug 9, 2021
1 parent 3d4c4cb commit 7a4dc66
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 0 deletions.
27 changes: 27 additions & 0 deletions ports/kf5attica/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KDE/attica
REF v5.84.0
SHA512 dedaac49d85c791027a567f82909953f06337734c9302ab4147341eb5ebdb14e2a1ffcfdf49d9e0c97e17e065498392f9a1a900557fe8937fa0e680cda2235ea
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/KF5Attica)
vcpkg_copy_pdbs()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()

file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
19 changes: 19 additions & 0 deletions ports/kf5attica/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "kf5attica",
"version-semver": "5.84.0",
"description": "A Qt library that implements the Open Collaboration Services API",
"homepage": "https://api.kde.org/frameworks/attica/html/index.html",
"dependencies": [
"ecm",
"qt5-base",
"qt5-tools",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2876,6 +2876,10 @@
"baseline": "5.84.0",
"port-version": 0
},
"kf5attica": {
"baseline": "5.84.0",
"port-version": 0
},
"kf5auth": {
"baseline": "5.84.0",
"port-version": 1
Expand Down
9 changes: 9 additions & 0 deletions versions/k-/kf5attica.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "196f1ae93b85efd88bb9fa4a245ed9e8cf044a4a",
"version-semver": "5.84.0",
"port-version": 0
}
]
}

0 comments on commit 7a4dc66

Please sign in to comment.