www-client/falkon: Drop IUSE=python and re-add ~ppc64

Bug: https://bugs.gentoo.org/835889
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2022-05-18 13:34:57 +02:00
parent 3f7263f0f8
commit 24ee22ebae

View File

@@ -6,23 +6,21 @@ EAPI=8
ECM_TEST="true"
KFMIN=5.88.0
QTMIN=5.15.2
PYTHON_COMPAT=( python3_{8..10} )
VIRTUALX_REQUIRED="test"
inherit ecm kde.org python-single-r1
inherit ecm kde.org
DESCRIPTION="Cross-platform web browser using QtWebEngine"
HOMEPAGE="https://www.falkon.org/ https://apps.kde.org/falkon/"
if [[ ${KDE_BUILD_TYPE} != live ]]; then
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="dbus kde python +X"
IUSE="dbus kde +X"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RESTRICT="test" # bug 653046
COMMON_DEPEND="
@@ -45,13 +43,6 @@ COMMON_DEPEND="
>=kde-frameworks/kwallet-${KFMIN}:5
>=kde-frameworks/purpose-${KFMIN}:5
)
python? (
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/pyside2[designer,gui,webengine,widgets,${PYTHON_USEDEP}]
dev-python/shiboken2[${PYTHON_USEDEP}]
')
)
X? (
>=dev-qt/qtx11extras-${QTMIN}:5
x11-libs/libxcb:=
@@ -71,18 +62,13 @@ BDEPEND="
>=dev-qt/linguist-tools-${QTMIN}:5
"
pkg_setup() {
python-single-r1_pkg_setup
ecm_pkg_setup
}
src_configure() {
local mycmakeargs=(
-DBUILD_KEYRING=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_PySide2=ON
-DCMAKE_DISABLE_FIND_PACKAGE_Shiboken2=ON
-DCMAKE_DISABLE_FIND_PACKAGE_PythonLibs=ON
-DDISABLE_DBUS=$(usex !dbus)
$(cmake_use_find_package python PySide2)
$(cmake_use_find_package python Shiboken2)
$(cmake_use_find_package python Python3)
$(cmake_use_find_package kde KF5Wallet)
$(cmake_use_find_package kde KF5KIO)
-DNO_X11=$(usex !X)