From bbb7df0db6f38140fdaabed7afc66ce689f40ab5 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Thu, 12 Mar 2020 15:12:08 +0000
Subject: [PATCH] Document the minimum meson version

The Steam Runtime has a backport of meson 0.49.0, originally from Debian
stretch-backports, which is the oldest thing we'll even try to support.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 debian/control | 2 +-
 meson.build    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index dc321a04e..6f77178cb 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,7 @@ Build-Depends:
  libx11-dev,
  libxcb1-dev,
  locales <!nocheck> | locales-all <!nocheck>,
- meson,
+ meson (>= 0.49.0),
  pandoc,
  zlib1g <!nocheck>,
 Build-Depends-Indep:
diff --git a/meson.build b/meson.build
index e1840a75f..3fa1a541b 100644
--- a/meson.build
+++ b/meson.build
@@ -29,6 +29,7 @@ project(
     'cpp_std=c++11',
     'warning_level=2',
   ],
+  meson_version : '>=0.49.0',
 )
 add_languages('cpp')
 
-- 
GitLab