mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 21:49:00 +08:00
ff68673745
* [fontconfig] fix pkgconfig file installation (microsoft/vcpkg#35002)
move pkgconfig script into the path indicated by the diagnositic emitted by
vcpkg (see comment 1 of microsoft/vcpkg#35002).
* [fontconfig] force installation of pc files (microsoft/vcpkg#35002)
Undo the last commit and patch meson to force the pc file installation paths
demanded by `vcpkg_fixup_pkgconfig`
* [fontconfig] bump portrevision (microsoft/vcpkg#35002)
* [fontconfig] regenerate versions (microsoft/vcpkg#35002)
* Revert "[fontconfig] regenerate versions (microsoft/vcpkg#35002)"
This reverts commit 8daf0e15a67c376779631442ce926236ba2ed2e4.
* Revert "[fontconfig] bump portrevision (microsoft/vcpkg#35002)"
This reverts commit a9727bc32325238565428e3497ae564d2d255b86.
* Revert "[fontconfig] force installation of pc files (microsoft/vcpkg#35002)"
This reverts commit c0c6e017c7ab255e5532428e68f9d7c6e1ae8aad.
* Revert "[fontconfig] fix pkgconfig file installation (microsoft/vcpkg#35002)"
This reverts commit 616d4ce83e091cd128f4d896fcff81a1de4ed1b9.
* [vcpkg-tool-meson] fix pc-file installation paths on FreeBSD (microsoft#35002)
* [vcpkg-tool-meson] bump portversion (microsoft/vcpkg#35002)
* [vcpkg-tool-meson] regenerate versions (microsoft/vcpkg#35002)
* [vcpkg-tool-meson] Use vcpkg_from_github to obtain source (microsoft/vcpkg#35002)
* [vcpkg-tool-meson] Regenerate versions (microsoft/vcpkg#35002)
* [vcpkg-tool-meson] Use adverticed version of meson (microsoft/vcpkg#35002)
vcpkg@ce9f50f7 has bumped vcpkg-tool-meson's adverticed version to 0.63, but
not updated the `ref` variable, which still points to 0.62.1.
Update meson to 0.63 and use ${VERSION} to avoid similar issues in the future,
and regenerate patches/hashes accordingly.
* [vcpkg-tool-meson] regenerate versions (microsoft/vcpkg#35002)
* Revert "[vcpkg-tool-meson] regenerate versions (microsoft/vcpkg#35002)"
This reverts commit e9a424ef16
.
* Revert "[vcpkg-tool-meson] Use adverticed version of meson (microsoft/vcpkg#35002)"
Meson 0.63 can't build gobject-introspection on a tier 1 supported target.
Upgrading meson to 0.63 and handling regressions of that update is out of
scope of #35002 anyways, and should be handled either on it's own PR,
microsoft/vcpkg#28084 or microsoft/vcpkg#35348 .
56 lines
1.8 KiB
CMake
56 lines
1.8 KiB
CMake
# This port represents a dependency on the Meson build system.
|
|
# In the future, it is expected that this port acquires and installs Meson.
|
|
# Currently is used in ports that call vcpkg_find_acquire_program(MESON) in order to force rebuilds.
|
|
|
|
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
|
|
|
set(program MESON)
|
|
set(program_version 0.63.0)
|
|
set(program_name meson)
|
|
set(search_names meson meson.py)
|
|
set(interpreter PYTHON3)
|
|
set(apt_package_name "meson")
|
|
set(brew_package_name "meson")
|
|
set(paths_to_search "${CURRENT_PACKAGES_DIR}/tools/meson")
|
|
set(supported_on_unix ON)
|
|
set(version_command --version)
|
|
set(extra_search_args EXACT_VERSION_MATCH)
|
|
|
|
vcpkg_find_acquire_program(PYTHON3)
|
|
|
|
# Reenable if no patching of meson is required within vcpkg
|
|
# z_vcpkg_find_acquire_program_find_external("${program}"
|
|
# ${extra_search_args}
|
|
# PROGRAM_NAME "${program_name}"
|
|
# MIN_VERSION "${program_version}"
|
|
# INTERPRETER "${interpreter}"
|
|
# NAMES ${search_names}
|
|
# VERSION_COMMAND ${version_command}
|
|
# )
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO mesonbuild/meson
|
|
REF bb91cea0d66d8d036063dedec1f194d663399cdf
|
|
SHA512 e5888eb35dd4ab5fc0a16143cfbb5a7849f6d705e211a80baf0a8b753e2cf877a4587860a79cad129ec5f3474c12a73558ffe66439b1633d80b8044eceaff2da
|
|
PATCHES
|
|
meson-intl.patch
|
|
remove-freebsd-pcfile-specialization.patch
|
|
)
|
|
|
|
file(INSTALL "${SOURCE_PATH}"
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/tools"
|
|
RENAME "meson"
|
|
)
|
|
|
|
configure_file("${CMAKE_CURRENT_LIST_DIR}/vcpkg-port-config.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/vcpkg-port-config.cmake" @ONLY)
|
|
|
|
z_vcpkg_find_acquire_program_find_internal("${program}"
|
|
INTERPRETER "${interpreter}"
|
|
PATHS ${paths_to_search}
|
|
NAMES ${search_names}
|
|
)
|
|
|
|
message(STATUS "Using meson: ${MESON}")
|
|
file(WRITE "${CURRENT_PACKAGES_DIR}/share/meson/version.txt" "${program_version}") # For vcpkg_find_acquire_program
|