Skip to content

Commit

Permalink
www-client/falkon: Drop IUSE=python and re-add ~ppc64
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/835889
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed May 18, 2022
1 parent 3f7263f commit 24ee22e
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions www-client/falkon/falkon-3.2.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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="
Expand All @@ -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:=
Expand All @@ -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)
Expand Down

0 comments on commit 24ee22e

Please sign in to comment.