Skip to content
Merged
45 changes: 45 additions & 0 deletions font-stix-otf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# cffsubr has issues when building on aarch64
package:
name: font-stix-otf
version: 2.14
epoch: 0
description: stix-otf fonts
copyright:
- license: OFL-1.1
target-architecture:
- x86_64

environment:
contents:
packages:
- build-base
- busybox
- cmake-3
- libxml2-dev
- py3-pip
- python-3.12
- python-3.12-dev

pipeline:
- uses: git-checkout
with:
repository: https://github.com/stipub/stixfonts
tag: v${{package.version}}
expected-commit: de537a95240e0105546bed58e15b4a61be28cd89

- runs: |
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python tools/tirobuild.py STIXbuild.yml
mkdir -p "${{targets.contextdir}}/usr/share/fonts/stix-fonts/"
mv ./output/STIXbuild/STIXTwoMath/OTF/* "${{targets.contextdir}}/usr/share/fonts/stix-fonts/"
mv ./output/STIXbuild/STIXTwoText/OTF/* "${{targets.contextdir}}/usr/share/fonts/stix-fonts/"

update:
enabled: false
exclude-reason: The build process is broken in 2.14 and we will need to keep an eye out for when there is a new release.

test:
pipeline:
- uses: test/fonts
Loading