-
Notifications
You must be signed in to change notification settings - Fork 315
/
Copy pathbluez.yaml
165 lines (148 loc) · 4.09 KB
/
bluez.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# Generated from https://git.alpinelinux.org/aports/plain/main/bluez/APKBUILD
package:
name: bluez
version: "5.80"
epoch: 0
description: Tools for the Bluetooth protocol stack
copyright:
- license: GPL-2.0-or-later AND BSD-2-Clause AND MIT
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- dbus
- dbus-dev
- ell-dev
- glib-dev
- icu-dev
- json-c-dev
- libical-dev
- libtool
- linux-headers
- py3-docutils
- py3-pygments
- python3
- readline-dev
- systemd-dev
pipeline:
- uses: fetch
with:
expected-sha256: a4d0bca3299691f06d5bd9773b854638204a51a5026c42b0ad7f1c6cf16b459a
uri: https://www.kernel.org/pub/linux/bluetooth/bluez-${{package.version}}.tar.xz
- uses: autoconf/configure
with:
opts: |
--disable-systemd \
--enable-library \
--enable-deprecated \
--enable-hid2hci \
--enable-mesh \
--enable-sixaxis \
--with-dbusconfdir=/usr/share
- uses: autoconf/make
- runs: |
make DESTDIR="${{targets.destdir}}" install install-pluginLTLIBRARIES
install -Dm755 test/simple-agent "${{targets.destdir}}"/usr/bin/bluez-simple-agent
install -Dm755 tools/btmgmt -t "${{targets.destdir}}"/usr/bin/
install -Dm755 attrib/gatttool -t "${{targets.destdir}}"/usr/bin/
install -Dm644 obexd/src/org.bluez.obex.service \
"${{targets.destdir}}"/usr/share/dbus-1/services/org.bluez.obex.service
# Workaround permission issue. Fixed upstream, but pulling in patch requires
# running autoreconf which seems to generate issues.
# https://github.com/bluez/bluez/commit/b1fd409960001a77cda2a09ecc00147ebd9c3667
# Fixes: https://github.com/wolfi-dev/os/issues/31026
chmod 0755 "${{targets.destdir}}"/etc/bluetooth
- uses: strip
subpackages:
- name: bluez-dbg
pipeline:
- uses: split/debug
- name: bluez-doc
pipeline:
- uses: split/manpages
description: bluez manpages
test:
pipeline:
- uses: test/docs
- name: bluez-btmgmt
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/bin/btmgmt ${{targets.subpkgdir}}/usr/bin
test:
pipeline:
- runs: |
btmgmt --version
- name: bluez-btmon
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/bin/btmon ${{targets.subpkgdir}}/usr/bin
test:
pipeline:
- runs: |
btmon --version
btmon --help
- name: bluez-cups
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/cups ${{targets.subpkgdir}}/usr/lib
- name: bluez-meshctl
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/bin/meshctl ${{targets.subpkgdir}}/usr/bin
test:
pipeline:
- runs: |
meshctl --version
- name: bluez-dev
pipeline:
- uses: split/dev
description: bluez dev
test:
pipeline:
- uses: test/pkgconf
- uses: test/tw/ldd-check
with:
packages: bluez-dev
update:
enabled: true
release-monitor:
identifier: 10029
test:
pipeline:
# AUTOGENERATED
- runs: |
bluemoon --version
bluetoothctl --version
btattach --version
ciptool --version
gatttool --help
hciconfig --version
hcidump --version
hcitool --version
hex2hcd --version
mesh-cfgclient --version
mesh-cfgtest --version
mpris-proxy --version
rfcomm --version
sdptool --help
bluemoon --help
btattach --help
ciptool --help
hciconfig --help
hcidump --help
hcitool --help
hex2hcd --help
mesh-cfgtest --help
mpris-proxy --help
rfcomm --help
- uses: test/tw/ldd-check
with:
packages: bluez