Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions ports/qtkeychain/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO frankosterfeld/qtkeychain
REF 6743abd98586fbabd01da9839f53f61ccfb7f83c # v0.11.1
SHA512 0ad6b82b972ca1cc5f1f8318899637ce0a6786f912b7f9efc1b7eea132ccefbe9a5dc0eb82d0dc9a020bcd55cd538d9e962fc40eb5c828142a7f2186b19633b1
REF v0.13.1
SHA512 552c1632a81f64b91dacdb0f5eb4122b4ddef53ba6621561db6c4fce9f3692761dbc4b452e578023e2882e049874148be1de014397675ce443cfc93fe96f6f70
HEAD_REF master
)

Expand All @@ -14,27 +14,28 @@ else()
list(APPEND QTKEYCHAIN_OPTIONS -DQTKEYCHAIN_STATIC:BOOL=OFF)
endif()

if (CMAKE_HOST_WIN32)
if(CMAKE_HOST_WIN32)
list(APPEND QTKEYCHAIN_OPTIONS -DBUILD_TRANSLATIONS:BOOL=ON)
else()
list(APPEND QTKEYCHAIN_OPTIONS -DBUILD_TRANSLATIONS:BOOL=OFF)
endif()

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS ${QTKEYCHAIN_OPTIONS}
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS ${QTKEYCHAIN_OPTIONS}
)

vcpkg_install_cmake()
vcpkg_cmake_install()

vcpkg_copy_pdbs()

vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Qt5Keychain TARGET_PATH share/Qt5Keychain)
vcpkg_cmake_config_fixup(PACKAGE_NAME Qt5Keychain CONFIG_PATH lib/cmake/Qt5Keychain)

# Remove unneeded dirs
file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug/include
${CURRENT_PACKAGES_DIR}/debug/share
"${CURRENT_PACKAGES_DIR}/debug/include"
"${CURRENT_PACKAGES_DIR}/debug/share"
)

# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
13 changes: 10 additions & 3 deletions ports/qtkeychain/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"name": "qtkeychain",
"version-string": "0.11.1",
"port-version": 1,
"version": "0.13.1",
"description": "qtkeychain - Platform-independent Qt API for storing passwords securely",
"homepage": "https://github.com/frankosterfeld/qtkeychain",
"dependencies": [
{
"name": "qt5-base",
"default-features": false
},
"qt5-tools"
"qt5-tools",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5677,8 +5677,8 @@
"port-version": 0
},
"qtkeychain": {
"baseline": "0.11.1",
"port-version": 1
"baseline": "0.13.1",
"port-version": 0
},
"qtlocation": {
"baseline": "6.2.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/q-/qtkeychain.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "bd83042957e111068497f0f868f31887970f6cdc",
"version": "0.13.1",
"port-version": 0
},
{
"git-tree": "477977da90b66a24d95b42e3776d17fd8e2735e0",
"version-string": "0.11.1",
Expand Down