diff options
Diffstat (limited to 'kde-apps/kig')
-rw-r--r-- | kde-apps/kig/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/kig/kig-20.12.0.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/kde-apps/kig/Manifest b/kde-apps/kig/Manifest index d6f6b58d0e2b..3e52d0d018e4 100644 --- a/kde-apps/kig/Manifest +++ b/kde-apps/kig/Manifest @@ -1,4 +1,6 @@ AUX kig-20.08.70-cmake-boostpython.patch 2660 BLAKE2B 51c473dd8733f44214571772b2249abe730087648d962ebab12faacaebaa2e1bb0788220faf2a03b110477a1112fce771d1b269d03e3a05670a35ffe02c82c86 SHA512 0abd06e611f90a8f73ecf5599377df45ae350c4352ff5c0cac47918d4938142bce9677a0430aa3aaf8d6f0edd5241f4751fc2187410b7287dd399caef6c8e7ec DIST kig-20.08.3.tar.xz 3467000 BLAKE2B 98b103707fa38c2d840a2b2c2fe3a9892e75fc0bd49367d514d33e1d04fef6379bce502d7f75bce29da13951ed79ee44e55700725506d81b220a624610ebae44 SHA512 becd24e67af434cda18ca7d483ace8649446273ca62eaf12618d5012bed1220e175de5841912075d67a54d777ff1a015a27d56ef53f12bb03c03d2c91e3bdf3f +DIST kig-20.12.0.tar.xz 3122144 BLAKE2B 297a501d402a5149c50d0f85fcd9359ed2fd4cfaf20d24564c7829a1909136209869beb132ebef174ec763969271b1c80d6506e88e9450033ccadf8cc26fae30 SHA512 cdb0b166bbe09b9899849674171c183f9eec5dafb56a2c5236fe92a6a6cdaa7962b28d7352752c48cc1728d9ef7c9272d4afc6120cc2d45fafe75504320f1ea2 EBUILD kig-20.08.3.ebuild 1748 BLAKE2B 55c839cd02d4e2a77be9292895187e2c5f1bed48b879725cfd46e8a5b824c379ab1ca7b8b4b43692cf429d95f57e1d3131f15ffd787e23b74aabc404149c523e SHA512 e800c977a7cb640c683d71958b04a8e1ca9e46ce02f8d103ebfba8714b78b0f12b9caea5e5d03d2797c2ad75aceaebf81fe2682193b5f727cf4bb5f4022b8b17 +EBUILD kig-20.12.0.ebuild 1751 BLAKE2B 3a9017562f09817551fbca0427b6d69615671663d510cc47f22bf1f5fb62e55b2904083121f5f85a800264657f84125950451f5f820f3d3d012ad24d204f3197 SHA512 bccd2f81583ab2e2cd9261ac81e7c6d21337e3a14074876111691323070031844cab56adcf21f78756d01ae7be99e1b61df5ec5beb0a9c2a71e483b8861c8e59 MISC metadata.xml 417 BLAKE2B e9b8762ae43f4e8e449b2a649d89d6e909bd34529bffaf6b0c4683a927b5b89486e7b94de5a34bebe5ceb580289b0ffbead4d3f8db19d0c79f95a93126b17f51 SHA512 9a87c6e27600a5bad58df8fc2de4696a6e2a81e1474cae08201e4861d7961537eba510463e3522ff0bf7a1bcdb77aa84804f0fb956e0d0cf096ffd8f523f1ace diff --git a/kde-apps/kig/kig-20.12.0.ebuild b/kde-apps/kig/kig-20.12.0.ebuild new file mode 100644 index 000000000000..88c3ae6304dc --- /dev/null +++ b/kde-apps/kig/kig-20.12.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 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.75.0 +QTMIN=5.15.1 +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 +} |