forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dbus.yaml
101 lines (89 loc) · 2.37 KB
/
dbus.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
package:
name: dbus
version: 1.15.2
epoch: 4
description: Freedesktop.org message bus system
copyright:
- license: AFL-2.1 OR GPL-2.0-or-later
environment:
contents:
packages:
- autoconf
- automake
- bash
# - glib-dev # TODO needed by libdbus-glib
# - util-linux-dev # TODO adding unit-linux at a later date
- build-base
- busybox
- ca-certificates-bundle
- expat-dev
- libsm-dev
- libx11-dev
- meson
- openssf-compiler-options
- xmlto
pipeline:
- uses: fetch
with:
expected-sha256: 7e640803084af59f5e477b7ded11fd888b5380910a895c51ca3aedd63c0626ca
uri: https://dbus.freedesktop.org/releases/dbus/dbus-${{package.version}}.tar.xz
- uses: autoconf/configure
with:
opts: |
--with-system-pid-file=/run/dbus/dbus.pid \
--enable-xml-docs=false \
--enable-doxygen-docs=false
- uses: autoconf/make
- uses: autoconf/make-install
- uses: strip
subpackages:
- name: dbus-doc
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/share
mv ${{targets.destdir}}/usr/share/doc ${{targets.subpkgdir}}/usr/share
description: dbus manpages
- name: dbus-libs
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/lib*.so.* ${{targets.subpkgdir}}/usr/lib
description: D-BUS access libraries
- name: dbus-x11
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
mv ${{targets.destdir}}/usr/bin/dbus-launch ${{targets.subpkgdir}}/usr/bin/dbus-launch
description: X11 add-ons for D-BUS
test:
pipeline:
- runs: |
dbus-launch --version
dbus-launch --help
- name: dbus-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- dbus
# - util-linux-dev todo add when util-linux is packaged
description: dbus dev
test:
pipeline:
- uses: test/pkgconf
update:
enabled: true
release-monitor:
identifier: 5356
test:
pipeline:
# AUTOGENERATED
- runs: |
dbus-cleanup-sockets --version
dbus-daemon --version
dbus-monitor --help
dbus-run-session --version
dbus-uuidgen --version
dbus-cleanup-sockets --help
dbus-run-session --help
dbus-uuidgen --help