diff options
author | Gaetan Bisson | 2022-08-14 19:20:22 -1000 |
---|---|---|
committer | Gaetan Bisson | 2022-08-14 19:20:22 -1000 |
commit | 3da547869fe45a9d4753194ec2c4d546689f70aa (patch) | |
tree | 621b271e4ff4af360fd1478704c5cbee6a32f3cf | |
parent | bd29a531fd3c3712965ed6a9f86da87982823e22 (diff) | |
download | aur-3da547869fe45a9d4753194ec2c4d546689f70aa.tar.gz |
further reduce embedded fonts
Reduce the embedded set of fonts to just:
- the Base14 fonts (required by PDF spec)
- Charis SIL (for good-looking epub docs)
For details, see: source/fitz/noto.c
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = mupdf-git pkgdesc = Lightweight PDF, XPS, and E-book viewer pkgver = 20220811.2225118e7 - pkgrel = 1 + pkgrel = 2 url = https://mupdf.com/ arch = x86_64 arch = armv7h @@ -5,7 +5,7 @@ pkgname=mupdf-git _pkgname=mupdf pkgver=20220811.2225118e7 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight PDF, XPS, and E-book viewer' arch=('x86_64' 'armv7h' 'aarch64') url='https://mupdf.com/' @@ -44,8 +44,8 @@ prepare() { build() { cd "${srcdir}/${_pkgname}" export USE_SYSTEM_LIBS=yes - export CFLAGS+=' -D NOTO_SMALL -D NO_CJK' - sed 's/$(HAVE_X11)/no/g' -i Makefile + export CFLAGS+=' -D TOFU_CJK -D TOFU_NOTO' # only embed Base14 fonts and Charis SIL + sed 's/$(HAVE_X11)/no/g' -i Makefile # prevent building useless binaries sed 's/$(USE_SYSTEM_MUJS)/yes/g' -i Makethird sed 's/$(USE_SYSTEM_GLUT)/no/g' -i Makethird Makefile make release |