2018-11-05 03:28:27 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO fribidi/fribidi
|
2020-03-31 17:25:04 +08:00
|
|
|
REF abea9f626732a9b10499d76c1cd69ce5457950cc # v1.0.9
|
|
|
|
SHA512 5cb28f9e35d0df205c9fb88a56776d371fdd8bca12c211cec282334cfbf12a05e3324cd14a3ae71bcc06e15ce07b06cbe97eaafe1c7368e517a4ce5a4c3a2bcc
|
2019-06-15 01:23:54 +08:00
|
|
|
HEAD_REF master
|
2019-08-21 03:18:47 +08:00
|
|
|
PATCHES fix-win-static-suffix.patch
|
2019-06-15 01:23:54 +08:00
|
|
|
)
|
2018-11-05 03:28:27 +08:00
|
|
|
|
2019-06-15 01:23:54 +08:00
|
|
|
vcpkg_configure_meson(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2018-11-05 03:28:27 +08:00
|
|
|
OPTIONS
|
|
|
|
-Ddocs=false
|
2019-06-15 01:23:54 +08:00
|
|
|
--backend=ninja
|
|
|
|
)
|
2018-11-05 03:28:27 +08:00
|
|
|
|
|
|
|
vcpkg_install_meson()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(GLOB EXE_FILES
|
|
|
|
"${CURRENT_PACKAGES_DIR}/bin/*.exe"
|
|
|
|
"${CURRENT_PACKAGES_DIR}/debug/bin/*.exe"
|
|
|
|
)
|
|
|
|
if (EXE_FILES)
|
|
|
|
file(REMOVE ${EXE_FILES})
|
|
|
|
endif()
|
|
|
|
|
2019-03-21 00:51:08 +08:00
|
|
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
|
|
|
endif()
|
|
|
|
|
2018-11-05 03:28:27 +08:00
|
|
|
# Handle copyright
|
2020-05-21 01:10:59 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|