recoll: rebuild against new xapian, fix build with qt-511

resolves #6069
This commit is contained in:
maxice8 2018-12-21 13:26:35 -02:00
parent 8e63f82358
commit 0e6544b41e
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,7 +1,7 @@
# Template file for 'recoll'
pkgname=recoll
version=1.24.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-python-module --enable-recollq --disable-x11mon"
hostmakedepends="automake libtool gettext-devel qt5-qmake"
@ -10,13 +10,16 @@ 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"
distfiles="https://www.lesbonscomptes.com/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=1d6433cd79fc25fc2941620eba8be934629189fd078c8b8a4028a301bc7f75eb
if [ -n "$CROSS_BUILD" ]; then
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
}