X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcepackage.h;h=bdcba478262a786d5e3a91369787ec2b00632bb7;hb=0c1b2a50c95d9bb981b36d3ce522c7094ec5fe0a;hp=b8d19090eed92aa5d653589d14296d50829442b8;hpb=edb6076ccae6347acb84868563144a63e6ceba02;p=builder.git diff --git a/source/sourcepackage.h b/source/sourcepackage.h index b8d1909..bdcba47 100644 --- a/source/sourcepackage.h +++ b/source/sourcepackage.h @@ -4,10 +4,10 @@ #include #include #include "buildinfo.h" +#include "cache.h" #include "component.h" #include "condition.h" #include "config.h" -#include "dependencycache.h" #include "feature.h" #include "package.h" @@ -48,6 +48,7 @@ public: void headers(const std::string &); void if_arch(const std::string &); void if_feature(const std::string &); + void source_tarball(); void tarball(const std::string &); void tar_file(const std::string &); }; @@ -64,8 +65,9 @@ private: FeatureList features; BuildInfo build_info; ComponentList components; + Component *source_tarball; Config config; - mutable DependencyCache deps_cache; + mutable Cache cache; public: SourcePackage(Builder &, const std::string &, const Msp::FS::Path &); @@ -82,7 +84,7 @@ public: const BuildInfo &get_build_info() const { return build_info; } Builder &get_builder() const { return builder; } - DependencyCache &get_dependency_cache() const { return deps_cache; } + Cache &get_cache() const { return cache; } private: virtual void create_build_info();