summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-07-08 13:30:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-07-08 13:43:36 +0200
commitcc049145db3c611bacfd668f38922648b501bb63 (patch)
treeed4ec9acc0c7a0eed767e327f33d3587d2c5e7aa /kde-apps/kig
parentkde-apps/khangman: 21.04.3 version bump (diff)
downloadgentoo-cc049145db3c611bacfd668f38922648b501bb63.tar.gz
gentoo-cc049145db3c611bacfd668f38922648b501bb63.tar.bz2
gentoo-cc049145db3c611bacfd668f38922648b501bb63.zip
kde-apps/kig: 21.04.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-21.04.3.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index f91871701457..304ee88ac38d 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1,2 +1,3 @@
DIST kig-20.12.3.tar.xz 3122112 BLAKE2B cff7502feada09f674f055c209840e0e665765aa2d744260e629a58f7fde2af442c136370b173d3fd9adbd332e4d70d55aa794bb036f6c7bbdf42e4abc7db547 SHA512 4de18bf47d532c623aa877e2d52ef3e78f9fe715b96a110eb654aca578fb1addb5aa7d8f9e8e0f54f0549954018e3d7f829f07cb41bf587da115f1a2923e5428
DIST kig-21.04.2.tar.xz 3166704 BLAKE2B 9b9bad6e5d12b1750db588e7e5a72d270e8afb3d7a4b10c29e44f63e6584d3690cd937af40c4df014de4afed3ce8a97c06abe8bd75e2cf39ef5cf893d7cffb66 SHA512 7d94eaa2b33815d7a14e7e6ac789d149c8d572fba82b227343f43c1d9e82f4f8fdac28a2dd6330930c1bbb385dd8e177986ad234f398cfa5d3480ad851fffb6c
+DIST kig-21.04.3.tar.xz 3166572 BLAKE2B bbd64b51cc768de9baeebb3b66906d8e0d8ff133a63ddfe19a9e360e34d6c10b9e08a55ca8aca88c7e723a7af29d5882d214e72db1c7292364631817e6ccc399 SHA512 f82695722fb66a707abaf120b56e0f0977a63065a21849e72f178ee0eb653b73bd5ceb651a92085a34ad7d1c98da08611138a7d52b491c7caa9cbca47b7ff19e
diff --git a/kde-apps/kig/kig-21.04.3.ebuild b/kde-apps/kig/kig-21.04.3.ebuild
new file mode 100644
index 000000000000..aacbcbcbad8b
--- /dev/null
+++ b/kde-apps/kig/kig-21.04.3.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="true"
+PYTHON_COMPAT=( python3_{8,9} )
+KFMIN=5.80.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_MULTI_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
+}