You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
833 B
40 lines
833 B
4 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
4 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||
4 years ago
|
QTMIN=5.15.2
|
||
4 years ago
|
inherit ecm kde.org python-single-r1
|
||
|
|
||
|
DESCRIPTION="Framework based on Gettext for internationalizing user interface text"
|
||
|
LICENSE="LGPL-2+"
|
||
4 years ago
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||
4 years ago
|
IUSE=""
|
||
|
|
||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||
|
|
||
|
RDEPEND="${PYTHON_DEPS}
|
||
|
>=dev-qt/qtdeclarative-${QTMIN}:5
|
||
|
sys-devel/gettext
|
||
|
virtual/libintl
|
||
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
|
test? ( >=dev-qt/qtconcurrent-${QTMIN}:5 )
|
||
|
"
|
||
|
|
||
|
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
|
||
|
}
|