summaryrefslogtreecommitdiff
path: root/snapcraft.yaml
blob: 66b49a6daaee567376d55098c7adfb7b0be1c695 (plain)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
name: ubuntu-app-platform
version: '1'
summary: Ubuntu app platform for running apps on a shared platform of libraries
description: |
 Ubuntu app platform is an optional package your app can use to minimize the disk space the app takes. The platform offers you shared content which includes Qt 5.6.2 with Ubuntu's backported fixes, Ubuntu UI Toolkit, PIM libraries and Oxide web browser engine among else.

 It is recommended to use the associated cloud part desktop-ubuntu-app-platform to make the usage easy. Note that for developing a package targeting to use ubuntu-app-platform, you will need to use Ubuntu 16.04 LTS added with the "stable-phone-overlay" PPA which includes the newer Qt and other packages!
grade: stable
confinement: strict

slots:
  platform:
    content: ubuntu-app-platform1
    interface: content
    read:
        - .

parts:
  ubuntu-app-platform:
    plugin: nil
    stage-packages:
        - fontconfig
        - libc6
        - libcups2
        - libdbus-1-3
        - libdrm2
        - libegl1-mesa
        - libfontconfig1
        - libfreetype6
        - libgbm1
        - libgcc1
        - libgl1-mesa-dev
        - libgl1-mesa-glx
        - libgles2-mesa-dev
        - libglib2.0-0
        - libglu1-mesa-dev
        - libharfbuzz0b
        - libice6
        - libicu55 ##
        - libinput10
        - libjpeg8
        - libmtdev1
        - libpcre16-3
        - libpng16-16
        - libproxy1v5
        - libsm6
        - libsqlite3-0
        - libstdc++6
        - libudev1
        - libx11-6
        - libx11-xcb1
        - libxcb1
        - libxcb-glx0
        - libxcb-icccm4
        - libxcb-image0
        - libxcb-keysyms1
        - libxcb-randr0
        - libxcb-render0
        - libxcb-render-util0
        - libxcb-shape0
        - libxcb-shm0
        - libxcb-sync1
        - libxcb-xfixes0
        - libxcb-xkb1
        - libxext-dev
        - libxi6
        - libxkbcommon0
        - libxkbcommon-x11-0
        - libxrender1
        - perl
        - zlib1g
        # workaround for LP: #1576282
        - locales-all
        # qtmultimedia
        - libpulse0
        # ubuntu-sdk-libs
        - ubuntu-sdk-libs
        # Extra UI components
        - qtdeclarative5-ubuntu-ui-extras0.2
        # Calendar deps
        - qtcontact5-galera
        - qtorganizer5-eds
        # Web apps
        - liboxideqt-qmlplugin
        - webapp-container
        # Allow non-memory GSettings backend
        - dconf-gsettings-backend
        # Mir QPA
        - qtubuntu-desktop
        # Additional deps
        - qml-module-ubuntu-thumbnailer0.1
        # Needed by address-book-app. See bug 1643660
        - qtdeclarative5-gsettings1.0
        - qtdeclarative5-ofono0.2
        - qtdeclarative5-ubuntu-keyboard-extensions0.1
        - qtdeclarative5-ubuntu-telephony-phonenumber0.1
        - qtdeclarative5-buteo-syncfw0.1
        - qml-module-qtcontacts # See bug 1643659
        # Needed by telegram.
        - qml-module-ubuntu-connectivity
        - qtdeclarative5-ubuntu-contacts0.1
        # Add a droid derived Sans-Serif style CJK font
        - fonts-wqy-microhei
        # Unity7 desktop integration (menus and indicators with snap support)
        - appmenu-qt5
        # OSK
        - ubuntu-keyboard-arabic
        - ubuntu-keyboard-autopilot
        - ubuntu-keyboard-azerbaijani
        - ubuntu-keyboard-bosnian
        - ubuntu-keyboard-catalan
        - ubuntu-keyboard-chinese-chewing
        - ubuntu-keyboard-chinese-pinyin
        - ubuntu-keyboard-croatian
        - ubuntu-keyboard-czech
        - ubuntu-keyboard-danish
        - ubuntu-keyboard-dev
        - ubuntu-keyboard-dutch
        - ubuntu-keyboard-emoji
        - ubuntu-keyboard-english
        - ubuntu-keyboard-esperanto
        - ubuntu-keyboard-finnish
        - ubuntu-keyboard-french
        - ubuntu-keyboard-german
        - ubuntu-keyboard-greek
        - ubuntu-keyboard-hebrew
        - ubuntu-keyboard-hungarian
        - ubuntu-keyboard-icelandic
        - ubuntu-keyboard-italian
        - ubuntu-keyboard-japanese
        - ubuntu-keyboard-korean
        - ubuntu-keyboard-latvian
        - ubuntu-keyboard-norwegian-bokmal
        - ubuntu-keyboard-polish
        - ubuntu-keyboard-portuguese
        - ubuntu-keyboard-romanian
        - ubuntu-keyboard-russian
        - ubuntu-keyboard-scottish-gaelic
        - ubuntu-keyboard-serbian
        - ubuntu-keyboard-slovenian
        - ubuntu-keyboard-spanish
        - ubuntu-keyboard-swedish
        - ubuntu-keyboard-ukrainian

    prime:
        - etc
        - lib/*
        - usr/bin/dbus*
        - usr/bin/gtk-update*
        - usr/bin/q*
        - usr/bin/u*
        - usr/bin/web*
        - usr/lib
        - usr/sbin/update-icon-caches
        - usr/share/content-hub
        - usr/share/dbus-1
        - usr/share/fonts
        - usr/share/glib-2.0/schemas
        - usr/share/libgweather
        - usr/share/icons
        - usr/share/mime/packages
        - usr/share/webbrowser-app
        - usr/share/X11
        # OSK
        - etc/xdg/maliit.org/
        - usr/lib/maliit/plugins
        - usr/share/maliit/plugins
        # Exclude Mir
        - -usr/lib/*/libmir*