summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-10-13 13:35:53 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-10-13 15:12:11 +0200
commit57d48d82395df1c8acbf5eb049d86ec4f81eaf2c (patch)
tree08eb3dcb7228bd918546687044cf208e1862751c /kde-apps/kig
parentkde-apps/khangman: 22.08.2 version bump (diff)
downloadgentoo-57d48d82395df1c8acbf5eb049d86ec4f81eaf2c.tar.gz
gentoo-57d48d82395df1c8acbf5eb049d86ec4f81eaf2c.tar.bz2
gentoo-57d48d82395df1c8acbf5eb049d86ec4f81eaf2c.zip
kde-apps/kig: 22.08.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.08.2.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest
index 651e839d814a..d4a9ef8b265c 100644
--- a/kde-apps/kig/Manifest
+++ b/kde-apps/kig/Manifest
@@ -1,2 +1,3 @@
DIST kig-22.04.3.tar.xz 3184864 BLAKE2B 1cc949783f2ceb7ddb4b86869197ef2a8eefb9f6986066062d3cb17df1ea17e44052d8ccc9f6f6eb0e2f62a6ee946796ced7c6a24708e46b0e5fc53e6f0432a4 SHA512 1b11ba56538a0933107fc420f39de893673504d2bb2f042434349104a5af6a8331d2aa911c59692c9d4398278a980183f041fd8b139c40249ba7abb94c4fa3c2
DIST kig-22.08.1.tar.xz 3184628 BLAKE2B 4858ff625811d248ddcfeea75932d1276171bce4e080beb68b3ce23f75fa62caad059a6ba007cc3c1ef0cf9bbb835e8ad05b52d5bd255cd40cdc9b0b3958b2d1 SHA512 1fd0c53a27529bf9624ba5871584bba25d83168aec799b1ba9c8403d4471b54cb5b7ed74c2cd90e3edf44ba98bfc4853122278b7a56b0f7441b7dc9c18f4b28d
+DIST kig-22.08.2.tar.xz 3184560 BLAKE2B 6356efac0019761e050b84206524d2202e31a5ae819386040d98b62d1eceed1525ca1ac9f8d367ef4c287cf3ce2fd5dbf487a6745962fbd85a029afe4fbfabe9 SHA512 196b715ed11322f3f6372eab0f74876fc35a49d42aef482d2e07e4fd18088dd620513b784b7adbc220adcd40a0edbf3a9059a9d3b4942bfb3852bcc405da84f5
diff --git a/kde-apps/kig/kig-22.08.2.ebuild b/kde-apps/kig/kig-22.08.2.ebuild
new file mode 100644
index 000000000000..ea8ad45e2663
--- /dev/null
+++ b/kde-apps/kig/kig-22.08.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2022 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..11} )
+KFMIN=5.96.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:=[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
+}