~fboucault/ubuntu-calendar-app/snappy-launch

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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: ubuntu-calendar-app
version: 0.1
summary: Ubuntu calendar app
description: Ubuntu calendar app
confinement: devmode  # use "strict" to enforce system access only via declared interfaces
grade: devel

apps:
    ubuntu-calendar-app:
        command: desktop-launch $SNAP/bin/ubuntu-calendar-app

plugs:
    gsettings:
        interface: gsettings
    unity7:
        interface: unity7
    opengl:
        interface: opengl
# eds-calendar and address-book not available yet. 
# FIXME: Fixt that after these interfaces appear on syncd
#    eds-calendar:
#        interface: eds
#        service: calendar
#    address-book:
#        interface: address-book

parts:
    ubuntu-calendar-app:
        plugin: cmake
        configflags: [-DCMAKE_INSTALL_PREFIX=/usr, -DCLICK_MODE=off]
        source: .
        stage-packages:
            - accountsservice
            - accountsservice-ubuntu-schemas
            - account-plugin-google
            - qmlscene
            - qml-module-qt-labs-settings
            - qml-module-qtcontacts
            - qml-module-qtorganizer
            - qml-module-ubuntu-components
            - qml-module-ubuntu-onlineaccounts
            - qml-module-ubuntu-onlineaccounts-client
            - qtdeclarative5-ubuntu-content1
            - qtdeclarative5-ubuntu-syncmonitor0.1
            - qtcontact5-galera
            - qtorganizer5-eds
            - qtubuntu-desktop
            - suru-icon-theme
            - mir-graphics-drivers-desktop
        stage:
            - -usr/share/pkgconfig/xkeyboard-config.pc
            - -usr/share/pkgconfig/shared-mime-info.pc
        snap:
            - -usr/lib/python3
            - -usr/share/doc
            - -usr/include           
        after: [desktop-gtk3]

    environment:
        source: .
        plugin: dump
        organize:
            ubuntu-calendar-app.wrapper: bin/ubuntu-calendar-app