diff options
Diffstat (limited to 'kde-apps/kig')
-rw-r--r-- | kde-apps/kig/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kig/kig-16.12.3.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest index 6ef188968879..6eb54c7217e2 100644 --- a/kde-apps/kig/Manifest +++ b/kde-apps/kig/Manifest @@ -1,2 +1,3 @@ DIST kig-16.08.3.tar.xz 1517632 SHA256 26f9455e2cedf464bb804548e8f59c9601e57ad92cf30c924b476525c488c2d2 SHA512 a115b5ac2b20c12a6651e69870b7dba5bf4015f6823e02f0fabaa6d96e71d38487e27dcb0e6e2a60f409b1378bc9988074bb5005455a7c4f1e42eb524b059880 WHIRLPOOL ec471141b8cea6539453e4a0ba3f39802a48f9b96964bc68fe6f9f2840489ce847e7875e4e14013ed4efe668281deed925572df3e3fc74c6d9327668e1f666e2 DIST kig-16.12.2.tar.xz 1517760 SHA256 2ff099b23398bccc590b0accf6965850a8ce0b42e339ccf094961d1ad60d466c SHA512 7e46bb22f5ab836de2fa164590cc1250e6adbfb13c5bc207370578bfa18cfd9b8fde94c972ab828418ceec3a47a3584704645b32d7c5a6a3ac959dbfc5915e1f WHIRLPOOL b97835a6c4b3b2c556cce4711031fcfa95e96bc0417d934ea41dbbac6584c685e12e534c9a4ebba81b82eb305d62bca63f6729b635951d98112bc898e9785cdc +DIST kig-16.12.3.tar.xz 1517896 SHA256 1c3e53df5f1a47d396d6072e5532699cf78127a81d104ff6c7ea6acb787fd43a SHA512 b7cda3ac927cff4e71efe0cbdfba3c60a8d1b0050f926e3791aee493419b4af05165c603a82d51f55c80ac05476d3c44d46932415fac3d575bf77a45ec965b47 WHIRLPOOL 60e93cfd73e2c6073a2bb3cbbc9a8138f75c00c256463dfd703ac9821b81e46393ceedc60376eb76ff76be006ffd45c265679e7f114c777d7c9ae0efbe2b96b7 diff --git a/kde-apps/kig/kig-16.12.3.ebuild b/kde-apps/kig/kig-16.12.3.ebuild new file mode 100644 index 000000000000..c28dbdb68ab7 --- /dev/null +++ b/kde-apps/kig/kig-16.12.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="optional" +PYTHON_COMPAT=( python2_7 ) +inherit python-single-r1 kde5 + +DESCRIPTION="KDE Interactive Geometry tool" +HOMEPAGE="https://www.kde.org/applications/education/kig https://edu.kde.org/kig" +KEYWORDS="~amd64 ~x86" +IUSE="geogebra scripting" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + $(add_frameworks_dep karchive) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kservice) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtgui) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + geogebra? ( $(add_qt_dep qtxmlpatterns) ) + scripting? ( >=dev-libs/boost-1.48:=[python,${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + $(add_frameworks_dep ktexteditor) +" + +PATCHES=( "${FILESDIR}/${PN}-4.12.0-boostpython.patch" ) + +pkg_setup() { + python-single-r1_pkg_setup + kde5_pkg_setup +} + +src_prepare() { + kde5_src_prepare + python_fix_shebang . +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package geogebra Qt5XmlPatterns) + $(cmake-utils_use_find_package scripting BoostPython) + ) + + kde5_src_configure +} |