meson.build: add a custom message for the python3 dependency.

It's confusing to users because they don't get any indication that it's the
development package we need, not the normal python package.

This requires bumping meson's minimum version to 0.50 but hey, we can live
with that.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
pull/228/head
Peter Hutterer 2019-11-04 08:26:47 +10:00 committed by Benjamin Tissoires
parent a11d51c42c
commit 170b2c0d8a
1 changed files with 3 additions and 2 deletions

View File

@ -1,12 +1,13 @@
project('tuhi',
version: '0.3',
license: 'GPLv2',
meson_version: '>= 0.48.0')
meson_version: '>= 0.50.0')
# The tag date of the project_version(), update when the version bumps.
version_date='2019-09-12'
# Dependencies
dependency('python3', required: true)
dependency('python3', required: true,
not_found_message: 'python3 development package missing (try python3-devel or python3-dev)')
dependency('pygobject-3.0', required: true)
prefix = get_option('prefix')