diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-24 12:02:31 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-24 15:45:51 +0200 |
commit | a4c8247d53531c23efd1554a53b517e2ae2fe8c4 (patch) | |
tree | f3c6e2e5ff803b3c5fe4e612b2d2bc89daefcb32 | |
parent | kde-apps/khangman: 21.04.0 version bump (diff) | |
download | gentoo-a4c8247d53531c23efd1554a53b517e2ae2fe8c4.tar.gz gentoo-a4c8247d53531c23efd1554a53b517e2ae2fe8c4.tar.bz2 gentoo-a4c8247d53531c23efd1554a53b517e2ae2fe8c4.zip |
kde-apps/kig: 21.04.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | kde-apps/kig/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kig/kig-21.04.0.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest index c8984c970f1a..d5aa580c3ac8 100644 --- a/kde-apps/kig/Manifest +++ b/kde-apps/kig/Manifest @@ -1 +1,2 @@ DIST kig-20.12.3.tar.xz 3122112 BLAKE2B cff7502feada09f674f055c209840e0e665765aa2d744260e629a58f7fde2af442c136370b173d3fd9adbd332e4d70d55aa794bb036f6c7bbdf42e4abc7db547 SHA512 4de18bf47d532c623aa877e2d52ef3e78f9fe715b96a110eb654aca578fb1addb5aa7d8f9e8e0f54f0549954018e3d7f829f07cb41bf587da115f1a2923e5428 +DIST kig-21.04.0.tar.xz 3127632 BLAKE2B 2cf140341d26eeac9990581c679347a7b933836c26aaabb49632369568e1d475e0e5b8cce87231d978d0d5922dbe93dfc98a81153316a16fcdb820a465b4539d SHA512 c1c025adab750684bde4f67accc7c5c5e6d823f8337fb8280fad7eb32fe850fbe1f7dac35bcda21fbc7c03d7267c116b8679612700d90bfe9ac17383dcd81712 diff --git a/kde-apps/kig/kig-21.04.0.ebuild b/kde-apps/kig/kig-21.04.0.ebuild new file mode 100644 index 000000000000..a7b8d4ef9e5f --- /dev/null +++ b/kde-apps/kig/kig-21.04.0.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 +} |