build(snap): Fix snap package not buildable in v1.11.0 (#4578)
* fix(snap): Fix missing CMake build dependency Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com> * fix(snap): Use core20 for compatible versions of CMake Fixes #4574. Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com> * build(snap): Drop unused build packages Refer-to: David Knaack comment at Snap not buildable in v1.11.0 · Issue starship#4574 · starship/starship <starship#4574 (comment)> Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com> Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
This commit is contained in:
parent
f65861946d
commit
7ce09621b9
|
@ -1,5 +1,5 @@
|
||||||
name: starship
|
name: starship
|
||||||
base: core18
|
base: core20
|
||||||
adopt-info: starship
|
adopt-info: starship
|
||||||
summary: The minimal, blazing-fast, and infinitely customizable prompt for any shell!
|
summary: The minimal, blazing-fast, and infinitely customizable prompt for any shell!
|
||||||
description: |
|
description: |
|
||||||
|
@ -57,7 +57,7 @@ parts:
|
||||||
source: https://github.com/starship/starship.git
|
source: https://github.com/starship/starship.git
|
||||||
#source-tag: v$SNAPCRAFT_PROJECT_VERSION
|
#source-tag: v$SNAPCRAFT_PROJECT_VERSION
|
||||||
build-packages:
|
build-packages:
|
||||||
- libssl-dev
|
- cmake
|
||||||
- pkg-config
|
- pkg-config
|
||||||
override-build: |
|
override-build: |
|
||||||
last_committed_tag="$(git describe --tags --abbrev=0)"
|
last_committed_tag="$(git describe --tags --abbrev=0)"
|
||||||
|
|
Loading…
Reference in New Issue