void-packages/srcpkgs/recoll/template
newbluemoon 39d22f4694 recoll: update to 1.26.1
and use qmake build-helper
2019-11-04 17:44:02 +01:00

27 lines
1,010 B
Bash

# Template file for 'recoll'
pkgname=recoll
version=1.26.1
revision=1
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"
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() {
# make the xslt-config wrapper call the xml2-config wrapper
sed -i -e "s;/usr/bin/xml2-config;${XBPS_WRAPPERDIR}/xml2-config;" \
${XBPS_WRAPPERDIR}/xslt-config
}
fi