mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 13:59:00 +08:00
b58df11608
* [ffmpeg] Bump to 6.1 * [ffnvcodec] Bump to 11.1.5.3 * vcpkg x-add-version --all * [avisynthplus] Bump to 3.7.3 * vcpkg x-add-version --all * [avisynthplus] Remove no more required patch * vcpkg x-add-version --all * Apply suggestions from code review Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> * vcpkg x-add-version --all --------- Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
31 lines
1.1 KiB
CMake
31 lines
1.1 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO AviSynth/AviSynthPlus
|
|
REF "v${VERSION}"
|
|
SHA512 0e0daa83e3ab729fdc35a52c60c23c9142f1229187af893d0dbbd36f88eced36f63a3e8c767a3dc825edaa5395a49a5aad726f6b61de8f6b291557eec20de426
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_download_distfile(GHC_ARCHIVE
|
|
URLS "https://github.com/gulrak/filesystem/archive/3f1c185ab414e764c694b8171d1c4d8c5c437517.zip"
|
|
FILENAME filesystem-3f1c185ab414e764c694b8171d1c4d8c5c437517.zip
|
|
SHA512 e3fe1e41b31f840ebc219fcd795e7be2973b80bb3843d6bb080786ad9e3e7f846a118673cb9e17d76bae66954e64e024a82622fb8cea7818d5d9357de661d3d1
|
|
)
|
|
|
|
file(REMOVE_RECURSE "${SOURCE_PATH}/filesystem")
|
|
vcpkg_extract_source_archive(extracted_archive ARCHIVE "${GHC_ARCHIVE}")
|
|
file(RENAME "${extracted_archive}" "${SOURCE_PATH}/filesystem")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DENABLE_PLUGINS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(INSTALL "${SOURCE_PATH}/distrib/gpl.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|