SourcePackage &package;
std::string name;
std::vector<Msp::FS::Path> sources;
+ Msp::FS::Path source_base_path;
std::vector<std::string> overlays;
bool install = false;
BuildInfo build_info;
- Package::Requirements requires;
+ Package::Requirements required_pkgs;
bool deflt = true;
InstallMap install_map;
bool broken = false;
public:
bool get_install() const { return install; }
const InstallMap &get_install_map() const { return install_map; }
- const Package::Requirements &get_required_packages() const { return requires; }
+ const Package::Requirements &get_required_packages() const { return required_pkgs; }
bool is_default() const { return deflt; }
bool is_broken() const { return broken; }
const std::vector<std::string> &get_problems() const { return problems; }
/** Prepares any required packages. */
void prepare();
+ Msp::FS::Path get_temp_directory() const;
+ std::string flatten_source_path(const Msp::FS::Path &) const;
+
/** Prepares the build information for building. Pulls build info from the
parent and dependency packages, and adds any component-specific flags. */
virtual void create_build_info();