2020-05-27 11:40:27 +08:00
|
|
|
vcpkg_fail_port_install( ON_TARGET "uwp" "linux" "osx")
|
|
|
|
|
2018-08-08 19:15:13 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO libimobiledevice-win32/libusbmuxd
|
2020-10-20 10:23:57 +08:00
|
|
|
REF ac86b23f57879b8b702f3712ba66729008d059a3 # v1.2.219
|
|
|
|
SHA512 ced85088bc6ebb416ccb635d6b4e79662fb34f427d869b64b61847e5fde7b4ae094cebb1f7916d9387c314aeb84106a618fbd7497dc4b36151b236dcb55bd0e4
|
2018-08-29 05:05:16 +08:00
|
|
|
HEAD_REF msvc-master
|
2019-11-05 16:04:18 +08:00
|
|
|
PATCHES fix-win-build.patch
|
2018-08-08 19:15:13 +08:00
|
|
|
)
|
|
|
|
|
2019-11-05 16:04:18 +08:00
|
|
|
configure_file(${CURRENT_PORT_DIR}/CMakeLists.txt ${SOURCE_PATH}/CMakeLists.txt COPYONLY)
|
2018-09-02 17:28:10 +08:00
|
|
|
|
2019-11-05 16:04:18 +08:00
|
|
|
vcpkg_configure_cmake(
|
2018-08-08 19:15:13 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2019-11-05 16:04:18 +08:00
|
|
|
PREFER_NINJA
|
2018-08-08 19:15:13 +08:00
|
|
|
)
|
|
|
|
|
2019-11-05 16:04:18 +08:00
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_copy_pdbs()
|
2020-10-20 10:23:57 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2019-11-05 16:04:18 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
# Handle copyright
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|