1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 KDE_HANDBOOK="forceoptional"
8 PYTHON_COMPAT=( python2_7 )
9 inherit python-single-r1 kde5
11 DESCRIPTION="KDE Interactive Geometry tool"
12 HOMEPAGE="https://www.kde.org/applications/education/kig https://edu.kde.org/kig/"
13 KEYWORDS="amd64 ~arm64 x86"
14 IUSE="geogebra scripting"
16 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
18 RDEPEND="${PYTHON_DEPS}
19 $(add_frameworks_dep karchive)
20 $(add_frameworks_dep kcompletion)
21 $(add_frameworks_dep kconfig)
22 $(add_frameworks_dep kconfigwidgets)
23 $(add_frameworks_dep kcoreaddons)
24 $(add_frameworks_dep kcrash)
25 $(add_frameworks_dep ki18n)
26 $(add_frameworks_dep kiconthemes)
27 $(add_frameworks_dep kparts)
28 $(add_frameworks_dep kservice)
29 $(add_frameworks_dep kwidgetsaddons)
30 $(add_frameworks_dep kxmlgui)
32 $(add_qt_dep qtprintsupport)
34 $(add_qt_dep qtwidgets)
36 geogebra? ( $(add_qt_dep qtxmlpatterns) )
37 scripting? ( >=dev-libs/boost-1.48:=[python,${PYTHON_USEDEP}] )
40 $(add_frameworks_dep ktexteditor)
43 PATCHES=( "${FILESDIR}/${PN}-4.12.0-boostpython.patch" )
46 python-single-r1_pkg_setup
57 $(cmake-utils_use_find_package geogebra Qt5XmlPatterns)
58 $(cmake-utils_use_find_package scripting BoostPython)