diff options
Diffstat (limited to 'scripts/lib/ptxd_make_world_prepare.sh')
-rw-r--r-- | scripts/lib/ptxd_make_world_prepare.sh | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_prepare.sh b/scripts/lib/ptxd_make_world_prepare.sh index ecc896205..cee6b7786 100644 --- a/scripts/lib/ptxd_make_world_prepare.sh +++ b/scripts/lib/ptxd_make_world_prepare.sh @@ -120,6 +120,21 @@ export -f ptxd_make_world_prepare_perl # +# prepare for meson based pkgs +# +ptxd_make_world_prepare_meson() { + ptxd_eval \ + "${pkg_path}" \ + "${pkg_env}" \ + "${pkg_conf_env}" \ + meson \ + "${pkg_conf_opt}" \ + "${pkg_conf_dir}" +} +export -f ptxd_make_world_prepare_meson + + +# # generic prepare # ptxd_make_world_prepare() { @@ -138,7 +153,7 @@ ptxd_make_world_prepare() { fi case "${pkg_conf_tool}" in - autoconf|cmake|qmake|kconfig|perl) + autoconf|cmake|qmake|kconfig|perl|meson) cd -- "${pkg_build_dir}" && ptxd_make_world_prepare_"${pkg_conf_tool}" 2>&1 ;; python|python3) |