2018-08-08 13:15:13 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO libimobiledevice-win32/libimobiledevice
|
2020-10-20 20:36:55 -07:00
|
|
|
REF 348aec1f714f77c717141f70869ac7c996c3c6fb # v1.3.6 + patches
|
|
|
|
SHA512 fc7924667c3cb07025fd25ff94610ae57a90a8fd4502393e89993bfcd13c5e0c609efbf0343f344f59a8520ba4f7805925fea4c06d20ac1680f63f16aac12542
|
2018-08-28 23:05:16 +02:00
|
|
|
HEAD_REF msvc-master
|
2018-08-08 13:15:13 +02:00
|
|
|
)
|
|
|
|
|
2019-10-31 21:35:56 -07:00
|
|
|
configure_file(${CURRENT_PORT_DIR}/CMakeLists.txt ${SOURCE_PATH}/CMakeLists.txt COPYONLY)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
2018-08-08 13:15:13 +02:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2019-10-31 21:35:56 -07:00
|
|
|
PREFER_NINJA
|
2018-08-08 13:15:13 +02:00
|
|
|
)
|
2019-10-31 21:35:56 -07:00
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_copy_pdbs()
|
2020-10-19 19:23:57 -07:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2019-10-31 21:35:56 -07:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
# Handle copyright
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|