Merge lp:~dholbach/ubuntu-calculator-app/add-snapcraft.yaml into lp:ubuntu-calculator-app

Proposed by Daniel Holbach
Status: Merged
Approved by: Bartosz Kosiorek
Approved revision: 302
Merged at revision: 302
Proposed branch: lp:~dholbach/ubuntu-calculator-app/add-snapcraft.yaml
Merge into: lp:ubuntu-calculator-app
Diff against target: 46 lines (+35/-0)
2 files modified
.bzrignore (+4/-0)
snapcraft.yaml (+31/-0)
To merge this branch: bzr merge lp:~dholbach/ubuntu-calculator-app/add-snapcraft.yaml
Reviewer Review Type Date Requested Status
Jenkins Bot continuous-integration Approve
Bartosz Kosiorek Approve
Review via email: mp+299817@code.launchpad.net

Commit message

Add snapcraft.yaml file.

Description of the change

Add a snapcraft.yaml file which allows you to easily build a snap from the source.

On 16.04 (or later), simply run:

  sudo apt install snapcraft; snapcraft

in the source and you should get a working calculator snap.

To post a comment you must log in.
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

FAILED: Continuous integration, rev:302
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~dholbach/ubuntu-calculator-app/add-snapcraft.yaml/+merge/299817/+edit-commit-message

https://core-apps-jenkins.ubuntu.com/job/calculator-app-ci/70/
Executed test runs:
    None: https://core-apps-jenkins.ubuntu.com/job/generic-update-mp/951/console

Click here to trigger a rebuild:
https://core-apps-jenkins.ubuntu.com/job/calculator-app-ci/70/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Thanks. It is working perfectly fine.

review: Approve
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.bzrignore'
2--- .bzrignore 2015-05-27 23:56:21 +0000
3+++ .bzrignore 2016-07-12 14:54:25 +0000
4@@ -1,2 +1,6 @@
5 *.user
6 builddir
7+stage
8+prime
9+parts
10+ubuntu-calculator-app_*.snap
11
12=== added file 'snapcraft.yaml'
13--- snapcraft.yaml 1970-01-01 00:00:00 +0000
14+++ snapcraft.yaml 2016-07-12 14:54:25 +0000
15@@ -0,0 +1,31 @@
16+name: ubuntu-calculator-app
17+version: 2.1+snap3
18+summary: Ubuntu Calculator app
19+description: The calculator app for all Ubuntu devices.
20+confinement: strict
21+
22+
23+apps:
24+ ubuntu-calculator-app:
25+ command: desktop-launch $SNAP/usr/lib/*/qt5/bin/qmlscene $SNAP/usr/share/ubuntu-calculator-app/ubuntu-calculator-app.qml
26+ plugs: [unity7, opengl]
27+
28+parts:
29+ calculator:
30+ plugin: cmake
31+ configflags: [-DCMAKE_INSTALL_PREFIX=/usr, -DCLICK_MODE=off]
32+ source: .
33+ build-packages:
34+ - cmake
35+ - gettext
36+ - intltool
37+ - python3
38+ - qtbase5-dev
39+ - qtdeclarative5-dev
40+ stage-packages:
41+ - ubuntu-sdk-libs
42+ - qtubuntu-desktop
43+ snap:
44+ - -usr/share/doc
45+ - -usr/include
46+ after: [desktop/qt5]

Subscribers

People subscribed via source and target branches