mupdf: Bump to 1.20.3

This commit is contained in:
Tee KOBAYASHI 2022-11-07 17:36:59 +09:00 committed by xtkoba
parent 8004973b5e
commit 13cc4ccf24
3 changed files with 19 additions and 16 deletions

View File

@ -34,21 +34,24 @@
# --- Update version string header ---
@@ -396,7 +398,7 @@
tools: $(TOOL_APPS)
apps: $(TOOL_APPS) $(VIEW_APPS)
-install: libs apps
+install: libs tools
install -d $(DESTDIR)$(incdir)/mupdf
install -d $(DESTDIR)$(incdir)/mupdf/fitz
install -d $(DESTDIR)$(incdir)/mupdf/pdf
@@ -410,7 +412,7 @@
@@ -413,9 +415,9 @@
install -m 644 $(LIBS_TO_INSTALL_IN_LIB) $(DESTDIR)$(libdir)
endif
-install-apps: apps
+install-tools: tools
install -d $(DESTDIR)$(bindir)
- install -m 755 $(LIBS_TO_INSTALL_IN_BIN) $(TOOL_APPS) $(VIEW_APPS) $(DESTDIR)$(bindir)
+ install -m 755 $(LIBS_TO_INSTALL_IN_BIN) $(TOOL_APPS) $(DESTDIR)$(bindir)
install-docs:
install -d $(DESTDIR)$(mandir)/man1
install -m 644 docs/man/*.1 $(DESTDIR)$(mandir)/man1
@@ -427,7 +429,7 @@
install -m 644 docs/*.html docs/*.css docs/*.png $(DESTDIR)$(docdir)
install -m 644 docs/examples/* $(DESTDIR)$(docdir)/examples
-install: install-libs install-apps install-docs
+install: install-libs install-tools install-docs
tarball:
bash scripts/archive.sh

View File

@ -2,11 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://mupdf.com/
TERMUX_PKG_DESCRIPTION="Lightweight PDF and XPS viewer (library)"
TERMUX_PKG_LICENSE="AGPL-V3"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.19.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://mupdf.com/downloads/archive/mupdf-${TERMUX_PKG_VERSION}-source.tar.xz
TERMUX_PKG_SHA256=38f39943e408d60a3e7d6c2fca0d705163540ca24d65682d4426dc6f1fee28c5
TERMUX_PKG_DEPENDS="freetype, gumbo-parser, harfbuzz, jbig2dec, libjpeg-turbo, openjpeg, tesseract, zlib"
TERMUX_PKG_VERSION=1.20.3
TERMUX_PKG_SRCURL=https://mupdf.com/downloads/archive/mupdf-${TERMUX_PKG_VERSION}-source.tar.lz
TERMUX_PKG_SHA256=6f73f63ef8aa81991dfd023d4426a548827d1d74e0bfcf2a013acad63b651868
TERMUX_PKG_DEPENDS="freetype, gumbo-parser, harfbuzz, jbig2dec, libc++, libjpeg-turbo, openjpeg, tesseract, zlib"
TERMUX_PKG_EXTRA_MAKE_ARGS="prefix=$TERMUX_PREFIX build=release libs shared=yes tesseract=yes"
TERMUX_PKG_BUILD_IN_SRC=true

View File

@ -3,3 +3,4 @@ TERMUX_SUBPKG_INCLUDE="
bin/
share/man/man1/
"
TERMUX_SUBPKG_DEPENDS="openssl"