-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
142 lines (137 loc) · 3.48 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
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
name: bluez-bencorrado
version: 5.47-1-dev
type: app
summary: Bluetooth tools and daemons
description: |
This package contains tools and system daemons for using Bluetooth
devices. BlueZ is the official Linux Bluetooth protocol stack. It
is an Open Source project distributed under GNU General Public
License (GPL). See the project homepage for more details:
https://code.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/bluez
confinement: strict
grade: stable
# NOTE: the alias syntax is depreciated with snapd 2.25 however it needs to
# stay to guarantee that all clients are updated correctly.
apps:
bluetoothctl:
command: bin/client-wrapper usr/bin/bluetoothctl
plugs: [client, uhid]
aliases: [bluetoothctl]
obexctl:
command: bin/client-wrapper usr/bin/obexctl
plugs: [client]
aliases: [obexctl]
bluez:
command: "usr/lib/bluetooth/bluetoothd -E"
daemon: simple
slots: [service]
plugs: [uhid, serial-port]
obex:
command: "usr/lib/bluetooth/obexd"
daemon: simple
slots: [service]
hciconfig:
command: usr/bin/hciconfig
plugs: [bluetooth-control]
aliases: [hciconfig]
hcidump:
command: usr/bin/hcidump
plugs: [bluetooth-control, network-control, home]
aliases:
- hcidump
hciattach:
command: usr/bin/hciattach
plugs: [bluetooth-control, serial-port]
aliases: [hciattach]
hcitool:
command: usr/bin/hcitool
plugs: [bluetooth-control]
aliases: [hcitool]
sdptool:
command: usr/bin/sdptool
plugs: [client]
aliases: [sdptool]
btmon:
command: usr/bin/btmon
plugs: [bluetooth-control, network-control, home]
aliases: [btmon]
btattach:
command: usr/bin/btattach
plugs: [bluetooth-control, serial-port]
aliases: [btattach]
btmgmt:
command: usr/bin/btmgmt
plugs: [bluetooth-control, network-control]
aliases: [btmgmt]
meshctl:
command: usr/bin/meshctl
plugs: [bluetooth-control, network-control]
aliases: [meshctl]
plugs:
client:
interface: bluez
slots:
service:
interface: bluez
parts:
bluez-common:
plugin: dump
source: bin/
organize:
client-wrapper: bin/client-wrapper
bluez:
plugin: autotools
source: https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/bluez
source-type: git
source-branch: bluez/5.47
configflags:
- --prefix=/usr
- --libexec=/usr/lib/
- --enable-experimental
- --enable-threads
- --disable-cups
- --enable-obex
- --disable-systemd
- --disable-silent-rules
- --enable-test
- --enable-deprecated
- --enable-mesh
build-packages:
- libglib2.0-dev
- libdbus-1-dev
- libical-dev
- libreadline6-dev
- libudev-dev
- udev
- pkg-config
- libjson-c-dev
stage-packages:
- libical1a
filesets:
libical1a:
- usr/lib/*/libical*
snap:
- usr/lib/bluetooth/bluetoothd
- usr/lib/bluetooth/obexd
- usr/bin/bluetoothctl
- usr/bin/obexctl
- usr/bin/hciconfig
- usr/bin/hcidump
- usr/bin/hciattach
- usr/bin/hcitool
- usr/bin/sdptool
- usr/bin/btattach
- usr/bin/btmon
- usr/bin/btmgmt
- usr/bin/meshctl
- usr/share/doc/libical1a/copyright
- $libical1a
install: |
# Run all tests shiped by default
make check
common:
plugin: dump
organize:
copyright: usr/share/doc/bluez/copyright
prime:
- usr/share/doc/bluez/copyright