From 0b977787374349328a21af0deade30d534cf3978 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 18 May 2022 23:40:38 +0100 Subject: fixed gcc loader/linker errors --- repo/font/font-noto/font-noto.xibuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 repo/font/font-noto/font-noto.xibuild (limited to 'repo/font/font-noto/font-noto.xibuild') diff --git a/repo/font/font-noto/font-noto.xibuild b/repo/font/font-noto/font-noto.xibuild new file mode 100644 index 0000000..a571587 --- /dev/null +++ b/repo/font/font-noto/font-noto.xibuild @@ -0,0 +1,32 @@ +#!/bin/sh + +NAME="font-noto" +DESC="Noto font families for Latin, Cyrillic and Greek scripts" + +MAKEDEPS="make " +DEPS="fontconfig " + +PKG_VER=0_git20211101 +BRANCH=364fb14e20f82887280f103f638ff6450dbfc525 +SOURCE="https://github.com/googlefonts/noto-fonts/archive/$BRANCH/noto-fonts-$BRANCH.tar.gz" +ADDITIONAL="noto-meta.json noto-meta fontconfig.xml.erb 58-noto-math.xml " + +prepare () { + chmod +x ./noto-meta +} + +build () { + ./noto-meta gen-font-confs conf.d/ +} + +package () { + install -D -m644 hinted/ttf/*/*.ttf -t "$PKG_DEST/usr/share/fonts/noto" + install -D -m644 conf.d/*.xml -t "$PKG_DEST"/etc/fonts/conf.avail/ + + cd "$PKG_DEST" + + mkdir -p etc/fonts/conf.d + local f; for f in etc/fonts/conf.avail/*.xml; do + ln -s ../conf.avail/${f##*/} "$PKG_DEST"/etc/fonts/conf.d/${f##*/} + done +} -- cgit v1.2.1