k2pdfopt: revert to 2.51 till build errors are fixed and bump working fdupes, imagemagick, and leptonica package updates

This commit is contained in:
Butta 2020-08-13 16:17:49 +05:30
parent 7685610163
commit fe43e5e618
4 changed files with 6 additions and 3 deletions

View File

@ -6,6 +6,7 @@ TERMUX_PKG_SRCURL=https://github.com/adrianlopezroche/fdupes/archive/v${TERMUX_P
TERMUX_PKG_SHA256=47536dad3f628b49420d60be55417238e537902a7461e19f199092ab8b24e8f1
TERMUX_PKG_DEPENDS="ncurses, pcre2"
#bump
termux_step_pre_configure() {
autoreconf --install
}

View File

@ -26,7 +26,7 @@ share/ImageMagick-7/francais.xml
termux_step_pre_configure() {
if [ $TERMUX_ARCH = "i686" ]; then
# Avoid "libMagickCore-7.Q16HDRI.so: error: undefined reference to '__atomic_load'"
#Avoid "libMagickCore-7.Q16HDRI.so: error: undefined reference to '__atomic_load'"
LDFLAGS+=" -latomic"
fi
}

View File

@ -1,8 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://www.willus.com/k2pdfopt/
TERMUX_PKG_DESCRIPTION="A tool that optimizes PDF files for viewing on mobile readers"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=2.52
TERMUX_PKG_VERSION=2.51
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=http://www.willus.com/k2pdfopt/src/k2pdfopt_v${TERMUX_PKG_VERSION}_src.zip
TERMUX_PKG_SHA256=4a11e7382f7bcd92453e28c0c269538b7a90cca342c1a9ef60c1260e983d1879
TERMUX_PKG_SHA256=3e6e4d7aac9c9bed4c7854888a6a91213be10121be76e17f83e080e829ac5fde
TERMUX_PKG_DEPENDS="leptonica, libjasper, libjpeg-turbo, libpng, mupdf, netpbm, zlib"
TERMUX_PKG_BUILD_IN_SRC=true

View File

@ -9,6 +9,7 @@ TERMUX_PKG_DEPENDS="giflib, libjpeg-turbo, libpng, libtiff, libwebp, openjpeg, z
TERMUX_PKG_BREAKS="leptonica-dev"
TERMUX_PKG_REPLACES="leptonica-dev"
#bump
termux_step_pre_configure() {
./autogen.sh
}