-
Notifications
You must be signed in to change notification settings - Fork 289
/
Copy pathat-spi2-core.yaml
88 lines (75 loc) · 2.41 KB
/
at-spi2-core.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
package:
name: at-spi2-core
version: 2.52.0
epoch: 0
description: Protocol definitions and daemon for D-Bus at-spi
copyright:
- license: LGPL-2.0-or-later
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- dbus-dev
- glib-dev
- gobject-introspection-dev
- libxml2-dev
- libxtst-dev
- meson
- posix-libc-utils
# creates a new var that contains only the major and minor version to be used in the fetch URL
# e.g. 2.46.0 will create a new var mangled-package-version=2.46
var-transforms:
- from: ${{package.version}}
match: (\d+\.\d+)\.\d+
replace: $1
to: mangled-package-version
pipeline:
- uses: fetch
with:
expected-sha256: 0ac3fc8320c8d01fa147c272ba7fa03806389c6b03d3c406d0823e30e35ff5ab
uri: https://download.gnome.org/sources/at-spi2-core/${{vars.mangled-package-version}}/at-spi2-core-${{package.version}}.tar.xz
- uses: meson/configure
with:
opts: |
-Db_lto=true \
-Dx11=enabled \
-Dintrospection=enabled \
-Ddocs=false \
-Ddbus_daemon=/usr/bin/dbus-daemon
- uses: meson/compile
- uses: meson/install
- runs: rm -rf ${{targets.destdir}}/usr/lib/systemd
- uses: strip
subpackages:
- name: at-spi2-core-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- at-spi2-core
description: at-spi2-core dev
- name: at-spi2-core-lang
pipeline:
- uses: split/locales
description: at-spi2-core locales
- name: libatk-1.0
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib/girepository-1.0
mv ${{targets.destdir}}/usr/lib/libatk-1.0* ${{targets.subpkgdir}}/usr/lib/
mv ${{targets.destdir}}/usr/lib/girepository-1.0/Atk-1.0.typelib ${{targets.subpkgdir}}/usr/lib/girepository-1.0/
description: ATK library accessibility interfaces (1.0)
- name: libatk-bridge-2.0
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/gnome-settings-daemon-3.0 ${{targets.subpkgdir}}/usr/lib/
mv ${{targets.destdir}}/usr/lib/gtk-2.0 ${{targets.subpkgdir}}/usr/lib/
mv ${{targets.destdir}}/usr/lib/libatk-bridge-2.0* ${{targets.subpkgdir}}/usr/lib/
description: GTK+2.0 module that bridges ATK to D-Bus at-spi
update:
enabled: true
release-monitor:
identifier: 7841