Set version we're building from snapcraft
This commit is contained in:
parent
3c70c4a80d
commit
45ac3ecf6a
7 changed files with 43 additions and 64 deletions
|
|
@ -1,4 +1,8 @@
|
|||
name: anbox
|
||||
# NOTE: Always only use increasing numeric values here. This is
|
||||
# passed down into cmake and assigned to an integer variable which
|
||||
# can be used for version number comparision inside the code base
|
||||
# to accomondate for any breaking changes.
|
||||
version: 2
|
||||
summary: Android in a Box
|
||||
description: |
|
||||
|
|
@ -84,6 +88,7 @@ parts:
|
|||
# FIXME: Anbox currently has some paths with hard coded prefixes. Once
|
||||
# that is fixed we can avoid using a prefix here.
|
||||
- -DCMAKE_INSTALL_PREFIX:PATH=/usr
|
||||
- -DVERSION=$SNAPCRAFT_PROJECT_VERSION
|
||||
build-packages:
|
||||
- build-essential
|
||||
- cmake
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue