-
Notifications
You must be signed in to change notification settings - Fork 2
/
snapcraft.yaml
95 lines (89 loc) · 2.1 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
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
name: roshubd
version: '0.8.2'
summary: RosHub device manager
description: RosHub device manager
icon: icons/roshub_vector_logo-256x256.png
base: "core18"
confinement: devmode
grade: stable
architectures:
- build-on: amd64
run-on: amd64
- build-on: i386
run-on: i386
- build-on: armhf
run-on: armhf
- build-on: arm64
run-on: arm64
apps:
ble-serial-server:
command: bin/bleSerialServer
plugs: [bluetooth-control, bluez, network, network-bind, network-observe]
roshubd:
command: bin/roshubd
plugs: [bluetooth-control, bluez, network, network-bind, network-manager, network-observe, raw-usb]
daemon: simple
blink1-tool:
command: usr/local/bin/blink1-tool
plugs: [raw-usb]
parts:
qt:
source: "https://github.com/roshub/ble-serial-server.git"
source-type: "git"
source-commit: "ccd1cd95d381de7d135ebd30ef9b83df848eaba0"
plugin: qmake
project-files:
- src/bleSerialServer.pro
build-packages:
- build-essential
- libssl-dev
- qtbase5-dev
- qtconnectivity5-dev
stage-packages:
# Here for the plugins-- they're not linked in automatically.
- libqt5bluetooth5
- libqt5network5
roshubd:
source: "."
plugin: nodejs2
nodejs-version: "8.11.0"
nodejs-package-manager: "yarn"
build-packages:
- git
- nodejs
stage-packages:
- libasn1-8-heimdal
- libcurl3-gnutls
- libcurl4
- libgssapi3-heimdal
- libhcrypto4-heimdal
- libheimbase1-heimdal
- libheimntlm0-heimdal
- libhx509-5-heimdal
- libkrb5-26-heimdal
- libroken18-heimdal
- libwind0-heimdal
- libldap-2.4-2
- libnghttp2-14
- libpsl5
- librtmp1
- libsasl2-2
- git
- snapd
blink:
source: "https://github.com/todbot/blink1-tool.git"
plugin: make
build-packages:
- pkg-config
- libusb-1.0-0-dev
stage-packages:
- libusb-1.0-0
nmcli:
plugin: nil
stage-packages:
- network-manager
- libatm1
- libxtables12
- libslang2
organize:
usr/bin/nmcli: bin/nmcli