diff options
author | 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com> | 2022-11-14 01:30:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-13 18:30:25 +0100 |
commit | 7ce09621b918fc60f1695fe1656185975e65c7d6 (patch) | |
tree | 7f48fb02576210c7713facf0ffb4ee89248039fb /snapcraft.yaml | |
parent | f65861946dc6730fc80fe4fe0be9e29f4f20f5e8 (diff) |
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>
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r-- | snapcraft.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml index 7dcf73435..4e20684ee 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,5 +1,5 @@ name: starship -base: core18 +base: core20 adopt-info: starship summary: The minimal, blazing-fast, and infinitely customizable prompt for any shell! description: | @@ -57,7 +57,7 @@ parts: source: https://github.com/starship/starship.git #source-tag: v$SNAPCRAFT_PROJECT_VERSION build-packages: - - libssl-dev + - cmake - pkg-config override-build: | last_committed_tag="$(git describe --tags --abbrev=0)" |