mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
snap: use the rolling release version
Signed-off-by: Michał Sawicz <michal@sawicz.net>
This commit is contained in:
parent
9cdb9f7989
commit
d04c9785b6
2 changed files with 8 additions and 6 deletions
5
.github/workflows/linux-snap.yml
vendored
5
.github/workflows/linux-snap.yml
vendored
|
@ -1,11 +1,6 @@
|
|||
name: Linux Snap
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- scripts/docker/**
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- scripts/docker/**
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
name: subsurface
|
||||
version: git
|
||||
icon: icons/subsurface-icon.svg
|
||||
summary: Open source divelog program for recreational, tech, and free-divers
|
||||
description: |
|
||||
|
@ -12,6 +11,7 @@ description: |
|
|||
grade: stable
|
||||
confinement: strict
|
||||
base: core20
|
||||
adopt-info: subsurface
|
||||
|
||||
apps:
|
||||
subsurface:
|
||||
|
@ -151,6 +151,13 @@ parts:
|
|||
- qtlocation5-dev
|
||||
- qtpositioning5-dev
|
||||
- qttools5-dev
|
||||
override-pull: |
|
||||
snapcraftctl pull
|
||||
if [ ! -f latest-subsurface-buildnumber ]; then
|
||||
git fetch --depth=1 https://github.com/subsurface/nightly-builds.git branch-for-$( git rev-parse HEAD )
|
||||
git checkout FETCH_HEAD latest-subsurface-buildnumber
|
||||
fi
|
||||
snapcraftctl set-version $( scripts/get-version )
|
||||
override-build: |
|
||||
mkdir -p ../install-root
|
||||
ln -sf ../../../stage/usr/lib/*/qt5/plugins/geoservices/libqtgeoservices_googlemaps.so \
|
||||
|
|
Loading…
Reference in a new issue