added snap into project

This commit is contained in:
Andrei Yankovich 2018-09-22 16:35:20 +03:00
parent d83192ffdb
commit 3ae92eadf4
6 changed files with 9 additions and 18 deletions

View File

@ -1,10 +0,0 @@
[default]
name=Default
runtime=host
config-opts=
run-opts=
prefix=/home/andrei/.cache/gnome-builder/install/snap/host
app-id=
postbuild=
prebuild=
default=true

4
.gitignore vendored
View File

@ -46,3 +46,7 @@ target_wrapper.*
# QtCreator CMake
CMakeLists.txt.user*
snap/\.snapcraft/
\.buildconfig

View File

@ -37,4 +37,5 @@ QMAKE_LFLAGS += -Wl,-rpath,"'$$DESTDIR'"
DISTFILES += \
../snapBuild.sh \
../staticBuild.sh
../staticBuild.sh \
../snap/snapcraft.yaml

View File

@ -1,6 +0,0 @@
!GlobalState
assets:
build-packages: [libglib2.0-dev-bin=2.56.2-0ubuntu0.18.04.1, libglib2.0-bin=2.56.2-0ubuntu0.18.04.1,
libglib2.0-dev=2.56.2-0ubuntu0.18.04.1, libglib2.0-0=2.56.2-0ubuntu0.18.04.1,
'libglib2.0-0:i386=2.56.2-0ubuntu0.18.04.1']
build-snaps: []

View File

@ -16,7 +16,7 @@ apps:
cqtdeployer:
command: desktop-launch $SNAP/CQtDeployer
plugs: [classic-support]
plugs: [home, removable-media]
parts:
cqtdeployer:

View File

@ -7,3 +7,5 @@ rm -rfd $BASE_DIR/build
echo "Start static build"
$BASE_DIR/staticBuild.sh
snapcraft