9c9e7f65b8
Specifying Termux org members is more correct as we don't have repo-specific maintainers for termux-packages. DEB control field specification doesn't allow to specify multiple people as package maintainers. Value "Termux members @termux" will be used as default for that field which can be overridden on per-package basis if needed. %ci:no-build
19 lines
768 B
Bash
19 lines
768 B
Bash
TERMUX_PKG_HOMEPAGE=https://mupdf.com/
|
|
TERMUX_PKG_DESCRIPTION="Lightweight PDF and XPS viewer (library)"
|
|
TERMUX_PKG_LICENSE="AGPL-V3"
|
|
TERMUX_PKG_VERSION=1.16.1
|
|
TERMUX_PKG_REVISION=2
|
|
TERMUX_PKG_SRCURL=https://mupdf.com/downloads/archive/mupdf-${TERMUX_PKG_VERSION}-source.tar.xz
|
|
TERMUX_PKG_SHA256=6fe78184bd5208f9595e4d7f92bc8df50af30fbe8e2c1298b581c84945f2f5da
|
|
TERMUX_PKG_DEPENDS="freetype, harfbuzz, jbig2dec, libjpeg-turbo, openjpeg, zlib"
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="prefix=$TERMUX_PREFIX build=release libs"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_NO_DEVELSPLIT=true
|
|
TERMUX_PKG_KEEP_STATIC_LIBRARIES=true
|
|
|
|
termux_step_pre_configure() {
|
|
rm -rf thirdparty/{freeglut,freetype,harfbuzz,jbig2dec,libjpeg,openjpeg,zlib}
|
|
export USE_SYSTEM_LIBS=yes
|
|
LDFLAGS+=" -llog"
|
|
}
|