def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_file_name", "flac")
    self.cpp_info.components["libflac"].set_property("cmake_target_name", "FLAC::FLAC")
    self.cpp_info.components["libflac"].set_property("pkg_config_name", "flac")
    self.cpp_info.components["libflac"].libs = ["FLAC"]
    self.cpp_info.components["libflac"].requires = ["ogg::ogg"]
    self.cpp_info.components["libflac++"].set_property("cmake_target_name", "FLAC::FLAC++")
    self.cpp_info.components["libflac++"].set_property("pkg_config_name", "flac++")
    self.cpp_info.components["libflac++"].libs = ["FLAC++"]
    self.cpp_info.components["libflac++"].requires = ["libflac"]
    if not self.options.shared:
        self.cpp_info.components["libflac"].defines = ["FLAC__NO_DLL"]
        if self.settings.os in ["Linux", "FreeBSD"]:
            self.cpp_info.components["libflac"].system_libs += ["m"]
    bin_path = os.path.join(self.package_folder, "bin")
    self.output.info("Appending PATH environment variable: {}".format(bin_path))
    self.env_info.PATH.append(bin_path)
    # TODO: to remove in conan v2
    self.cpp_info.filenames["cmake_find_package"] = "flac"
    self.cpp_info.filenames["cmake_find_package_multi"] = "flac"
    self.cpp_info.names["cmake_find_package"] = "FLAC"
    self.cpp_info.names["cmake_find_package_multi"] = "FLAC"
    self.cpp_info.components["libflac"].names["cmake_find_package"] = "FLAC"
    self.cpp_info.components["libflac"].names["cmake_find_package_multi"] = "FLAC"
    self.cpp_info.components["libflac++"].names["cmake_find_package"] = "FLAC++"
    self.cpp_info.components["libflac++"].names["cmake_find_package_multi"] = "FLAC++"