summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaetan Bisson2022-08-14 19:20:22 -1000
committerGaetan Bisson2022-08-14 19:20:22 -1000
commit3da547869fe45a9d4753194ec2c4d546689f70aa (patch)
tree621b271e4ff4af360fd1478704c5cbee6a32f3cf
parentbd29a531fd3c3712965ed6a9f86da87982823e22 (diff)
downloadaur-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--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ad47156e147..1c52dab41cfb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 34273d11811b..b03328b3786a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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