summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-05-13 13:36:57 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-05-13 14:20:28 +0200
commitcd83557aeee27e9135f0d8245c6306a78f510323 (patch)
treeddf9d84c678aaf25017b99646d1ce8fb2182d736 /kde-apps/kig
parentkde-apps/khangman: 21.04.1 version bump (diff)
downloadgentoo-cd83557aeee27e9135f0d8245c6306a78f510323.tar.gz
gentoo-cd83557aeee27e9135f0d8245c6306a78f510323.tar.bz2
gentoo-cd83557aeee27e9135f0d8245c6306a78f510323.zip
kde-apps/kig: 21.04.1 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.1.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index d5aa580c3ac8..855aca4c7046 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.0.tar.xz 3127632 BLAKE2B 2cf140341d26eeac9990581c679347a7b933836c26aaabb49632369568e1d475e0e5b8cce87231d978d0d5922dbe93dfc98a81153316a16fcdb820a465b4539d SHA512 c1c025adab750684bde4f67accc7c5c5e6d823f8337fb8280fad7eb32fe850fbe1f7dac35bcda21fbc7c03d7267c116b8679612700d90bfe9ac17383dcd81712
+DIST kig-21.04.1.tar.xz 3127664 BLAKE2B b3781b34225ca4ab324cab59aa1ab777c43b1b9f1104cd9b12c1e98e2e887c2940957942b5a42aed913382bba6a838d1c3f210c080fe188a87c8fb2ae475c149 SHA512 2a1f91287ac888b52b9be194a3a8493c43091f7af5499bd90a6c7f06f3c829ed33544e683e55ada3a9665eb3fd426ec57ba6aca17b67632de879af6bfa6804e4
diff --git a/kde-apps/kig/kig-21.04.1.ebuild b/kde-apps/kig/kig-21.04.1.ebuild
new file mode 100644
index 000000000000..a7b8d4ef9e5f
--- /dev/null
+++ b/kde-apps/kig/kig-21.04.1.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_{7,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/en/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
+}