summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-08-24 14:28:41 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-08-24 14:49:32 +0200
commitfd11857bf5bcec0ed86915c8e9a37c69989c0ee5 (patch)
tree4f20e94098a4a304dc33031bd74f5c058cb0da8b /kde-apps/kig
parentkde-apps/khangman: 24.08.0 version bump (diff)
downloadgentoo-fd11857bf5bcec0ed86915c8e9a37c69989c0ee5.tar.gz
gentoo-fd11857bf5bcec0ed86915c8e9a37c69989c0ee5.tar.bz2
gentoo-fd11857bf5bcec0ed86915c8e9a37c69989c0ee5.zip
kde-apps/kig: 24.08.0 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.08.0.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index f991f0ad1284..8dbe68a26d94 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1 +1,2 @@
DIST kig-24.05.2.tar.xz 3251144 BLAKE2B a9f273518f21b74123bc858b78c11539eb31808c48c1c2641e12d40ab9ac08accf7794ad5cdc2c38dfc59dd24c3b9df9a16c6f05fcebe3749b4e6163cee3c865 SHA512 80d53b96b4d43ea41e336f3e1949630790228d937d9010d22072429ef003b513c26f25dbec392feff5c9ec3968d975b95d3e5f985563079e735d541181a3e6b7
+DIST kig-24.08.0.tar.xz 3245816 BLAKE2B 05a18a107f20e0ee8c8bc7a1e494a50d62b7e7ca1fa1a5c934066e27544fceb501cacd6c4a15f779ebcf42375ace7cf30676f55cf589d369339c5ac217e7b7da SHA512 4479f559af1131bd867eeacd7926b58f98a26c3d1a0fe840a0efab02ba3ffbf98614dc25fd3090c49caf9b4520e7567638d52b394e25f0089d7f9c21b1907e91
diff --git a/kde-apps/kig/kig-24.08.0.ebuild b/kde-apps/kig/kig-24.08.0.ebuild
new file mode 100644
index 000000000000..c7ef85159ad0
--- /dev/null
+++ b/kde-apps/kig/kig-24.08.0.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
+}