summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-04-13 22:42:38 +0100
committerMarek Szuba <marecki@gentoo.org>2020-04-14 10:33:18 +0100
commitb69481722aa911410ab12018f01db859d696f22c (patch)
tree26178dc8b20ae85a8751e693b9ba117fb93759cc /eclass
parentnet-vpn/wireguard-modules: bump to 1.0.20200413 (diff)
downloadgentoo-b69481722aa911410ab12018f01db859d696f22c.tar.gz
gentoo-b69481722aa911410ab12018f01db859d696f22c.tar.bz2
gentoo-b69481722aa911410ab12018f01db859d696f22c.zip
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 <marecki@gentoo.org> Reviewed-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/meson.eclass6
1 files changed, 3 insertions, 3 deletions
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
# }