mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
da3640e826
* update to v1.50.7 * updated version
43 lines
2.0 KiB
CMake
43 lines
2.0 KiB
CMake
vcpkg_from_gitlab(
|
|
GITLAB_URL https://gitlab.gnome.org/
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO GNOME/pango
|
|
REF a2ccd36a42e039d3600b04fe37fdc47f267d90c7 #v1.50.7
|
|
SHA512 1116080b98e46eb436b5a8712f1f16b3debd22e4e549b7ed74e5f37985644b30c4639cf248758f1d8e72581b7b2009aed95cab47781b09cb9234fcf03f2b425c
|
|
HEAD_REF master # branch name
|
|
)
|
|
|
|
vcpkg_configure_meson(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-Dintrospection=disabled # Build the GObject introspection data for Pango
|
|
-Dfontconfig=enabled # Build with FontConfig support.
|
|
-Dsysprof=disabled # include tracing support for sysprof
|
|
-Dlibthai=disabled # Build with libthai support
|
|
-Dcairo=enabled # Build with cairo support
|
|
-Dxft=disabled # Build with xft support
|
|
-Dfreetype=enabled # Build with freetype support
|
|
-Dgtk_doc=false #Build API reference for Pango using GTK-Doc
|
|
ADDITIONAL_NATIVE_BINARIES glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal'
|
|
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
|
|
ADDITIONAL_CROSS_BINARIES glib-genmarshal='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-genmarshal'
|
|
glib-mkenums='${CURRENT_HOST_INSTALLED_DIR}/tools/glib/glib-mkenums'
|
|
)
|
|
|
|
vcpkg_install_meson()
|
|
vcpkg_fixup_pkgconfig()
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_copy_tools(TOOL_NAMES pango-view pango-list pango-segmentation AUTO_CLEAN)
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
|
|
set(_file "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/pango.pc")
|
|
if(EXISTS "${_file}")
|
|
vcpkg_replace_string("${_file}" [[-I"${includedir}/pango-1.0"]] [[-I"${includedir}/pango-1.0" -I"${includedir}/harfbuzz"]])
|
|
endif()
|
|
set(_file "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/pango.pc")
|
|
if(EXISTS "${_file}")
|
|
vcpkg_replace_string("${_file}" [[-I"${includedir}/pango-1.0"]] [[-I"${includedir}/pango-1.0" -I"${includedir}/harfbuzz"]])
|
|
endif()
|