commit: 5929921bb130cdcb0e48b14981c7dded23cae9fc Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> AuthorDate: Sun Feb 21 09:37:34 2016 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Tue Feb 23 14:15:18 2016 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=5929921b
app-editors/kile: Add DEPEND, force handbook optional, KF5 minimal Package-Manager: portage-2.2.27 app-editors/kile/kile-9999.ebuild | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app-editors/kile/kile-9999.ebuild b/app-editors/kile/kile-9999.ebuild index ba59e47..7e5db05 100644 --- a/app-editors/kile/kile-9999.ebuild +++ b/app-editors/kile/kile-9999.ebuild @@ -2,10 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 CMAKE_MIN_VERSION="3.0.2" -KDE_HANDBOOK=true +FRAMEWORKS_MINIMAL="5.19.0" +KDE_HANDBOOK="forceoptional" MY_P=${P/_beta/b} inherit kde5 @@ -37,6 +38,7 @@ DEPEND=" $(add_qt_dep qtscript) $(add_qt_dep qttest) $(add_qt_dep qtwidgets) + pdf? ( app-text/poppler[qt5] ) " RDEPEND="${DEPEND} @@ -72,3 +74,11 @@ src_prepare() { sed -e '/INSTALL( FILES AUTHORS/s/^/#DISABLED /' \ -i CMakeLists.txt || die } + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package pdf Poppler) + ) + + kde5_src_configure +}