diff --git a/font-stix-otf.yaml b/font-stix-otf.yaml new file mode 100644 index 00000000000..510ea483532 --- /dev/null +++ b/font-stix-otf.yaml @@ -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