2018-08-08 19:15:13 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO libimobiledevice-win32/libplist
|
2022-12-14 11:13:11 +08:00
|
|
|
REF bbba7cabb78aad180a7a982ada5e1f21ff0ba873 # v1.3.6
|
2020-10-20 10:23:57 +08:00
|
|
|
SHA512 4cd59ed87c647259d0da99a20a05e01aa880f01f6b5cecd29e4247029a3d29f0f68b4552571eb3fd3c5549b4cb357801ffe43338b8ff34d44d6be5393d2e6b9d
|
2018-08-29 05:05:16 +08:00
|
|
|
HEAD_REF msvc-master
|
2022-12-14 11:13:11 +08:00
|
|
|
PATCHES
|
|
|
|
dllexport.patch
|
|
|
|
fix_static_build.patch
|
2018-08-08 19:15:13 +08:00
|
|
|
)
|
|
|
|
|
2022-12-14 11:13:11 +08:00
|
|
|
configure_file("${CURRENT_PORT_DIR}/CMakeLists.txt" "${SOURCE_PATH}/CMakeLists.txt" COPYONLY)
|
2019-09-30 07:35:00 +08:00
|
|
|
|
2022-12-14 11:13:11 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2018-08-08 19:15:13 +08:00
|
|
|
)
|
[many ports] Updates 2019.05.24 (#6618)
* [many ports] Updates 2019.05.24
* Update SHA512 and resolve conflict for ebml and matroska
* [avro-c]Fix build error caused by jansson upgrades.
* [xxhash]Update to the next version to fix build error.(xxhash issue:#179)
* Fix failures and undo asio
* [libyaml, grpc, miniz, paho-mqtt, sqlitecpp] Update patches
* Update REF
* Undo nvtt flann itk libtins aws-sdk-cpp openvdb vlpp xmsh changes
* [flann, fastcdr] Fix old patches and build error.
* [flann, fastcdr] Fix build error.
* Fix ensmallen uvatlas cppcms libplist failures and undo aws-c-common libopusenc arb taglib changes
* [dcmtk, draco, flatbuffers, forge, ftgl, mosquitto,nmslib, ogre] Update old patches and fix build error.
* fix libusbmuxd failures and undo xxhash paho-mqtt mongo-c-driver flann libffi
* fix libimobiledevice and undo qhull harfbuzz lcm libbson draco flatbuffers
* undo libmupdf forge kd-soap qca
* [mosquitto] Fix installation of import libs
* [arb][asio][aws-c-common][collada-dom][concurrentqueue][cryptopp][ebml] Revert trivial/undesired changes
* [fastcdr] Minimize patch
* [many ports] Revert trivial changes
* [libyaml] Switch to non-dist tag
* [sqlite-modern-cpp] Track master due to infrequent release
* [nano-signal-slot] Revert downgrade
* [openvpn3] Bump control version to account for portfile change
* [sqlite-modern-cpp] Fixup wrong hash
* [mosquitto] Commit missing patch
2019-06-11 08:01:54 +08:00
|
|
|
|
2022-12-14 11:13:11 +08:00
|
|
|
vcpkg_cmake_install()
|
2020-01-11 07:43:06 +08:00
|
|
|
vcpkg_copy_pdbs()
|
2020-10-20 10:23:57 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
2020-01-11 07:43:06 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
2021-04-27 01:28:21 +08:00
|
|
|
|
|
|
|
set(pcfile "libplist-2.0.pc")
|
|
|
|
set(pcfiletarget "libplist.pc")
|
|
|
|
set(basepath "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/")
|
|
|
|
if(EXISTS "${basepath}${pcfile}")
|
|
|
|
file(CREATE_LINK "${basepath}${pcfile}" "${basepath}${pcfiletarget}" COPY_ON_ERROR)
|
|
|
|
endif()
|
|
|
|
set(basepath "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/")
|
|
|
|
if(EXISTS "${basepath}${pcfile}")
|
|
|
|
file(CREATE_LINK "${basepath}${pcfile}" "${basepath}${pcfiletarget}" COPY_ON_ERROR)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(pcfile "libplist++-2.0.pc")
|
|
|
|
set(pcfiletarget "libplist++.pc")
|
|
|
|
set(basepath "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/")
|
|
|
|
if(EXISTS "${basepath}${pcfile}")
|
|
|
|
file(CREATE_LINK "${basepath}${pcfile}" "${basepath}${pcfiletarget}" COPY_ON_ERROR)
|
|
|
|
endif()
|
|
|
|
set(basepath "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/")
|
|
|
|
if(EXISTS "${basepath}${pcfile}")
|
|
|
|
file(CREATE_LINK "${basepath}${pcfile}" "${basepath}${pcfiletarget}" COPY_ON_ERROR)
|
|
|
|
endif()
|