1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 # Contributor: Vladimir Chizhov <jagoterr@gmail.com>
5 # Contributor: Robert Emil Berge <filoktetes@linuxophic.org>
10 pkgdesc="Full text search tool based on Xapian backend"
12 url="https://www.lesbonscomptes.com/recoll/"
14 depends=('xapian-core>=1.0.15-1' 'qt5-base' 'openssl' 'hicolor-icon-theme' 'qt5-webengine'
16 makedepends=('python' 'python-setuptools' 'qt5-tools')
17 optdepends=('libxslt: for XML based formats (fb2,etc)'
18 'unzip: for the OpenOffice.org documents'
20 'pstotext: for postscipt'
21 'antiword: for msword'
22 'catdoc: for ms excel and powerpoint'
24 # 'untex: for dvi support with dvips'
26 # 'id3lib: for mp3 tags support with id3info'
27 'python-mutagen: Audio metadata'
28 'perl-image-exiftool: EXIF data from image files'
29 'python-lxml: indexing spreadsheets'
30 'python-pychm: CHM filter'
31 'aspell-en: English stemming support')
32 source=("https://www.lesbonscomptes.com/$pkgname/$pkgname-${pkgver/_/}.tar.gz")
33 sha512sums=('f151a8f3575af41277fc9b50bb9a5e2ea1348e035b3dead36b47d1d6918deb755a4d59913d174db48273afdd95f4a063aa20219f1116a6d83c82fb063dbf16b7')
36 cd "$srcdir/$pkgname-${pkgver/_/}"
37 sed -i '1,1i#include <QAbstractItemView>' qtgui/ssearch_w.cpp
41 cd "$srcdir/$pkgname-${pkgver/_/}"
42 QMAKE=qmake-qt5 ./configure --prefix=/usr --mandir=/usr/share/man --enable-recollq --disable-webkit --enable-webengine
47 cd "$srcdir/$pkgname-${pkgver/_/}"
48 make DESTDIR="$pkgdir" install