-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathcairo.yaml
94 lines (82 loc) · 2.11 KB
/
cairo.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
package:
name: cairo
version: 1.18.0
epoch: 1
description: A vector graphics library
copyright:
- license: LGPL-2.0-or-later OR MPL-1.1
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- expat-dev
- fontconfig-dev
- freetype-dev
- glib-dev
- libpng-dev
- libxext-dev
- libxrender-dev
- meson
- pixman-dev
- xcb-util
- xcb-util-dev
- zlib-dev
pipeline:
- uses: fetch
with:
expected-sha256: abf8fba4d510086a492783c3e0828e90b32734738fd80906595617d229d02bab
uri: https://gitlab.freedesktop.org/cairo/cairo/-/archive/${{package.version}}/cairo-${{package.version}}.tar.bz2
- runs: |
meson . output \
-Db_lto=true \
-Dgtk_doc=false \
-Ddefault_library=both \
-Dtests=disabled \
--prefix=/usr
- uses: meson/compile
- uses: meson/install
- uses: strip
subpackages:
- name: cairo-static
pipeline:
- uses: split/static
description: cairo static
- name: cairo-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- cairo
- cairo-tools
- fontconfig-dev
- freetype-dev
- libxext-dev
- libxrender-dev
- pixman-dev
- xcb-util-dev
description: cairo dev
- name: cairo-gobject
# dependencies:
# provides:
# - cairo-gobject
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/libcairo-gobject.so.* ${{targets.subpkgdir}}/usr/lib/
description: cairo (gobject bindings)
- name: cairo-tools
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/bin
mkdir -p ${{targets.subpkgdir}}/usr/lib/cairo
mv ${{targets.destdir}}/usr/bin/* ${{targets.subpkgdir}}/usr/bin/
mv ${{targets.destdir}}/usr/lib/cairo/libcairo-trace.* ${{targets.subpkgdir}}/usr/lib/cairo/
description: cairo (development tools)
update:
enabled: true
release-monitor:
identifier: 247