Skip to content

Commit

Permalink
kde-frameworks/purpose: Rename IUSE kaccounts -> webengine
Browse files Browse the repository at this point in the history
kde-apps/kaccounts-integration inevitably pulls in -providers which
pulls in dev-qt/qtwebengine.

Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Jul 1, 2024
1 parent 54f6c78 commit 083dfae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions kde-frameworks/purpose/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<use>
<flag name="kaccounts">Enable support for system-wide defined KAccounts</flag>
<flag name="kf6compat">Disable components colliding with KF6, depend on KF6 components instead</flag>
<flag name="webengine">Enable support for system-wide defined KAccounts</flag>
</use>
<slots>
<subslots>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ DEPEND="
)
"
RDEPEND="${DEPEND}
kf6compat? ( kde-frameworks/purpose:6[kaccounts?] )
kf6compat? ( kaccounts? ( >=kde-frameworks/purpose-6.3.0-r1:6[webengine] ) )
>=dev-qt/qtquickcontrols-${QTMIN}:5
>=dev-qt/qtquickcontrols2-${QTMIN}:5
>=kde-frameworks/kdeclarative-${PVCUT}:5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ DESCRIPTION="Library for providing abstractions to get the developer's purposes

LICENSE="LGPL-2.1+"
KEYWORDS="~amd64 ~arm64"
IUSE="bluetooth kaccounts"
IUSE="bluetooth webengine"

# requires running environment
RESTRICT="test"
Expand All @@ -29,7 +29,7 @@ DEPEND="
=kde-frameworks/knotifications-${PVCUT}*:6
=kde-frameworks/kservice-${PVCUT}*:6
=kde-frameworks/prison-${PVCUT}*:6
kaccounts? (
webengine? (
kde-apps/kaccounts-integration:6
>=net-libs/accounts-qt-1.16_p20220803[qt6]
)
Expand All @@ -38,9 +38,9 @@ RDEPEND="${DEPEND}
!${CATEGORY}/${PN}:5[-kf6compat(-)]
>=kde-frameworks/kdeclarative-${PVCUT}:6
bluetooth? ( =kde-frameworks/bluez-qt-${PVCUT}*:6 )
kaccounts? ( >=net-libs/accounts-qml-0.7_p20231028[qt6] )
webengine? ( >=net-libs/accounts-qml-0.7_p20231028[qt6] )
"
BDEPEND="kaccounts? ( dev-util/intltool )"
BDEPEND="webengine? ( dev-util/intltool )"

src_prepare() {
ecm_src_prepare
Expand All @@ -51,7 +51,7 @@ src_prepare() {

src_configure() {
local mycmakeargs=(
$(cmake_use_find_package kaccounts KAccounts6)
$(cmake_use_find_package webengine KAccounts6)
)

ecm_src_configure
Expand Down

0 comments on commit 083dfae

Please sign in to comment.