X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/27ce01e83bf0264b9aed9595226ef84f07ca0f52..e912ee0f1ba2a77b53be6d50fe0619146c982fd4:/packages/leptonica/build.sh diff --git a/packages/leptonica/build.sh b/packages/leptonica/build.sh index 54195d4a..94f9e9b2 100644 --- a/packages/leptonica/build.sh +++ b/packages/leptonica/build.sh @@ -1,7 +1,11 @@ TERMUX_PKG_HOMEPAGE=http://www.leptonica.com/ -TERMUX_PKG_DESCRIPTION="Leptonica is a pedagogically-oriented open source site containing software that is broadly useful for image processing and image analysis applications" -TERMUX_PKG_VERSION=1.73 -TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_DESCRIPTION="Library for image processing and image analysis" +TERMUX_PKG_VERSION=1.75.3 +TERMUX_PKG_SHA256=c1b99d2509fe9c61c8818935a4b9cddd91ebaaaab222a47f62887888f15f53c4 +TERMUX_PKG_SRCURL=https://github.com/DanBloomberg/leptonica/archive/${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_DEPENDS="libjpeg-turbo, libpng, libtiff" -TERMUX_PKG_SRCURL=http://www.leptonica.com/source/leptonica-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-giflib --without-libwebp CPPFLAGS=-I/data/data/com.termux/files/usr/include" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-giflib --without-libwebp --without-libopenjpeg" + +termux_step_pre_configure() { + ./autobuild +}