~mir-team/+junk/snapcraft-qml-on-mir

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: qml-on-mir
version: 1.0
vendor: Mir team <mir-devel@lists.ubuntu.com>
summary: Example QML app on Mir stack
description: "This example can be used as a guide by other mir client snaps to render guis"
icon: ./mir.png
# as this is an example, type could be changed to oem
type: app

services:
  server-compositor:
    start: bin/system-compositor
    security-template: unconfined
#    security-policy:
#      apparmor: ./meta/system-compositor.apparmor
#      seccomp: ./meta/system-compositor.seccomp
parts:
  qml:
    plugin: qml
  qmldemo:
    plugin: copy
    files:
      demo.qml: demo.qml
#    all stage-packages taken care of by qml plugin
  clocks:
    plugin: copy
    files:
      clocks: clocks
  samegame:
    plugin: copy
    files:
      samgame: samegame
  calculator:
    plugin: cmake
    source: lp:ubuntu-calculator-app
    stage-packages:
      - qtdeclarative5-ubuntu-ui-toolkit-plugin
      - ubuntu-ui-toolkit-theme
  glue:
    plugin: copy
    files:
      system-compositor: bin/system-compositor