[libimobiledevice] add usage (#29088)

* add usage to libimobiledevice

* update usage
This commit is contained in:
reito 2023-01-24 08:12:31 +08:00 committed by GitHub
parent 75e68a8e3e
commit 3321a8386f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 3 deletions

View File

@ -1,7 +1,7 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libimobiledevice-win32/libimobiledevice
REF 0d4a7e905baeadafa098e629a5241fac6fbf7d24 # v1.3.7
REF 0d4a7e905baeadafa098e629a5241fac6fbf7d24 # v1.3.17
SHA512 db6369b2fa8e7b659948602ac8c4cd568bf37c0f73e58150f61f1af7000de95aa1a6a9ae546d6a37de4cb08a8059127fe5ed067351c4092c01a45350586f755a
HEAD_REF msvc-master
)
@ -20,3 +20,4 @@ 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 "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

View File

@ -0,0 +1,5 @@
libimobiledevice provides usage:
find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBIMOBILEDEVICE REQUIRED IMPORTED_TARGET libimobiledevice-1.0)
target_link_libraries(main PRIVATE PkgConfig::LIBIMOBILEDEVICE)

View File

@ -1,7 +1,7 @@
{
"name": "libimobiledevice",
"version": "1.3.17",
"port-version": 1,
"port-version": 2,
"description": "A cross-platform protocol library to communicate with iOS devices",
"homepage": "http://www.libimobiledevice.org",
"license": "LGPL-2.1-only",
@ -11,6 +11,7 @@
"libplist",
"libusbmuxd",
"openssl",
"pkgconf",
{
"name": "vcpkg-cmake",
"host": true

View File

@ -3954,7 +3954,7 @@
},
"libimobiledevice": {
"baseline": "1.3.17",
"port-version": 1
"port-version": 2
},
"libirecovery": {
"baseline": "1.0.25",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2945a66f7411d4b12ab5733be25abd5319a12718",
"version": "1.3.17",
"port-version": 2
},
{
"git-tree": "0f57daa63ba49e977a8e72eea7d3615cdda07648",
"version": "1.3.17",