mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 02:41:47 +08:00
[vcpkg-tool-meson,glib] Update meson, fix languages (#41135)
This commit is contained in:
parent
3289c7a998
commit
419d6258d0
@ -12,8 +12,9 @@ vcpkg_extract_source_archive(SOURCE_PATH
|
||||
libintl.patch
|
||||
)
|
||||
|
||||
set(LANGUAGES C CXX)
|
||||
if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS)
|
||||
list(APPEND VCPKG_CMAKE_CONFIGURE_OPTIONS "-DVCPKG_ENABLE_OBJC=1")
|
||||
list(APPEND LANGUAGES OBJC OBJCXX)
|
||||
endif()
|
||||
|
||||
vcpkg_list(SET OPTIONS)
|
||||
@ -41,7 +42,7 @@ endif()
|
||||
|
||||
vcpkg_configure_meson(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
LANGUAGES C CXX OBJC OBJCXX
|
||||
LANGUAGES ${LANGUAGES}
|
||||
ADDITIONAL_BINARIES
|
||||
${ADDITIONAL_BINARIES}
|
||||
OPTIONS
|
||||
|
@ -1,14 +1,22 @@
|
||||
{
|
||||
"name": "glib",
|
||||
"version": "2.78.4",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "Portable, general-purpose utility library.",
|
||||
"homepage": "https://developer.gnome.org/glib/",
|
||||
"license": "LGPL-2.1-or-later",
|
||||
"supports": "!uwp & !xbox",
|
||||
"dependencies": [
|
||||
"dirent",
|
||||
"gettext",
|
||||
{
|
||||
"name": "gettext",
|
||||
"host": true,
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"tools"
|
||||
]
|
||||
},
|
||||
"gettext-libintl",
|
||||
"libffi",
|
||||
"libiconv",
|
||||
"pcre2",
|
||||
|
@ -14,7 +14,7 @@ set(ref "${program_version}")
|
||||
set(path_to_search "${DOWNLOADS}/tools/meson-${program_version}-${meson_short_hash}")
|
||||
set(download_urls "https://github.com/mesonbuild/meson/archive/${ref}.tar.gz")
|
||||
set(download_filename "meson-${ref}.tar.gz")
|
||||
set(download_sha512 328859712ebe33c042d66e762a1ffbc6f4a3f44d1b2d76e6c09b5a73a967873d24646bf0d6af27bd36427c7e6a37a0ec6595754fcbeef85724e176c6c1e52a8d)
|
||||
set(download_sha512 54c6611dd95caaffa216f03d0b96b44c86d5452f54e1282234a4646f8e50f75ea0185a1611a4c078c888154bd4e2d917c4d075de3e7577440a925f72f6152a4f)
|
||||
|
||||
find_program(SCRIPT_MESON NAMES ${search_names} PATHS "${path_to_search}" NO_DEFAULT_PATH) # NO_DEFAULT_PATH due top patching
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vcpkg-tool-meson",
|
||||
"version": "1.5.1",
|
||||
"version": "1.5.2",
|
||||
"description": "Meson build system",
|
||||
"homepage": "https://github.com/mesonbuild/meson",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -320,6 +320,7 @@ function(vcpkg_generate_meson_cmd_args)
|
||||
if(NOT VCPKG_CHAINLOAD_TOOLCHAIN_FILE)
|
||||
z_vcpkg_select_default_vcpkg_chainload_toolchain()
|
||||
endif()
|
||||
vcpkg_list(APPEND VCPKG_CMAKE_CONFIGURE_OPTIONS "-DVCPKG_LANGUAGES=${arg_LANGUAGES}")
|
||||
vcpkg_cmake_get_vars(cmake_vars_file)
|
||||
debug_message("Including cmake vars from: ${cmake_vars_file}")
|
||||
include("${cmake_vars_file}")
|
||||
|
@ -3130,7 +3130,7 @@
|
||||
},
|
||||
"glib": {
|
||||
"baseline": "2.78.4",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"glib-networking": {
|
||||
"baseline": "2.78.0",
|
||||
@ -9325,7 +9325,7 @@
|
||||
"port-version": 1
|
||||
},
|
||||
"vcpkg-tool-meson": {
|
||||
"baseline": "1.5.1",
|
||||
"baseline": "1.5.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"vcpkg-tool-mozbuild": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ee1411dc98162edf7c0e77780050dc8ddc7b3aae",
|
||||
"version": "2.78.4",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "ca77eedd8dca92c9e6c021316e81b9c7f648b58a",
|
||||
"version": "2.78.4",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "43ebfc9a69d8e47fdfbe68b6f79a02d2b5f50e6e",
|
||||
"version": "1.5.2",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "cdfb605662a81299245a1ea4a3659fab1ddaff70",
|
||||
"version": "1.5.1",
|
||||
|
Loading…
Reference in New Issue
Block a user