-
Notifications
You must be signed in to change notification settings - Fork 5
/
snapcraft.yaml
57 lines (52 loc) · 1.34 KB
/
snapcraft.yaml
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
name: siilihai-client
version: 2.7
summary: Siilihai web forum client
description: Siilihai web forum client
grade: stable
confinement: strict
apps:
siilihai-client:
command: desktop-launch $SNAP/usr/bin/siilihai-client
desktop: usr/share/applications/siilihai-client.desktop
plugs: [network,network-observe,x11,unity7,opengl,network-manager]
parts:
# See https://github.com/ubuntu/snapcraft-desktop-helpers/issues/62#issuecomment-310843827
desktop-qt5:
stage-packages:
- libxkbcommon0
- ttf-ubuntu-font-family
- dmz-cursor-theme
- light-themes
- shared-mime-info
- libqt5gui5
- libgdk-pixbuf2.0-0
- libqt5svg5 # for loading icon themes which are svg
- locales-all
libsiilihai:
plugin: qmake
source: https://github.com/vranki/libsiilihai.git
source-type: git
qt-version: qt5
build-packages:
- qtbase5-dev
- build-essential
- libqt5core5a
- libqt5network5
siilihai-client:
plugin: qmake
source: .
qt-version: qt5
build-packages:
- build-essential
- qtbase5-dev
- libqt5core5a
- libqt5network5
- libqt5gui5
- libqt5widgets5
- qtdeclarative5-dev
stage-packages:
- libqt5gui5
- libqt5webengine5
options:
- "CONFIG+=with_lib"
after: [desktop-qt5, libsiilihai]