def METHOD_NAME(self):
    env = VirtualBuildEnv(self)
    env.METHOD_NAME()
    tc = MesonToolchain(self)
    tc.project_options["enable_tests"] = False
    tc.project_options["enable_asm"] = self.options.assembly
    if Version(self.version) < "1.0.0":
        tc.project_options["enable_avx512"] = self.options.get_safe("with_avx512", False)
    tc.project_options["enable_tools"] = self.options.with_tools
    if self.options.bit_depth == "all":
        tc.project_options["bitdepths"] = "8,16"
    else:
        tc.project_options["bitdepths"] = str(self.options.bit_depth)
    tc.METHOD_NAME()