From 5f21d5bf736d0e6508b29283b281d4890b635a65 Mon Sep 17 00:00:00 2001 From: JCGoran Date: Sun, 23 Oct 2022 10:16:29 +0000 Subject: [PATCH] enhance(recoll): configure without --disable-python-module Added Python support to recoll package --- packages/recoll/build.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/recoll/build.sh b/packages/recoll/build.sh index 0488209d535f7e..dc8cff33db90dd 100644 --- a/packages/recoll/build.sh +++ b/packages/recoll/build.sh @@ -5,10 +5,13 @@ TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=1.33.1 TERMUX_PKG_SRCURL=http://www.lesbonscomptes.com/recoll/recoll-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=025dec0b9745e1ddacd86ee5478f9c52b2da2e5c307f831aaa5b2c7f9d7e8db9 -TERMUX_PKG_DEPENDS="aspell, libxapian, libxslt, zlib" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-userdoc --disable-python-module --disable-python-chm --disable-x11mon --disable-qtgui" - +TERMUX_PKG_DEPENDS="aspell, libxapian, libxslt, zlib, python" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --disable-userdoc --disable-python-chm --disable-x11mon --disable-qtgui" +TERMUX_PKG_REVISION=1 termux_step_pre_configure() { LDFLAGS+=" $($CC -print-libgcc-file-name)" + CXXFLAGS+=" -fPIC" + _PYTHON_VERSION=$(source $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION) + CPPFLAGS+=" -I${TERMUX_PREFIX}/include/python${_PYTHON_VERSION}/" }