summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-04 14:21:18 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-04 14:21:18 +0100
commitc028dab1cae6fefc66736f3ed82bb2c55a630571 (patch)
tree773a078fd6dc65ff6bbf177727b5ab7e0ceff668 /kde-apps/kig
parentkde-apps/khangman: 20.12.2 version bump (diff)
downloadgentoo-c028dab1cae6fefc66736f3ed82bb2c55a630571.tar.gz
gentoo-c028dab1cae6fefc66736f3ed82bb2c55a630571.tar.bz2
gentoo-c028dab1cae6fefc66736f3ed82bb2c55a630571.zip
kde-apps/kig: 20.12.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kig')
-rw-r--r--kde-apps/kig/Manifest1
-rw-r--r--kde-apps/kig/kig-20.12.2.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index 2c25013d744a..0349bbf20e8b 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1,2 +1,3 @@
DIST kig-20.08.3.tar.xz 3467000 BLAKE2B 98b103707fa38c2d840a2b2c2fe3a9892e75fc0bd49367d514d33e1d04fef6379bce502d7f75bce29da13951ed79ee44e55700725506d81b220a624610ebae44 SHA512 becd24e67af434cda18ca7d483ace8649446273ca62eaf12618d5012bed1220e175de5841912075d67a54d777ff1a015a27d56ef53f12bb03c03d2c91e3bdf3f
DIST kig-20.12.1.tar.xz 3122324 BLAKE2B b5cdeed9f74e1fa3bacf5ad23b1fadf18c93fca5b540a16b2b64e1e116bceface3db009e3e7832a282e7b502539e24900ae919e63015860567f85b51a2523264 SHA512 0ac47bcf25b811502b9c944879c3f2ca8b16c59ce114519c29f823efc03ac2404682a8c1c678982d7f0a2451876e4225cddbf50d4093546898987db8d4752510
+DIST kig-20.12.2.tar.xz 3122468 BLAKE2B d8c750b98b46528844398b91df68b9f5a4e6ea6a772c59093029e69a8e0ed48f8909ce90a24fba5c6572d66a2098c7a73a43f57b090efbfa44f2ead91f32c32e SHA512 ce5ad34d6fe7f0601482dcf6a2b193da19be68de07ed6c68f123c0005e6542c2da904bae94a2cd4bc5e8262ffea90b8f0919dd382ce998f3bb765093df16d3e3
diff --git a/kde-apps/kig/kig-20.12.2.ebuild b/kde-apps/kig/kig-20.12.2.ebuild
new file mode 100644
index 000000000000..9ddc0ffeee40
--- /dev/null
+++ b/kde-apps/kig/kig-20.12.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="true"
+PYTHON_COMPAT=( python3_{7,8,9} )
+KFMIN=5.75.0
+QTMIN=5.15.2
+inherit python-single-r1 ecm kde.org
+
+DESCRIPTION="KDE Interactive Geometry tool"
+HOMEPAGE="https://apps.kde.org/en/kig https://edu.kde.org/kig/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="geogebra scripting"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ geogebra? ( >=dev-qt/qtxmlpatterns-${QTMIN}:5 )
+ scripting? (
+ $(python_gen_cond_dep '
+ >=dev-libs/boost-1.70:=[python,${PYTHON_MULTI_USEDEP}]
+ ')
+ )
+"
+DEPEND="${RDEPEND}
+ >=kde-frameworks/ktexteditor-${KFMIN}:5
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-20.08.70-cmake-boostpython.patch )
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ ecm_pkg_setup
+}
+
+src_prepare() {
+ ecm_src_prepare
+ python_fix_shebang .
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBOOSTPYTHON_VERSION_MAJOR_MINOR=${EPYTHON}
+ $(cmake_use_find_package geogebra Qt5XmlPatterns)
+ $(cmake_use_find_package scripting Boost)
+ )
+
+ ecm_src_configure
+}