Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions font-opensymbol.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
package:
name: font-opensymbol
version: 102.12
epoch: 0
description: LibreOffice-compatible OpenSymbol font for technical and symbolic glyphs
copyright:
- license: MPL-2.0

environment:
contents:
packages:
- binutils
- busybox
- curl

pipeline:
- uses: fetch
with:
expected-sha256: ef4a053515961170f0bbc48b30fc7a9a34c99b259a91a05e95edf8d77504bcfa
uri: http://ftp.de.debian.org/debian/pool/main/libr/libreoffice/fonts-opensymbol_${{package.version}}+LibO7.4.7-1+deb12u8_all.deb
extract: false

- runs: |
ar x fonts-opensymbol_${{package.version}}+LibO7.4.7-1+deb12u8_all.deb
tar -xf data.tar.xz

mkdir -p "${{targets.contextdir}}/etc/fonts/conf.d"
mv ./etc/fonts/conf.d "${{targets.contextdir}}/etc/fonts/conf.d"

mkdir -p "${{targets.contextdir}}/usr/share/bug"
mv ./usr/share/bug/ "${{targets.contextdir}}/usr/share/bug"

mkdir -p "${{targets.contextdir}}/usr/share/fontconfig"
mv ./usr/share/fontconfig "${{targets.contextdir}}/usr/share/fontconfig"

mkdir -p "${{targets.contextdir}}/usr/share/fonts/truetype/libreoffice"
mv ./usr/share/fonts/truetype/libreoffice/*.ttf "${{targets.contextdir}}/usr/share/fonts/truetype/libreoffice/"

update:
enabled: false

test:
pipeline:
- uses: test/fonts
34 changes: 34 additions & 0 deletions font-takao.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package:
name: font-takao
version: 0.1.0
epoch: 0
description: takao fonts
copyright:
- license: MIT

environment:
contents:
packages:
- busybox
- py3-pip
- python3

# seems to miss the P variants, as it doesnt build them by repo
pipeline:
- uses: git-checkout
with:
repository: https://github.com/hidekatsu-izuno/takaoka-fonts
tag: v${{package.version}}
expected-commit: 806b09b684deaeb6dba667670f965e7d27391a52
- runs: |
pip install -r requirements.txt
python build.py
mkdir -p "${{targets.contextdir}}/usr/share/fonts/truetype/takaoka"
cp ./build/dest/*.ttf "${{targets.contextdir}}/usr/share/fonts/truetype/takaoka/"

update:
enabled: false

test:
pipeline:
- uses: test/fonts
Loading