summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-03-03 12:29:59 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-03-03 15:52:44 +0100
commit6de681bd1dfef37b715f092bbfb7890b22521d69 (patch)
tree121c177900c4912f96c4de68fa43ef8a93100f03 /kde-apps/kig
parentkde-apps/khangman: 21.12.3 version bump (diff)
downloadgentoo-6de681bd1dfef37b715f092bbfb7890b22521d69.tar.gz
gentoo-6de681bd1dfef37b715f092bbfb7890b22521d69.tar.bz2
gentoo-6de681bd1dfef37b715f092bbfb7890b22521d69.zip
kde-apps/kig: 21.12.3 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-21.12.3.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index 8811c5426ac8..033033a4de51 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1,2 +1,3 @@
DIST kig-21.08.3.tar.xz 3175388 BLAKE2B 7c515b80a7334680e40777cc73971d3cd9f595f038c02f9862929cbdfd88d4d8b287a3694561c1b3ab8fc6cc5225e47bd68c7668e5e89dccb00d5d4596422a2f SHA512 73d348b81be9eea6cfef9b7e266a86a115aa1d05236ca55b4639782465b0b4550d041645fdf1d37908ad109f6d093ffe21b1a1f73fda6b9b590473ef803088f2
DIST kig-21.12.2.tar.xz 3175384 BLAKE2B a089a79cd09f8e5b76c9cd0e3b7ea1855869cb5294bea6a370aa88d6f5147164599e24ff207734ebea4df46314eb7219694295ad432501adc3bb4e27a84781b6 SHA512 2132ec54a5915aab9689841f40c308386a2aa38fb490b0b894e4d3350147fd80e43c6df390e4f260b3ae618a67716cce0279dc2e25301a453fbf3ee04f1373a0
+DIST kig-21.12.3.tar.xz 3175212 BLAKE2B e0065b36f64797e1ff5b0c550f7b7240db653eccacc6c6b258fd5c60365a239e968fbd319cd117dec301b8804fb0c90800ae9b3c1d6541efa99852699fe92cb9 SHA512 b90aceb9c6608b21dd525df6809041a7eb82b989dc1f3a8f4870d17f8ae2818ba51267a60f1eb2f837d45fcc097f735a32810e431f825299c62831899f512c25
diff --git a/kde-apps/kig/kig-21.12.3.ebuild b/kde-apps/kig/kig-21.12.3.ebuild
new file mode 100644
index 000000000000..bd69aedd1676
--- /dev/null
+++ b/kde-apps/kig/kig-21.12.3.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="true"
+PYTHON_COMPAT=( python3_{8..10} )
+KFMIN=5.88.0
+QTMIN=5.15.2
+inherit python-single-r1 ecm kde.org
+
+DESCRIPTION="KDE Interactive Geometry tool"
+HOMEPAGE="https://apps.kde.org/kig/ https://edu.kde.org/kig/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~riscv ~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_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
+}