added snapcraft

This commit is contained in:
a.yankovich 2018-09-13 13:51:17 +03:00
parent 56411c0fe8
commit fe0d7a4306
4 changed files with 48 additions and 0 deletions

10
.buildconfig Normal file
View File

@ -0,0 +1,10 @@
[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

@ -8,6 +8,7 @@
*.so
*.dll
*.dylib
*.snap
# Qt-es
object_script.*.Release
@ -29,6 +30,9 @@ ui_*.h
Makefile*
*build-*
build/*
stage/*
prime/*
parts/*
# Qt unit tests
target_wrapper.*

6
snap/.snapcraft/state Normal file
View File

@ -0,0 +1,6 @@
!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: []

28
snap/snapcraft.yaml Normal file
View File

@ -0,0 +1,28 @@
name: cqtdeployer # you probably want to 'snapcraft register <name>'
version: '1.0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: deploy your qt projects # 79 char long summary
description: |
Console app for deploy qt libs.
Key differences of this program
Performance-this program deploys the application several times faster (up to 10 seconds)
Flexibility-this application has flags that will help you configure the deployment as you need and your project
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
base: core18
apps:
cqtdeployer:
command: desktop-launch $SNAP/CQtDeployer
plugs: [classic-support]
parts:
cqtdeployer:
# See 'snapcraft plugins'
plugin: dump
source: build
after: [desktop-glib-only]