2020-04-17 04:44:18 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO AviSynth/AviSynthPlus
|
2022-04-19 05:51:15 +08:00
|
|
|
REF v3.7.2
|
|
|
|
SHA512 82cf2afed4cc53c0e09d367ff3df1db0e9ac17ff2458e4660c646430d8e72f472b072a3910c9595b26eb5ac89c82fe74699acab3869014f87d8e2738b81568a1
|
2020-04-17 04:44:18 +08:00
|
|
|
HEAD_REF master
|
2022-08-04 07:00:49 +08:00
|
|
|
PATCHES
|
|
|
|
clang-cl.patch # the normal lookup is not working since it doesn't take Ninja as a Generator into account
|
2020-04-17 04:44:18 +08:00
|
|
|
)
|
|
|
|
|
2021-05-01 02:13:16 +08:00
|
|
|
vcpkg_download_distfile(GHC_ARCHIVE
|
|
|
|
URLS "https://github.com/gulrak/filesystem/archive/3f1c185ab414e764c694b8171d1c4d8c5c437517.zip"
|
|
|
|
FILENAME filesystem-3f1c185ab414e764c694b8171d1c4d8c5c437517.zip
|
|
|
|
SHA512 e3fe1e41b31f840ebc219fcd795e7be2973b80bb3843d6bb080786ad9e3e7f846a118673cb9e17d76bae66954e64e024a82622fb8cea7818d5d9357de661d3d1
|
|
|
|
)
|
|
|
|
|
2022-04-19 05:51:15 +08:00
|
|
|
file(REMOVE_RECURSE "${SOURCE_PATH}/filesystem")
|
2021-07-15 03:45:18 +08:00
|
|
|
vcpkg_extract_source_archive(extracted_archive ARCHIVE "${GHC_ARCHIVE}")
|
|
|
|
file(RENAME "${extracted_archive}" "${SOURCE_PATH}/filesystem")
|
2021-05-01 02:13:16 +08:00
|
|
|
|
2022-04-19 05:51:15 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-04-17 04:44:18 +08:00
|
|
|
OPTIONS
|
|
|
|
-DENABLE_PLUGINS=OFF
|
|
|
|
)
|
|
|
|
|
2022-04-19 05:51:15 +08:00
|
|
|
vcpkg_cmake_install()
|
2021-05-01 02:13:16 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_fixup_pkgconfig()
|
2020-04-17 04:44:18 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2022-04-19 05:51:15 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/distrib/gpl.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|