diff options
| author | LarryIII <33021067+LarryIII@users.noreply.github.com> | 2019-03-20 09:51:08 -0700 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-03-20 09:51:08 -0700 |
| commit | 03558e75079187eb090349a99c11572905933c02 (patch) | |
| tree | 609d65da512959d298123f1f02b25019720c25c7 | |
| parent | bcf7db4d460e8c803a420ed81e7a968807b40e7f (diff) | |
| download | vcpkg-03558e75079187eb090349a99c11572905933c02.tar.gz vcpkg-03558e75079187eb090349a99c11572905933c02.zip | |
[fribidi] Update Version to support static build (#5745)
| -rw-r--r-- | ports/fribidi/CONTROL | 2 | ||||
| -rw-r--r-- | ports/fribidi/portfile.cmake | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/ports/fribidi/CONTROL b/ports/fribidi/CONTROL index 65e9a2248..098748ee8 100644 --- a/ports/fribidi/CONTROL +++ b/ports/fribidi/CONTROL @@ -1,3 +1,3 @@ Source: fribidi
-Version: 1.0.5
+Version: 58c6cb3
Description: GNU FriBidi is an implementation of the Unicode Bidirectional Algorithm (bidi)
diff --git a/ports/fribidi/portfile.cmake b/ports/fribidi/portfile.cmake index d366b89ef..ec5dc1553 100644 --- a/ports/fribidi/portfile.cmake +++ b/ports/fribidi/portfile.cmake @@ -3,8 +3,8 @@ include(vcpkg_common_functions) vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO fribidi/fribidi
- REF v1.0.5
- SHA512 c51b67cc3e7610bef9a66f2456f7602fe010164c2c01e7d91026cefa4a08fdce5165b6eb3814e76cd89e766356fb71adc08bf75d9b2f5802f71c18b5d0476887
+ REF 58c6cb390a9a18c98b2cbaac555d8ea9352a9e4f
+ SHA512 1ec9c19faa87886786ce1589e2c66cab173b48e34d0e43487becc8606001f21f6ed17d0abd1c322fbbcaeb96a47ed882cad228be2e9beb019020ca2a475fc298
HEAD_REF master)
vcpkg_configure_meson(SOURCE_PATH ${SOURCE_PATH}
@@ -23,5 +23,9 @@ if (EXE_FILES) file(REMOVE ${EXE_FILES})
endif()
+if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
+endif()
+
# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/fribidi RENAME copyright)
\ No newline at end of file |
