const PackageMap &get_packages() const { return packages; }
- /** Locates a package and creates it if necessary. */
+ /** Locates a package and loads it if necessary. */
Package *find_package(const std::string &);
private:
std::string run_pkgconfig(const std::string &, const std::string &);
/** Determines the source directory of a package. Pkg-config is consulted
- first, and if it fails, the package path is searched for matches. */
+ first, and if it fails, the package path is searched for matches. The
+ package is expected to be located in a directory named after itself. */
Msp::FS::Path get_package_location(const std::string &);
/** Determines the file containing a binary package. The file is expected