-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vcpkg-tool-meson] update meson to 0.62.1 (#23717)
* update meson and see what breaks * include patch again. * update meson to 0.62.1 * remove old patch * move to 64bit since 32bit not longer exists. * fix gobject-introspection * v db * revert nasm changes * set MESON_SCRIPT instead of MESON. * v db * apply CR Co-authored-by: Robert Schumacher <[email protected]> * v db Co-authored-by: Alexander Neumann <[email protected]> Co-authored-by: Robert Schumacher <[email protected]>
- Loading branch information
1 parent
ee0d840
commit f4de177
Showing
10 changed files
with
58 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
diff --git a/giscanner/meson.build b/giscanner/meson.build | ||
index e63a5ab78..3d7dc678a 100644 | ||
--- a/giscanner/meson.build | ||
+++ b/giscanner/meson.build | ||
@@ -97,11 +97,11 @@ giscanner_lib = static_library('giscanner', | ||
dependencies: [glib_dep, gobject_dep, gio_dep, gmodule_dep], | ||
) | ||
|
||
# https://github.com/mesonbuild/meson/issues/4117 | ||
if host_machine.system() == 'windows' | ||
+ python_ext_dep = libpython_dep | ||
- python_ext_dep = python.dependency() | ||
else | ||
+ python_ext_dep = libpython_dep | ||
- python_ext_dep = python.dependency().partial_dependency(compile_args: true) | ||
endif | ||
|
||
if not python_ext_dep.found() | ||
diff --git a/meson.build b/meson.build | ||
index 2a9d68556..cffe9014c 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -156,4 +156,5 @@ libffi_dep = dependency('libffi', | ||
|
||
# python headers | ||
-cc.check_header('Python.h', dependencies: [python.dependency()], required: true) | ||
+libpython_dep = dependency('python-3.10', method : 'pkg-config') | ||
+cc.check_header('Python.h', dependencies: [libpython_dep], required: true) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
set(SCRIPT_MESON "${CMAKE_CURRENT_LIST_DIR}/../../tools/meson/meson.py") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"name": "vcpkg-tool-meson", | ||
"version": "0.60.2", | ||
"port-version": 2, | ||
"version": "0.62.1", | ||
"description": "Meson build system", | ||
"homepage": "https://github.com/mesonbuild/meson", | ||
"license": "Apache-2.0", | ||
"supports": "native" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters