diff options
| -rw-r--r-- | kde-frameworks/ki18n/Manifest | 1 | ||||
| -rw-r--r-- | kde-frameworks/ki18n/ki18n-5.97.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-frameworks/ki18n/Manifest b/kde-frameworks/ki18n/Manifest new file mode 100644 index 00000000000..e7f9b871083 --- /dev/null +++ b/kde-frameworks/ki18n/Manifest @@ -0,0 +1 @@ +DIST ki18n-5.97.0.tar.xz 956032 BLAKE2B c22c226f40fbc6a3003bb66a994b51be19d25c383ed9a2679cfab5dafdf5395a19f8e0fee2cfad68f218b9d9eace2ffe4b47c7fe7ee8082caa0c92e4a29d11c1 SHA512 b95ec831b22428dd9f236e3c4d44721e4de488e39c6aba1cb8be36ef48d2223bc21f4f0a90d4204d53bef849ab8a3ee987dd6d71f437b7de9e3bd75f247012e9 diff --git a/kde-frameworks/ki18n/ki18n-5.97.0.ebuild b/kde-frameworks/ki18n/ki18n-5.97.0.ebuild new file mode 100644 index 00000000000..20e52f60a9e --- /dev/null +++ b/kde-frameworks/ki18n/ki18n-5.97.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +QTMIN=5.15.5 +inherit ecm frameworks.kde.org python-single-r1 + +DESCRIPTION="Framework based on Gettext for internationalizing user interface text" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~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=( + -DPYTHON_EXECUTABLE="${PYTHON}" + ) + ecm_src_configure +} + +src_test() { + # requires LANG fr_CH. bug 823816 + local myctestargs=( -E "(kcountrytest|kcountrysubdivisiontest)" ) + ecm_src_test +} |
