summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-02-02 10:28:30 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-02-02 11:59:21 +0100
commit6a0464268e66d31c9aecffffb433fcc1cd64f544 (patch)
treeb97f2ec219322a632e67dea591feef602e858ad2 /kde-apps/kig
parentkde-apps/khangman: 22.12.2 version bump (diff)
downloadgentoo-6a0464268e66d31c9aecffffb433fcc1cd64f544.tar.gz
gentoo-6a0464268e66d31c9aecffffb433fcc1cd64f544.tar.bz2
gentoo-6a0464268e66d31c9aecffffb433fcc1cd64f544.zip
kde-apps/kig: 22.12.2 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-22.12.2.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index 98a16abc7ae4..f178dd4ba591 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1,2 +1,3 @@
DIST kig-22.08.3.tar.xz 3184760 BLAKE2B 8027e137dea63294bf4ae30aa4ad8510140b6d44e63edcf2fc336124070e2fc539d8350bcb459b65b06a331f2ec1fc970df402969505d1818bc148497de078a8 SHA512 f71043e4eddd2d1391d43fe9f9300e6357d6c01077e12b6b0f37c2facd5c213985591a2c43aa6cae9598db5e1da9789a2929eacd5f64789a1009d5db59ed16c8
DIST kig-22.12.1.tar.xz 3274512 BLAKE2B da6b1e5fe8410242e784262de56b785503ef1d1e161d29dc141fdc760f9e2dc5f6c997e27468a9db403be2b762b5a2591c33beba7fa3b3831559cfd6da20afc5 SHA512 401a5295810f9bf9b3167e1d5ad63ea212a4bdb22918dfba4edafaefb13a1e45e0fcc739737a4f201f99c6184eececa4c575f0d4c639d97f9fe8c5ac5866dabc
+DIST kig-22.12.2.tar.xz 3275860 BLAKE2B 18cc0daececa9ab169be00abadd6e5966317967bf801c84e6b153c7c2381139bb0d15b8678b294ef772b59e53d84e38f70e2c0d689f16d409f43cb239f80a66f SHA512 68976cffdd44c1867c439bd82daedb17f9076ef20261e869b680a902de54dbe1e84c145765a6c740def1a8a623e547e44ada7576fd07c12ea17f5af86db2e33d
diff --git a/kde-apps/kig/kig-22.12.2.ebuild b/kde-apps/kig/kig-22.12.2.ebuild
new file mode 100644
index 000000000000..c5ce873264f7
--- /dev/null
+++ b/kde-apps/kig/kig-22.12.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="true"
+PYTHON_COMPAT=( python3_{9..11} )
+KFMIN=5.101.0
+QTMIN=5.15.5
+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
+}