-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathfontconfig.yaml
126 lines (112 loc) · 2.79 KB
/
fontconfig.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
package:
name: fontconfig
version: "2.16.1"
epoch: 0
description: Library for configuring and customizing font access
copyright:
- license: MIT
scriptlets:
trigger:
paths:
- /usr/share/fonts/*
script: |
#!/bin/sh
fc-cache --system-only > /dev/null
environment:
contents:
packages:
- autoconf
- automake
- brotli-dev
- build-base
- busybox
- bzip2-dev
# - docbook2x # TODO disabling docs so we can avoid docbook2x for now
- ca-certificates-bundle
- expat-dev
- freetype-dev
- gettext-dev
- gperf
- libpng-dev
- libtool
- python3-dev
- zlib-dev
pipeline:
- uses: git-checkout
with:
repository: https://gitlab.freedesktop.org/fontconfig/fontconfig.git
tag: ${{package.version}}
expected-commit: fdfc3445d1cc9c1c7e587fb2a1287871de16faf9
- runs: |
rm -f src/fcobjshash.h
./autogen.sh
- uses: autoconf/configure
with:
opts: |
--enable-static \
--enable-docs \
--disable-nls \
--disable-docs
# --disable-docs to avoid building docbook* packages for now
- runs: rm -f src/fcobjhash.h
- uses: autoconf/make
- uses: autoconf/make-install
- uses: strip
subpackages:
- name: fontconfig-static
description: fontconfig static library
pipeline:
- uses: split/static
- name: fontconfig-config
description: fontconfig configuration data
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr
mv "${{targets.destdir}}"/usr/share "${{targets.subpkgdir}}"/usr/
mv "${{targets.destdir}}"/etc "${{targets.subpkgdir}}"/etc
- name: libfontconfig1
description: fontconfig shared library
dependencies:
runtime:
- fontconfig-config
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/libfontconfig.so.* "${{targets.subpkgdir}}"/usr/lib
test:
pipeline:
- uses: test/tw/ldd-check
- name: fontconfig-dev
pipeline:
- uses: split/dev
description: fontconfig dev
test:
pipeline:
- uses: test/pkgconf
- uses: test/tw/ldd-check
update:
enabled: true
release-monitor:
identifier: 827
test:
pipeline:
# AUTOGENERATED
- runs: |
fc-cache --version
fc-cat --version
fc-conflist --version
fc-list --version
fc-match --version
fc-pattern --version
fc-query --version
fc-scan --version
fc-validate --version
fc-cache --help
fc-cat --help
fc-conflist --help
fc-list --help
fc-match --help
fc-pattern --help
fc-query --help
fc-scan --help
fc-validate --help