summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-06-13 17:38:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-06-13 18:49:19 +0200
commit8bf0f98c90b38f9697a76e0d1baa081abd448f29 (patch)
tree9c849ca85957b0e0d355562449366f0c1171aee2 /kde-apps/kig
parentkde-apps/khangman: 24.05.1 version bump (diff)
downloadgentoo-8bf0f98c90b38f9697a76e0d1baa081abd448f29.tar.gz
gentoo-8bf0f98c90b38f9697a76e0d1baa081abd448f29.tar.bz2
gentoo-8bf0f98c90b38f9697a76e0d1baa081abd448f29.zip
kde-apps/kig: 24.05.1 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-24.05.1.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index aa9624618d1c..3ddbd6c0b658 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1,2 +1,3 @@
DIST kig-24.02.2.tar.xz 3297852 BLAKE2B 0a43f610ed7c863fba737dde106a2c75bf810f03e18c2365c9ca3105e4fed355a0975a050b46cadf633707b8f094fc44f1c904d7a3e2ebf20720b889a223f2c7 SHA512 8757a335a85cf1439e7abc3abe55aca9d3dd8962c550ded953d79fe3a752770469e56300679ecf821262f2aef9be7e8e45093f47126f702823b6e654850deb1c
DIST kig-24.05.0.tar.xz 3251008 BLAKE2B a58f9f1c55d6f7cddeb5fb4afafd8ccb03f1d0a48b899d9bc369e8413244793283333d407fb8895979e3e224eecde2ab88e051adaa143281e5ce1cc75f93e28a SHA512 a025fadb8631f38ccdff79235733a5e5563458fc09d6798b6d2823b95a6cd8b29bd1c97f62906c88f7ee61e71812cb3ad5be40e7449208b7339b982d73e0c174
+DIST kig-24.05.1.tar.xz 3251024 BLAKE2B 4cfa7823892b02961abbcd7d5c1465790564992cfb28230e700744350770365bd88a317adb5c7920a29840dc833ecc76b47492252bf42e9a144654f285b1742d SHA512 1f725e99491566414514adeed101486c47d3913d1fb7cdf4a1ca5a2b6992065b3dbdfd4214638aefa0b8541748dd4d94942237c9fe13d4abb180de58b3a572e5
diff --git a/kde-apps/kig/kig-24.05.1.ebuild b/kde-apps/kig/kig-24.05.1.ebuild
new file mode 100644
index 000000000000..c7ef85159ad0
--- /dev/null
+++ b/kde-apps/kig/kig-24.05.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="true"
+PYTHON_COMPAT=( python3_{10..12} )
+KFMIN=5.115.0
+QTMIN=5.15.12
+inherit python-single-r1 ecm gear.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
+}