summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-06-08 20:57:42 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-06-09 12:56:19 +0200
commitb7eea0c577a5831dcfabde05d25749c7497a3e22 (patch)
tree0f46403e8333541bcad0ef2d7e394f35958ff5ac /kde-apps
parentkde-apps/khangman: 22.04.2 version bump (diff)
downloadgentoo-b7eea0c577a5831dcfabde05d25749c7497a3e22.tar.gz
gentoo-b7eea0c577a5831dcfabde05d25749c7497a3e22.tar.bz2
gentoo-b7eea0c577a5831dcfabde05d25749c7497a3e22.zip
kde-apps/kig: 22.04.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kig/Manifest1
-rw-r--r--kde-apps/kig/kig-22.04.2.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index d302f55b3a2a..46157e493bb4 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1,2 +1,3 @@
DIST kig-21.12.3.tar.xz 3175212 BLAKE2B e0065b36f64797e1ff5b0c550f7b7240db653eccacc6c6b258fd5c60365a239e968fbd319cd117dec301b8804fb0c90800ae9b3c1d6541efa99852699fe92cb9 SHA512 b90aceb9c6608b21dd525df6809041a7eb82b989dc1f3a8f4870d17f8ae2818ba51267a60f1eb2f837d45fcc097f735a32810e431f825299c62831899f512c25
DIST kig-22.04.1.tar.xz 3185508 BLAKE2B 97e9537656440b256cc023a14586f67790f39dec991cbf3781714969530eb4bcfaf5ba22f98c6c1fe11233d34a09648b5986692d20c67fae4284428c019333c3 SHA512 8e34b0806bcbb68d0dd98e91175e455f6d4e23fa5737302be8246d0b29a0e252ae40ebb7a35eec8583ecbc74c0b228cc68a273cf54da88d3bc5ccaaa0e167253
+DIST kig-22.04.2.tar.xz 3186232 BLAKE2B 4f2c4d1618bf0cd66bd8e4e612a672d63bb8c6f60ecf34b6ae1330b919796af8df370569098d525d9c30b793bfac3b07df2b1c4c775eee396ceadd0055ba8cc0 SHA512 d2489e27443561d9921a1adb7cb1f7a781bba1c444216fa02586623ad9ed6128d5f3261d2b8e0dd7c3ceda3d8a58b626c8891f860db96f6a734177bbe0d1399c
diff --git a/kde-apps/kig/kig-22.04.2.ebuild b/kde-apps/kig/kig-22.04.2.ebuild
new file mode 100644
index 000000000000..00205581a145
--- /dev/null
+++ b/kde-apps/kig/kig-22.04.2.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.92.0
+QTMIN=5.15.3
+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
+}