meson.eclass: require at least meson-0.45.1
authorZac Medico <zmedico@gentoo.org>
Mon, 23 Jul 2018 20:17:34 +0000 (13:17 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 23 Jul 2018 20:27:39 +0000 (13:27 -0700)
Require newer meson in order to avoid build failures triggered
new meson is not installed soon enough. For example, I experienced
bug 649264 because I upgraded xorg-proto and libxshmfence packages
before meson.

Although meson-0.44.1 is enough to solve bug 649264, Mike Gilbert
suggests to require at least meson-0.45.1, since this version is
the latest stable on all archs.

Closes: https://bugs.gentoo.org/649264
Reviewed-by: Mart Raudsepp <leio@gentoo.org>
Reviewed-by: Mike Gilbert <floppym@gentoo.org>
eclass/meson.eclass

index f2202a04593d5972b33f842ef3d94fd60b9ef283..45aee91f1a9b4ab927c94e79ec1a37c5f881e62f 100644 (file)
@@ -59,7 +59,7 @@ EXPORT_FUNCTIONS src_configure src_compile src_test src_install
 if [[ -z ${_MESON_ECLASS} ]]; then
 _MESON_ECLASS=1
 
-MESON_DEPEND=">=dev-util/meson-0.40.0
+MESON_DEPEND=">=dev-util/meson-0.45.1
        >=dev-util/ninja-1.7.2"
 
 # @ECLASS-VARIABLE: MESON_AUTO_DEPEND