# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python2_7 ) inherit eutils linux-info python-single-r1 qmake-utils DESCRIPTION="A personal full text search package" HOMEPAGE="https://www.lesbonscomptes.com/recoll/" SRC_URI="https://www.lesbonscomptes.com/recoll/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="camelcase doc +inotify qt5 session +spell" REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}" CDEPEND=" dev-libs/xapian:= sys-libs/zlib:= virtual/libiconv qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtprintsupport:5 dev-qt/qtwebkit:5 ) session? ( inotify? ( x11-libs/libSM x11-libs/libICE x11-libs/libX11 ) ) spell? ( app-text/aspell ) ${PYTHON_DEPS} " DEPEND=" ${CDEPEND} qt5? ( dev-qt/linguist-tools:5 ) " RDEPEND=" ${CDEPEND} app-arch/unzip " PATCHES=( "${FILESDIR}"/${PN}-python3.patch # python3 patch "${FILESDIR}"/${P}-qt-5.11.patch # bugs 663028, 660912 ) pkg_setup() { if has_version "