mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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
|
name: Linux Snap
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
paths-ignore:
|
|
||||||
- scripts/docker/**
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- scripts/docker/**
|
- scripts/docker/**
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
name: subsurface
|
name: subsurface
|
||||||
version: git
|
|
||||||
icon: icons/subsurface-icon.svg
|
icon: icons/subsurface-icon.svg
|
||||||
summary: Open source divelog program for recreational, tech, and free-divers
|
summary: Open source divelog program for recreational, tech, and free-divers
|
||||||
description: |
|
description: |
|
||||||
|
@ -12,6 +11,7 @@ description: |
|
||||||
grade: stable
|
grade: stable
|
||||||
confinement: strict
|
confinement: strict
|
||||||
base: core20
|
base: core20
|
||||||
|
adopt-info: subsurface
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
subsurface:
|
subsurface:
|
||||||
|
@ -151,6 +151,13 @@ parts:
|
||||||
- qtlocation5-dev
|
- qtlocation5-dev
|
||||||
- qtpositioning5-dev
|
- qtpositioning5-dev
|
||||||
- qttools5-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: |
|
override-build: |
|
||||||
mkdir -p ../install-root
|
mkdir -p ../install-root
|
||||||
ln -sf ../../../stage/usr/lib/*/qt5/plugins/geoservices/libqtgeoservices_googlemaps.so \
|
ln -sf ../../../stage/usr/lib/*/qt5/plugins/geoservices/libqtgeoservices_googlemaps.so \
|
||||||
|
|
Loading…
Reference in a new issue