mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 20:39:02 +08:00
cc093a8224
* [harfbuzz] Use meson
* [harfbuzz] Add config file for CMake
* [harfbuzz,pango] Remove glib option for harfbuzz
* [libass,libmupdf,qt5-base,skia] Fix for harfbuzz
* Back out meson edit already applied in https://github.com/microsoft/vcpkg/pull/15258
* [harfbuzz] Fixup pkgconfig
* [libass] Bump port version
* Revert "[libass,libmupdf,qt5-base,skia] Fix for harfbuzz"
This reverts commit 3ba27c6c1c
.
* [harfbuzz] Update to 2.7.4
* update baseline record
* Restore glib feature for harfbuzz and remove vagrant change
* Update port version
* Change over to manifests
* Update port version
Co-authored-by: Ebrahim Byagowi <ebrahim@gnu.org>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
44 lines
1.3 KiB
CMake
44 lines
1.3 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO harfbuzz/harfbuzz
|
|
REF 7236c7e29cef1c2d76c7a284c5081ff4d3aa1127 # 2.7.4
|
|
SHA512 d231a788ea4e52231d4c363c1eca76424cb82ed0952b5c24d0b082e88b3dddbda967e7fffe67fffdcb22c7ebfbf0ec923365eb4532be772f2e61fa7d29b51998
|
|
HEAD_REF master
|
|
PATCHES
|
|
0002-fix-uwp-build.patch
|
|
)
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
icu icu
|
|
graphite2 graphite
|
|
glib glib
|
|
)
|
|
|
|
string(REPLACE "=ON" "=enabled" FEATURE_OPTIONS "${FEATURE_OPTIONS}")
|
|
string(REPLACE "=OFF" "=disabled" FEATURE_OPTIONS "${FEATURE_OPTIONS}")
|
|
|
|
vcpkg_configure_meson(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS ${FEATURE_OPTIONS}
|
|
-Dfreetype=enabled
|
|
-Dgobject=disabled
|
|
-Dcairo=disabled
|
|
-Dfontconfig=disabled
|
|
-Dintrospection=disabled
|
|
-Ddocs=disabled
|
|
-Dtests=disabled
|
|
-Dbenchmark=disabled
|
|
)
|
|
|
|
vcpkg_install_meson()
|
|
vcpkg_copy_pdbs()
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/cmake")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/cmake")
|
|
configure_file("${CMAKE_CURRENT_LIST_DIR}/harfbuzzConfig.cmake.in"
|
|
"${CURRENT_PACKAGES_DIR}/share/${PORT}/harfbuzzConfig.cmake" @ONLY)
|
|
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|