forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraphite2.yaml
77 lines (67 loc) · 1.81 KB
/
graphite2.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
package:
name: graphite2
version: 1.3.14
epoch: 3
description: reimplementation of the SIL Graphite text processing engine
copyright:
- license: LGPL-2.1-or-later OR MPL-1.1
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- cmake
- freetype-dev
- openssf-compiler-options
- samurai
pipeline:
- uses: git-checkout
with:
expected-commit: 92f59dcc52f73ce747f1cdc831579ed2546884aa
repository: https://github.com/silnrsi/graphite
tag: ${{package.version}}
- runs: |
# static and shared version needs to be build in separated dirs
# See https://github.com/silnrsi/graphite/pull/12#issuecomment-311756732
# shared
cmake -B build-shared -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DGRAPHITE2_COMPARE_RENDERER=OFF \
-DGRAPHITE2_NFILEFACE=ON
cmake --build build-shared
# static
cmake -B build-static -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DGRAPHITE2_COMPARE_RENDERER=OFF \
-DGRAPHITE2_NFILEFACE=ON \
-DBUILD_SHARED_LIBS=OFF
cmake --build build-static
- runs: |
DESTDIR=${{targets.destdir}} cmake --install build-static
DESTDIR=${{targets.destdir}} cmake --install build-shared
- uses: strip
subpackages:
- name: graphite2-static
pipeline:
- uses: split/static
description: graphite2 static
- name: graphite2-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- graphite2
- freetype-dev
description: graphite2 dev
test:
pipeline:
- uses: test/pkgconf
update:
enabled: true
github:
identifier: silnrsi/graphite