-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathgobject-introspection.yaml
87 lines (77 loc) · 2.09 KB
/
gobject-introspection.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
package:
name: gobject-introspection
version: 1.78.1
epoch: 0
description: Introspection system for GObject-based libraries
copyright:
- license: LGPL-2.0-or-later AND GPL-2.0-or-later AND MIT
# python 3.12 dropped support for distutils, and some things will fail to
# build it. This is a drop in replacement to make things work.
dependencies:
runtime:
- py3-setuptools
# creates a new var that contains only the major and minor version to be used in the fetch URL
# e.g. 1.74.0 will create a new var mangled-package-version=1.74
var-transforms:
- from: ${{package.version}}
match: (\d+\.\d+)\.\d+
replace: $1
to: mangled-package-version
environment:
contents:
packages:
- autoconf
- automake
- bash
- bison
- build-base
- busybox
- ca-certificates-bundle
- cairo-dev
- cairo-gobject
- expat-dev
- flex
- git
- glib-dev
- libffi-dev
- libtool
- meson
- posix-libc-utils
- py3-packaging
- py3-setuptools
- python3
- python3-dev
pipeline:
- uses: fetch
with:
expected-sha256: bd7babd99af7258e76819e45ba4a6bc399608fe762d83fde3cac033c50841bb4
uri: https://download.gnome.org/sources/gobject-introspection/${{vars.mangled-package-version}}/gobject-introspection-${{package.version}}.tar.xz
- uses: meson/configure
with:
opts: -Db_lto=true
- uses: meson/compile
- uses: meson/install
- uses: strip
subpackages:
- name: gobject-introspection-doc
pipeline:
- uses: split/manpages
description: gobject-introspection manpages
- name: gobject-introspection-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- cairo-dev
- gobject-introspection
- libtool
- posix-libc-utils
- py3-setuptools
- python3
description: gobject-introspection dev
update:
enabled: true
ignore-regex-patterns:
- (\d+)\.(\d*[13579])\.(\d+)$ # ignore "odd" numbered minor versions as these are development releases
release-monitor:
identifier: 1223