--- recoll-1.24.1.ebuild 2019-05-02 19:21:06.775957774 +0800 +++ recoll-1.24.1.ebuild 2019-05-04 14:43:19.486353769 +0800 @@ -1,125 +1,134 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python3_{5,6,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" +KEYWORDS="~amd64 ~x86" -IUSE="camelcase doc +inotify qt5 session +spell" -REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}" +IUSE="camelcase chm doc +inotify qt5 session +spell webengine" +REQUIRED_USE=" + session? ( inotify ) + webengine? ( qt5 ) + ${PYTHON_REQUIRED_USE} +" -CDEPEND=" +DEPEND=" dev-libs/xapian:= sys-libs/zlib:= virtual/libiconv + chm? ( + dev-libs/chmlib + dev-python/pychm + ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtprintsupport:5 - dev-qt/qtwebkit:5 + webengine? ( dev-qt/qtwebengine:5[widgets] ) ) session? ( inotify? ( - x11-libs/libSM - x11-libs/libICE - x11-libs/libX11 + x11-libs/libSM + x11-libs/libICE + x11-libs/libX11 ) ) spell? ( app-text/aspell ) ${PYTHON_DEPS} " -DEPEND=" - ${CDEPEND} +BDEPEND=" qt5? ( dev-qt/linguist-tools:5 ) " RDEPEND=" - ${CDEPEND} + ${DEPEND} app-arch/unzip " -PATCHES=( - "${FILESDIR}"/${PN}-python3.patch # python3 patch - "${FILESDIR}"/${P}-qt-5.11.patch # bugs 663028, 660912 -) - -pkg_setup() { +pkg_pretend() { if has_version "