From: Marek Szuba Date: Mon, 13 Apr 2020 21:42:38 +0000 (+0100) Subject: meson.eclass: update the example to use modern helper functions X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b69481722aa911410ab12018f01db859d696f22c;p=gentoo.git meson.eclass: update the example to use modern helper functions We have now got meson_use and meson_feature yet the example still used usex. Signed-off-by: Marek Szuba Reviewed-by: Mike Gilbert --- diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 0932a7ed427f..2bd1dc017609 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -23,9 +23,9 @@ # # src_configure() { # local emesonargs=( -# -Dqt4=$(usex qt4 true false) -# -Dthreads=$(usex threads true false) -# -Dtiff=$(usex tiff true false) +# $(meson_use qt4) +# $(meson_feature threads) +# $(meson_use bindist official_branding) # ) # meson_src_configure # }