From d2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 15 Jun 2022 20:02:02 +0100 Subject: added deps for qemu --- repo/font-liberation/30-liberation-mono.conf | 19 +++ repo/font-liberation/30-liberation-sans.conf | 19 +++ repo/font-liberation/30-liberation-serif.conf | 19 +++ repo/font-liberation/45-liberation.conf | 26 ++++ repo/font-liberation/90-liberation.conf | 191 ++++++++++++++++++++++++++ repo/font-liberation/font-liberation.xibuild | 30 ++++ 6 files changed, 304 insertions(+) create mode 100644 repo/font-liberation/30-liberation-mono.conf create mode 100644 repo/font-liberation/30-liberation-sans.conf create mode 100644 repo/font-liberation/30-liberation-serif.conf create mode 100644 repo/font-liberation/45-liberation.conf create mode 100644 repo/font-liberation/90-liberation.conf create mode 100644 repo/font-liberation/font-liberation.xibuild (limited to 'repo/font-liberation') diff --git a/repo/font-liberation/30-liberation-mono.conf b/repo/font-liberation/30-liberation-mono.conf new file mode 100644 index 0000000..7cab434 --- /dev/null +++ b/repo/font-liberation/30-liberation-mono.conf @@ -0,0 +1,19 @@ + + + + + + + Courier New + + Liberation Mono + + + + Liberation Mono + + Courier New + + + + diff --git a/repo/font-liberation/30-liberation-sans.conf b/repo/font-liberation/30-liberation-sans.conf new file mode 100644 index 0000000..648974a --- /dev/null +++ b/repo/font-liberation/30-liberation-sans.conf @@ -0,0 +1,19 @@ + + + + + + + Arial + + Liberation Sans + + + + Liberation Sans + + Arial + + + + diff --git a/repo/font-liberation/30-liberation-serif.conf b/repo/font-liberation/30-liberation-serif.conf new file mode 100644 index 0000000..dac6a60 --- /dev/null +++ b/repo/font-liberation/30-liberation-serif.conf @@ -0,0 +1,19 @@ + + + + + + + Times New Roman + + Liberation Serif + + + + Liberation Serif + + Times New Roman + + + + diff --git a/repo/font-liberation/45-liberation.conf b/repo/font-liberation/45-liberation.conf new file mode 100644 index 0000000..4c41678 --- /dev/null +++ b/repo/font-liberation/45-liberation.conf @@ -0,0 +1,26 @@ + + + + + + Liberation Mono + + monospace + + + + + Liberation Sans + + sans-serif + + + + + Liberation Serif + + serif + + + + diff --git a/repo/font-liberation/90-liberation.conf b/repo/font-liberation/90-liberation.conf new file mode 100644 index 0000000..6c7736d --- /dev/null +++ b/repo/font-liberation/90-liberation.conf @@ -0,0 +1,191 @@ + + + + + + + + false + + + Liberation Mono + + + true + + + true + + + hintslight + + + false + + + + + + false + + + Liberation Mono + + + 10.5 + + + 13.5 + + + false + + + true + + + true + + + hintfull + + + + + + false + + + Liberation Mono + + + 15.5 + + + 17.5 + + + false + + + true + + + true + + + hintfull + + + + + + false + + + Liberation Mono + + + 19.5 + + + 22.5 + + + false + + + true + + + true + + + hintfull + + + + + + Liberation Mono + + + 12.0 + + + lcdlegacy + + + + + + + false + + + Liberation Sans + + + true + + + true + + + hintslight + + + false + + + + + + false + + + Liberation Sans + + + 12.5 + + + false + + + true + + + true + + + hintfull + + + lcdlegacy + + + + + + + false + + + Liberation Serif + + + true + + + true + + + hintslight + + + false + + + + diff --git a/repo/font-liberation/font-liberation.xibuild b/repo/font-liberation/font-liberation.xibuild new file mode 100644 index 0000000..b9921ec --- /dev/null +++ b/repo/font-liberation/font-liberation.xibuild @@ -0,0 +1,30 @@ +#!/bin/sh + +NAME="font-liberation" +DESC="Fonts to replace commonly used Microsoft Windows fonts" + +MAKEDEPS="" + +PKG_VER=2.1.5 +SOURCE="https://github.com/liberationfonts/liberation-fonts/files/7261482/liberation-fonts-ttf-$PKG_VER.tar.gz" + +ADDITIONAL=" +30-liberation-mono.conf +30-liberation-sans.conf +30-liberation-serif.conf +45-liberation.conf +90-liberation.conf +" + +package() { + install -D -m644 ./*.ttf -t "$PKG_DEST"/usr/share/fonts/liberation/ + + mkdir -p "$PKG_DEST"/etc/fonts/conf.d + + local i; for i in "$BUILD_ROOT"/*.conf; do + install -D -m644 "$i" -t "$PKG_DEST"/etc/fonts/conf.avail/ + ln -s ../conf.avail/${i##*/} "$PKG_DEST"/etc/fonts/conf.d/${i##*/} + done +} + + -- cgit v1.2.1