From 7ce09621b918fc60f1695fe1656185975e65c7d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=28Buo-ren=2C=20Lin=29?= Date: Mon, 14 Nov 2022 01:30:25 +0800 Subject: [PATCH] build(snap): Fix snap package not buildable in v1.11.0 (#4578) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(snap): Fix missing CMake build dependency Signed-off-by: 林博仁(Buo-ren Lin) * fix(snap): Use core20 for compatible versions of CMake Fixes #4574. Signed-off-by: 林博仁(Buo-ren Lin) * build(snap): Drop unused build packages Refer-to: David Knaack comment at Snap not buildable in v1.11.0 · Issue starship#4574 · starship/starship Signed-off-by: 林博仁(Buo-ren Lin) Signed-off-by: 林博仁(Buo-ren Lin) --- snapcraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 7dcf7343..4e20684e 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)"