mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-13 13:41:05 +00:00
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44408 Signed-off-by: Sam James <sam@gentoo.org>
47 lines
918 B
Bash
47 lines
918 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{10..14} )
|
|
QTMIN=5.15.9
|
|
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
|
|
"
|
|
|
|
CMAKE_SKIP_TESTS=(
|
|
# bug 876496
|
|
kcatalogtest
|
|
# requires LANG fr_CH. bugs 823816
|
|
kcountrytest
|
|
kcountrysubdivisiontest
|
|
)
|
|
|
|
pkg_setup() {
|
|
ecm_pkg_setup
|
|
python-single-r1_pkg_setup
|
|
}
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DPYTHON_EXECUTABLE="${PYTHON}"
|
|
)
|
|
ecm_src_configure
|
|
}
|