summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-02-28 12:58:15 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-02-28 14:52:55 +0100
commit7e1b009691a524682e2a16bea64aaa33eeec48ac (patch)
treede53abd4f0040c6b0850fa6bd3991ea817387da6 /kde-apps/kig
parentkde-apps/khangman: 24.02.0 version bump (diff)
downloadgentoo-7e1b009691a524682e2a16bea64aaa33eeec48ac.tar.gz
gentoo-7e1b009691a524682e2a16bea64aaa33eeec48ac.tar.bz2
gentoo-7e1b009691a524682e2a16bea64aaa33eeec48ac.zip
kde-apps/kig: 24.02.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.02.0.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index 46037e043ff7..5856c0b61115 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1,2 +1,3 @@
DIST kig-23.08.4.tar.xz 3299000 BLAKE2B 4921069bd9f0bdb3f31629fb48e32774722ae2cef0e13a7520302bef7b4df2800753b8c25aa4399107ff5cb0437e72409fd298dc7df7dac3da270a307351d9b3 SHA512 8d0c475b22cbb693bd3cd6754507270c69a5d7f9b2c2bb30ffa8d680ab092f4857f27e88df8897ad3d92cc99850bd34df966f92447180cf7304eb08b3bedfb71
DIST kig-23.08.5.tar.xz 3298936 BLAKE2B 91ca3b87837d0171f36916ade29bbb07d840d9d0bd022e6605342412f07343b6129f2efce44bb1b2337f114bb167cb639bb205e3b80d42f92aacf7f0471c2f8a SHA512 6029b26af85faadcfa35487d021eaa3e8b0d0133067be64fb01d65eac90fcd88cf6f08e0f13b6fc115b61e085f981298a2aba8913e891d91c059fbc1ff453130
+DIST kig-24.02.0.tar.xz 3297536 BLAKE2B 4d5b617501fa3c8fa946225d9827a4ff2fd30ec9552aa92a262b82dc4a966580f30d4c3b584a0d3e575009e2a90d03c1bb27dae4eb65f1cf36c492114e8a34a5 SHA512 1fad89f38a5a1dbf4f7b8cc36ca6aad73b3ffa59381400a848b53d40986dcbe3bd24d113151643d4b74d9aec477ffb6d93758048c0a66f6df91a1ff729ddf233
diff --git a/kde-apps/kig/kig-24.02.0.ebuild b/kde-apps/kig/kig-24.02.0.ebuild
new file mode 100644
index 000000000000..8b523659bcdc
--- /dev/null
+++ b/kde-apps/kig/kig-24.02.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.113.0
+QTMIN=5.15.9
+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
+}