aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2023-10-07 13:43:25 +0900
committer坂本 貴史 <o-takashi@sakamocchi.jp>2023-10-08 11:38:33 +0900
commit68a5156525badb43d67c5cb44dbcfba4928258f7 (patch)
treed68c7cc65786b875bab8f7f147abe116da67bfd4
parentb1dee8e77a4b6e2a8eb6727b569e8e8e1f85af57 (diff)
downloadlibhinoko-68a5156525badb43d67c5cb44dbcfba4928258f7.tar.gz
meson: bump minimal version up to 0.54.0 for meson.override_dependency()
The meson.override_dependency() was added to meson build 0.54.0 version. It is useful for the case that explicit dependency object is provided from subproject and the dependency in main project fallbacks to it. Reference: https://mesonbuild.com/Release-notes-for-0-54-0.html#override-dependency Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r--README.rst4
-rw-r--r--meson.build2
-rw-r--r--src/meson.build1
3 files changed, 4 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 5e4c1fe..d42088c 100644
--- a/README.rst
+++ b/README.rst
@@ -2,7 +2,7 @@
The libhinoko project
=====================
-2023/10/03
+2023/10/07
Takashi Sakamoto
Introduction
@@ -50,7 +50,7 @@ Dependencies
Requirements to build
=====================
-- Meson 0.46.0 or later
+- Meson 0.54.0 or later
- Ninja
- PyGObject (optional to run unit tests)
- gi-docgen (optional to generate API documentation)
diff --git a/meson.build b/meson.build
index f688088..7b49822 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
project('hinoko', 'c',
version: '0.9.1',
license: 'LGPL-2.1+',
- meson_version: '>= 0.46.0',
+ meson_version: '>= 0.54.0',
)
version = meson.project_version().split('.')
diff --git a/src/meson.build b/src/meson.build
index 804df57..411a20f 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -109,3 +109,4 @@ hinoko_dep = declare_dependency(
sources: headers + marshallers + enums + hinoko_gir,
include_directories: include_directories('.')
)
+meson.override_dependency('hinoko', hinoko_dep)