aboutsummaryrefslogtreecommitdiff
path: root/libbrep/package.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-11 15:51:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-11 16:51:21 +0300
commit6a41864fdb57c75be3db87b357063b0c828dbc18 (patch)
treeb2f9a56555cd7b642529842013528c95072cd606 /libbrep/package.hxx
parent21033565488f6c63b4c40962cccfdc8b6ca32b2a (diff)
Add support for package project manifest value
Diffstat (limited to 'libbrep/package.hxx')
-rw-r--r--libbrep/package.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/libbrep/package.hxx b/libbrep/package.hxx
index 0f3f181..e7a8338 100644
--- a/libbrep/package.hxx
+++ b/libbrep/package.hxx
@@ -298,8 +298,9 @@ namespace brep
// Create internal package object. Note that for stubs the build
// constraints are meaningless, and so not saved.
//
- package (package_name name,
+ package (package_name,
version_type,
+ package_name project,
priority_type,
string summary,
license_alternatives_type,
@@ -336,6 +337,12 @@ namespace brep
//
package_id id;
upstream_version version;
+
+ // Matches the package name if the project name is not specified in
+ // the manifest.
+ //
+ package_name project;
+
priority_type priority;
string summary;
license_alternatives_type license_alternatives;