def METHOD_NAME(self):
    tools.replace_in_file(
        os.path.join(self._source_subfolder, "meson.build"),
        "subdir('tests')",
        "#subdir('tests')",
    )
    tools.replace_in_file(
        os.path.join(self._source_subfolder, "meson.build"),
        "if meson.version().version_compare('>=0.54.0')",
        "if false",
    )
    with tools.environment_append(
        VisualStudioBuildEnvironment(self).vars
        if self._is_msvc
        else {"PKG_CONFIG_PATH": self.build_folder}
    ):
        meson = self._configure_meson()
        meson.METHOD_NAME()