summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-09-02 12:39:52 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-09-02 18:47:27 +0200
commit19794d0efa7efaa160273348613d50bc2dba524d (patch)
tree1dbfd0b9a53c5f2c987166977bf3fc7fb1d2fb86
parentkde-apps/khangman: 21.08.1 version bump (diff)
downloadgentoo-19794d0efa7efaa160273348613d50bc2dba524d.tar.gz
gentoo-19794d0efa7efaa160273348613d50bc2dba524d.tar.bz2
gentoo-19794d0efa7efaa160273348613d50bc2dba524d.zip
kde-apps/kig: 21.08.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/kig/Manifest1
-rw-r--r--kde-apps/kig/kig-21.08.1.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index cbb2b9e0e575..ac016056a06a 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1,2 +1,3 @@
DIST kig-21.04.3.tar.xz 3166572 BLAKE2B bbd64b51cc768de9baeebb3b66906d8e0d8ff133a63ddfe19a9e360e34d6c10b9e08a55ca8aca88c7e723a7af29d5882d214e72db1c7292364631817e6ccc399 SHA512 f82695722fb66a707abaf120b56e0f0977a63065a21849e72f178ee0eb653b73bd5ceb651a92085a34ad7d1c98da08611138a7d52b491c7caa9cbca47b7ff19e
DIST kig-21.08.0.tar.xz 3175116 BLAKE2B 427f810e5c40d8c6de862293a237a917800a89532b3669dfcfe56141f9ff05f027ffca00057222e5f34de57a5f9705375d2849b351f306be4c624a8c842f0440 SHA512 af3d735eb5fa28bfe34cfddd213b9a0b2e3e25cb1f2847bb36c52d5191dde38253ee299eb5f2cd6f55f24ee640538638e388488cc640fdb94e9a65d366ccd6e3
+DIST kig-21.08.1.tar.xz 3175152 BLAKE2B 9c749b380c5553cedcc0ef55fbe359d7f89bb27e16b0841171acdb0204337f82ec8509ed5343bb774e015514b56e7b3706ad5f5960705b4372cd77492c7a4eb0 SHA512 acb6f4ccf5bc0cad1943bc0aa6044f404b5221962609c9a2538351bf011b7e5eef449f04bd8bce1bb8e5b175f05b7e535afe0fcfd3fb3ad0d80b8275c1a0d897
diff --git a/kde-apps/kig/kig-21.08.1.ebuild b/kde-apps/kig/kig-21.08.1.ebuild
new file mode 100644
index 000000000000..55ffc63bc8b5
--- /dev/null
+++ b/kde-apps/kig/kig-21.08.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 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.84.0
+QTMIN=5.15.2
+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 ~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
+}