summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-12-11 00:07:29 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-12-12 22:44:11 +0100
commitc6b30adaeda2d067fd3a8938cc9c6fcca1c2cf44 (patch)
tree8622a487833e011717e1618c50b0ea923127d1bb /kde-apps/kig
parentkde-apps/khangman: 24.12.0 version bump (diff)
downloadgentoo-c6b30adaeda2d067fd3a8938cc9c6fcca1c2cf44.tar.gz
gentoo-c6b30adaeda2d067fd3a8938cc9c6fcca1c2cf44.tar.bz2
gentoo-c6b30adaeda2d067fd3a8938cc9c6fcca1c2cf44.zip
kde-apps/kig: 24.12.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.12.0.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index c05bcf41c53f..3e590963574d 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1 +1,2 @@
DIST kig-24.08.3.tar.xz 3246660 BLAKE2B 4cde22746e9aa6a0830c9029c02642a04d493c1fbbc3b2a3394d1d43fbe6e84e887b40ef3f6bb3de671a3c12d2906177d2a8cf1cf6eefedcf4a8ed899b95b56e SHA512 1a75e110ae395ae3467678cd97e6a076f8adac3e2d8ba389e58da44a539cdfe02c5a21a7d13f0ef67e5720a1d1f910516a49ccf9d4e2f0bc9dec361992405fd3
+DIST kig-24.12.0.tar.xz 3246700 BLAKE2B da7e958d9bf42c176c840478607075032ba786308e49a7aa98d96a99b34f726c95d6fe7f3e248ec352816b3818dd2a9a8d0d1a74e7fc49d89e5876625a15017a SHA512 928d8f41394853328fb68be44ebcb708e9d20f65a4d6e85864c6ed1e11c5486762fed906dca26fdf465b45d61cc4565da29e76a4648dc584d5bd18813069dcb0
diff --git a/kde-apps/kig/kig-24.12.0.ebuild b/kde-apps/kig/kig-24.12.0.ebuild
new file mode 100644
index 000000000000..b167d96a3b19
--- /dev/null
+++ b/kde-apps/kig/kig-24.12.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..13} )
+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/"
+
+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
+}