2018-11-04 20:28:27 +01:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO fribidi/fribidi
|
2020-03-31 10:25:04 +01:00
|
|
|
REF abea9f626732a9b10499d76c1cd69ce5457950cc # v1.0.9
|
|
|
|
SHA512 5cb28f9e35d0df205c9fb88a56776d371fdd8bca12c211cec282334cfbf12a05e3324cd14a3ae71bcc06e15ce07b06cbe97eaafe1c7368e517a4ce5a4c3a2bcc
|
2019-06-14 19:23:54 +02:00
|
|
|
HEAD_REF master
|
2019-08-21 03:18:47 +08:00
|
|
|
PATCHES fix-win-static-suffix.patch
|
2019-06-14 19:23:54 +02:00
|
|
|
)
|
2018-11-04 20:28:27 +01:00
|
|
|
|
2019-06-14 19:23:54 +02:00
|
|
|
vcpkg_configure_meson(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2018-11-04 20:28:27 +01:00
|
|
|
OPTIONS
|
|
|
|
-Ddocs=false
|
2019-06-14 19:23:54 +02:00
|
|
|
--backend=ninja
|
|
|
|
)
|
2018-11-04 20:28:27 +01: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-20 09:51:08 -07:00
|
|
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
|
|
|
endif()
|
|
|
|
|
2018-11-04 20:28:27 +01:00
|
|
|
# Handle copyright
|
2020-04-06 23:43:16 +02:00
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|