mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
[snap] update to base on core18
Signed-off-by: Michał Sawicz <michal@sawicz.net>
This commit is contained in:
parent
5d6225cb8c
commit
0ab5ffc9d6
1 changed files with 12 additions and 5 deletions
|
@ -13,6 +13,7 @@ description: |
|
||||||
|
|
||||||
grade: stable
|
grade: stable
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
base: core18
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
subsurface:
|
subsurface:
|
||||||
|
@ -37,15 +38,17 @@ parts:
|
||||||
mkdir -p QtHeaders/QtLocation/private QtHeaders/QtPositioning/private
|
mkdir -p QtHeaders/QtLocation/private QtHeaders/QtPositioning/private
|
||||||
cd QtHeaders/QtLocation/private
|
cd QtHeaders/QtLocation/private
|
||||||
for HEADER in \
|
for HEADER in \
|
||||||
|
qlocationglobal \
|
||||||
|
maps/qabstractgeotilecache \
|
||||||
maps/qcache3q \
|
maps/qcache3q \
|
||||||
maps/qgeocameracapabilities \
|
maps/qgeocameracapabilities \
|
||||||
maps/qgeocameradata \
|
maps/qgeocameradata \
|
||||||
maps/qgeomap \
|
maps/qgeomap \
|
||||||
maps/qgeomapcontroller \
|
|
||||||
maps/qgeomappingmanager \
|
maps/qgeomappingmanager \
|
||||||
maps/qgeomappingmanagerengine \
|
maps/qgeomappingmanagerengine \
|
||||||
maps/qgeomaptype \
|
maps/qgeomaptype \
|
||||||
maps/qgeotilecache \
|
maps/qgeofiletilecache \
|
||||||
|
maps/qgeoprojection \
|
||||||
maps/qgeotiledmap \
|
maps/qgeotiledmap \
|
||||||
maps/qgeotiledmappingmanagerengine \
|
maps/qgeotiledmappingmanagerengine \
|
||||||
maps/qgeotiledmapreply \
|
maps/qgeotiledmapreply \
|
||||||
|
@ -59,8 +62,10 @@ parts:
|
||||||
cd -
|
cd -
|
||||||
cd QtHeaders/QtPositioning/private
|
cd QtHeaders/QtPositioning/private
|
||||||
for HEADER in \
|
for HEADER in \
|
||||||
|
qdoublematrix4x4 \
|
||||||
qdoublevector2d \
|
qdoublevector2d \
|
||||||
qgeoprojection
|
qdoublevector3d \
|
||||||
|
qpositioningglobal
|
||||||
do
|
do
|
||||||
wget --no-verbose --content-disposition \
|
wget --no-verbose --content-disposition \
|
||||||
http://code.qt.io/cgit/qt/qtlocation.git/plain/src/positioning/${HEADER}_p.h?h=v${QT_VERSION}
|
http://code.qt.io/cgit/qt/qtlocation.git/plain/src/positioning/${HEADER}_p.h?h=v${QT_VERSION}
|
||||||
|
@ -112,7 +117,7 @@ parts:
|
||||||
- qtconnectivity5-dev
|
- qtconnectivity5-dev
|
||||||
- qtlocation5-dev
|
- qtlocation5-dev
|
||||||
- qtpositioning5-dev
|
- qtpositioning5-dev
|
||||||
- qttools5-dev-tools
|
- qttools5-dev
|
||||||
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 \
|
||||||
|
@ -120,9 +125,11 @@ parts:
|
||||||
sed -i 's@^Icon=.*@Icon=${SNAP}/share/icons/hicolor/scalable/apps/subsurface-icon.svg@' ../src/subsurface.desktop
|
sed -i 's@^Icon=.*@Icon=${SNAP}/share/icons/hicolor/scalable/apps/subsurface-icon.svg@' ../src/subsurface.desktop
|
||||||
snapcraftctl build
|
snapcraftctl build
|
||||||
stage-packages:
|
stage-packages:
|
||||||
|
- libcap2
|
||||||
- libcurl3-gnutls
|
- libcurl3-gnutls
|
||||||
|
- libdb5.3
|
||||||
- libftdi1-2
|
- libftdi1-2
|
||||||
- libgit2-24
|
- libgit2-26
|
||||||
- libgrantlee-templates5
|
- libgrantlee-templates5
|
||||||
- libqt5bluetooth5
|
- libqt5bluetooth5
|
||||||
- libqt5concurrent5
|
- libqt5concurrent5
|
||||||
|
|
Loading…
Reference in a new issue