summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-03-01 12:17:55 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-03-02 12:56:19 +0100
commit810ee56fb61dd36ae4447c466fb25276991019aa (patch)
tree1c3c4db2ef8a2664e2773a5dab3ed169b1991699 /kde-apps/kig
parentkde-apps/khangman: 22.12.3 version bump (diff)
downloadgentoo-810ee56fb61dd36ae4447c466fb25276991019aa.tar.gz
gentoo-810ee56fb61dd36ae4447c466fb25276991019aa.tar.bz2
gentoo-810ee56fb61dd36ae4447c466fb25276991019aa.zip
kde-apps/kig: 22.12.3 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.3.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index be4d08159626..436e0102b645 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.2.tar.xz 3275860 BLAKE2B 18cc0daececa9ab169be00abadd6e5966317967bf801c84e6b153c7c2381139bb0d15b8678b294ef772b59e53d84e38f70e2c0d689f16d409f43cb239f80a66f SHA512 68976cffdd44c1867c439bd82daedb17f9076ef20261e869b680a902de54dbe1e84c145765a6c740def1a8a623e547e44ada7576fd07c12ea17f5af86db2e33d
+DIST kig-22.12.3.tar.xz 3281480 BLAKE2B 7346f18eef68813a3f65e83981cf88a60129e7bf1b2ad9c9faf55a0eb96e187fd3bdbb731f221d2660349d7fe5e0df004c968fb57758ec831f6b9639f098d66e SHA512 c42d200899da04d1b6cdfd05d04b6b7e4dbee6d81dc7e92604642e0621a31fdd693bb6d26f0242c4fcaa994f9fe47dbb63d136aa06117f689f2ebb5bb2c77e78
diff --git a/kde-apps/kig/kig-22.12.3.ebuild b/kde-apps/kig/kig-22.12.3.ebuild
new file mode 100644
index 000000000000..c5ce873264f7
--- /dev/null
+++ b/kde-apps/kig/kig-22.12.3.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
+}