void-packages/srcpkgs/recoll/template

27 lines
891 B
Bash

# Template file for 'recoll'
pkgname=recoll
version=1.24.5
revision=1
build_style=gnu-configure
configure_args="--disable-python-module --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"
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=9b25f4494023fcea729ff96dd2bb525e78df14caf4ebab3a93377a0b1f50a382
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel qt5-webkit-devel"
fi
pre_configure() {
autoreconf -fi
# Fix build with qt-511
sed -i '1,1i#include <QAbstractItemView>' qtgui/ssearch_w.cpp
}