Skip to content

Commit

Permalink
[fribidi] new port (#4627)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi authored and ras0219-msft committed Nov 4, 2018
1 parent ccafb56 commit f11fd8a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ports/fribidi/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Source: fribidi
Version: 1.0.5
Description: GNU FriBidi is an implementation of the Unicode Bidirectional Algorithm (bidi)
27 changes: 27 additions & 0 deletions ports/fribidi/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit f11fd8a

Please sign in to comment.