diff --git a/font-opensymbol.yaml b/font-opensymbol.yaml new file mode 100644 index 00000000000..cca214f9099 --- /dev/null +++ b/font-opensymbol.yaml @@ -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 diff --git a/font-takao.yaml b/font-takao.yaml new file mode 100644 index 00000000000..5838d4d31a5 --- /dev/null +++ b/font-takao.yaml @@ -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