void-packages/srcpkgs/recoll/template

27 lines
891 B
Bash

# Template file for 'recoll'
pkgname=recoll
version=1.24.3
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=f1552961dd0cfd1a12d95fab1bf4990846df2085ddeaa5e832442bbce35acad2
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
}