diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-05 02:47:11 +0000 |
commit | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch) | |
tree | c8af0fd04194aed03cf067d44e53c7edd3e9ab84 /kde-frameworks/ki18n/ki18n-5.88.0.ebuild | |
parent | e9d044d4b9b71200a96adfa280848858c0f468c9 (diff) |
gentoo resync : 05.12.2021
Diffstat (limited to 'kde-frameworks/ki18n/ki18n-5.88.0.ebuild')
-rw-r--r-- | kde-frameworks/ki18n/ki18n-5.88.0.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/ki18n/ki18n-5.88.0.ebuild b/kde-frameworks/ki18n/ki18n-5.88.0.ebuild new file mode 100644 index 000000000000..b66464e8f3b8 --- /dev/null +++ b/kde-frameworks/ki18n/ki18n-5.88.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +QTMIN=5.15.2 +inherit ecm kde.org python-single-r1 + +DESCRIPTION="Framework based on Gettext for internationalizing user interface text" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND="${PYTHON_DEPS} + >=dev-qt/qtdeclarative-${QTMIN}:5 + sys-devel/gettext + virtual/libintl +" +DEPEND="${COMMON_DEPEND} + test? ( >=dev-qt/qtconcurrent-${QTMIN}:5 ) +" +RDEPEND="${COMMON_DEPEND} + app-text/iso-codes +" + +PATCHES=( "${FILESDIR}/${PN}-5.57.0-python.patch" ) + +pkg_setup() { + ecm_pkg_setup + python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON # bug 746866 + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + ecm_src_configure +} + +src_test() { + # requires LANG fr_CH. bug 823816 + local myctestargs=( -E "(kcountrytest|kcountrysubdivisiontest)" ) + ecm_src_test +} |