30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
# Template file for 'recoll'
|
|
pkgname=recoll
|
|
version=1.26.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
build_helper=qmake
|
|
configure_args="--disable-python-module --disable-python-chm
|
|
--enable-recollq --disable-x11mon"
|
|
hostmakedepends="automake libtool gettext-devel qt5-qmake"
|
|
makedepends="xapian-core-devel zlib-devel libuuid-devel qt5-webkit-devel qt5-devel
|
|
aspell-devel libxslt-devel libxml2-devel"
|
|
short_desc="Full text search tool based on Xapian backend"
|
|
maintainer="Rui Abreu Ferreira <raf-ep@gmx.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.lesbonscomptes.com/recoll/"
|
|
distfiles="https://www.lesbonscomptes.com/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=438f251c24baf954020cf3298872c74982f4c4abffd10197d7700db83072e732
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-devel qt5-webkit-devel"
|
|
|
|
pre_configure() {
|
|
# xslt-config has the libxml2 hardcoded to /usr/include/libxml2
|
|
# use cross path instead.
|
|
vsed -e 's;-I/usr/include/libxml2;-I${includedir}/libxml2;' \
|
|
-e 's;libs="-lxslt -L/usr/lib -lxml2";libs="-lxslt -lxml2";g' \
|
|
-i ${XBPS_WRAPPERDIR}/xslt-config
|
|
}
|
|
fi
|