[fribidi] new port (#4627)

This commit is contained in:
Tobias Markus 2018-11-04 20:28:27 +01:00 committed by Robert Schumacher
parent ccafb56411
commit f11fd8aa5d
2 changed files with 30 additions and 0 deletions

3
ports/fribidi/CONTROL Normal file
View File

@ -0,0 +1,3 @@
Source: fribidi
Version: 1.0.5
Description: GNU FriBidi is an implementation of the Unicode Bidirectional Algorithm (bidi)

View File

@ -0,0 +1,27 @@
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO fribidi/fribidi
REF v1.0.5
SHA512 c51b67cc3e7610bef9a66f2456f7602fe010164c2c01e7d91026cefa4a08fdce5165b6eb3814e76cd89e766356fb71adc08bf75d9b2f5802f71c18b5d0476887
HEAD_REF master)
vcpkg_configure_meson(SOURCE_PATH ${SOURCE_PATH}
OPTIONS
-Ddocs=false
--backend=ninja)
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()
# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/fribidi RENAME copyright)