Skip to content

Commit

Permalink
[libimobiledevice/libideviceactivation] update to latest version (#19962
Browse files Browse the repository at this point in the history
)

* [libimobiledevice/libideviceactivation/libzen] update to latest version

* update version

* update vcpkg.json format

* update version

* fix export target

* update version

* update version

* revert port libzen

* update version

* handle libzen conflict files

* delete vcpkg_cmake_config_fixup

* update version
  • Loading branch information
JonLiu1993 committed Sep 24, 2021
1 parent 8ba8f97 commit 50fcd63
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 27 deletions.
15 changes: 7 additions & 8 deletions ports/libideviceactivation/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libimobiledevice-win32/libideviceactivation
REF fbe0476cfeddc2fc317ceb900eec12302c1d4c11 # v1.2.235
REF fbe0476cfeddc2fc317ceb900eec12302c1d4c11 # v1.3.17
SHA512 18fdf1b42744da33e0f0f037e83a72b76cc0b63a0b712e78d9736adcde113582327f3712bc2bfa7b6fdb692465700a9106286f383fd7d11f9351ca7939b20e24
HEAD_REF msvc-master
)

configure_file(${CURRENT_PORT_DIR}/CMakeLists.txt ${SOURCE_PATH}/CMakeLists.txt COPYONLY)
configure_file("${CURRENT_PORT_DIR}/CMakeLists.txt" "${SOURCE_PATH}/CMakeLists.txt" COPYONLY)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)

vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_copy_pdbs()

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

# 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)
9 changes: 6 additions & 3 deletions ports/libideviceactivation/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "libideviceactivation",
"version-string": "1.2.235",
"port-version": 1,
"version": "1.3.17",
"description": "A library to handle the activation process of iOS devices",
"dependencies": [
"curl",
"libimobiledevice",
"libplist",
"libxml2"
"libxml2",
{
"name": "vcpkg-cmake",
"host": true
}
]
}
17 changes: 8 additions & 9 deletions ports/libimobiledevice/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libimobiledevice-win32/libimobiledevice
REF 348aec1f714f77c717141f70869ac7c996c3c6fb # v1.3.6 + patches
SHA512 fc7924667c3cb07025fd25ff94610ae57a90a8fd4502393e89993bfcd13c5e0c609efbf0343f344f59a8520ba4f7805925fea4c06d20ac1680f63f16aac12542
REF 0d4a7e905baeadafa098e629a5241fac6fbf7d24 # v1.3.7
SHA512 db6369b2fa8e7b659948602ac8c4cd568bf37c0f73e58150f61f1af7000de95aa1a6a9ae546d6a37de4cb08a8059127fe5ed067351c4092c01a45350586f755a
HEAD_REF msvc-master
)

configure_file(${CURRENT_PORT_DIR}/CMakeLists.txt ${SOURCE_PATH}/CMakeLists.txt COPYONLY)
configure_file("${CURRENT_PORT_DIR}/CMakeLists.txt" "${SOURCE_PATH}/CMakeLists.txt" COPYONLY)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)

vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig()

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

# 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)
9 changes: 6 additions & 3 deletions ports/libimobiledevice/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "libimobiledevice",
"version-string": "1.3.6",
"port-version": 2,
"version": "1.3.17",
"description": "A cross-platform protocol library to communicate with iOS devices",
"homepage": "http://www.libimobiledevice.org",
"dependencies": [
"dirent",
"getopt",
"libplist",
"libusbmuxd",
"openssl"
"openssl",
{
"name": "vcpkg-cmake",
"host": true
}
]
}
8 changes: 4 additions & 4 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3417,8 +3417,8 @@
"port-version": 0
},
"libideviceactivation": {
"baseline": "1.2.235",
"port-version": 1
"baseline": "1.3.17",
"port-version": 0
},
"libidn2": {
"baseline": "2.3.0",
Expand All @@ -3433,8 +3433,8 @@
"port-version": 1
},
"libimobiledevice": {
"baseline": "1.3.6",
"port-version": 2
"baseline": "1.3.17",
"port-version": 0
},
"libirecovery": {
"baseline": "1.0.25",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libideviceactivation.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5ff1d3dc1c70954efdb1b56ea38660c8e2817a68",
"version": "1.3.17",
"port-version": 0
},
{
"git-tree": "9c39284ebf51443f0dc6c3291bdb7cdca973a9d2",
"version-string": "1.2.235",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libimobiledevice.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5bf3d6cdc93021dcc048d73d7153aebecd91c47e",
"version": "1.3.17",
"port-version": 0
},
{
"git-tree": "5b4e580b28caaf03bbe46030bf612af191eb800a",
"version-string": "1.3.6",
Expand Down

0 comments on commit 50fcd63

Please sign in to comment.