diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-09 11:11:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-09 11:11:11 +0000 |
commit | 90a73bb153519a9eac2a23eb9029b99b759e7892 (patch) | |
tree | 6d01f49a1e594c9324241c03aac67a635f828834 /kde-apps/kig/kig-23.08.4.ebuild | |
parent | f6f5cf314dddfbfe0f8c848dc9e07436b032562c (diff) |
gentoo auto-resync : 09:12:2023 - 11:11:11
Diffstat (limited to 'kde-apps/kig/kig-23.08.4.ebuild')
-rw-r--r-- | kde-apps/kig/kig-23.08.4.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/kde-apps/kig/kig-23.08.4.ebuild b/kde-apps/kig/kig-23.08.4.ebuild new file mode 100644 index 000000000000..041b54029934 --- /dev/null +++ b/kde-apps/kig/kig-23.08.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +PYTHON_COMPAT=( python3_{10..11} ) +KFMIN=5.106.0 +QTMIN=5.15.9 +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-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 +} |