mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 20:21:38 +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>
28 lines
968 B
CMake
28 lines
968 B
CMake
set(PANGO_VERSION 1.40.11)
|
|
vcpkg_download_distfile(ARCHIVE
|
|
URLS "http://ftp.gnome.org/pub/GNOME/sources/pango/1.40/pango-${PANGO_VERSION}.tar.xz"
|
|
FILENAME "pango-${PANGO_VERSION}.tar.xz"
|
|
SHA512 e4ac40f8da9c326e1e4dfaf4b1d2070601b17f88f5a12991a9a8bbc58bb08640404e2a794a5c68c5ebb2e7e80d9c186d4b26cd417bb63a23f024ef8a38bb152a)
|
|
|
|
vcpkg_extract_source_archive_ex(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
ARCHIVE ${ARCHIVE}
|
|
REF ${PANGO_VERSION}
|
|
PATCHES
|
|
0001-fix-static-symbols-export.diff
|
|
0002-remove-hb-glib.diff
|
|
)
|
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/config.h.unix DESTINATION ${SOURCE_PATH})
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS_DEBUG
|
|
-DPANGO_SKIP_HEADERS=ON
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) |