diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-06-30 12:02:44 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-07-01 23:05:23 +0200 |
commit | 2d959861e471580ff62bba2152a9e5296c184cd9 (patch) | |
tree | 44db1691187493645252b6f20c944688575e87c8 /kde-apps/kaccounts-integration | |
parent | kde-apps/kaccounts-providers: Drop IUSE +webengine, add qml USEdep (diff) | |
download | gentoo-2d959861e471580ff62bba2152a9e5296c184cd9.tar.gz gentoo-2d959861e471580ff62bba2152a9e5296c184cd9.tar.bz2 gentoo-2d959861e471580ff62bba2152a9e5296c184cd9.zip |
kde-apps/kaccounts-integration: Add PDEPEND=kde-apps/kaccounts-providers
kde-apps/kaccounts-integration provides kcm_accounts for systemsettings,
however without kde-apps/kaccounts-providers the list is practically empty
which makes no sense.
So far, only kde-apps/kdenetwork-meta and kde-misc/kio-gdrive had been
pulling it in but we cannot assume every Plasma user would have those
installed.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kaccounts-integration')
-rw-r--r-- | kde-apps/kaccounts-integration/kaccounts-integration-24.05.1-r1.ebuild | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/kde-apps/kaccounts-integration/kaccounts-integration-24.05.1-r1.ebuild b/kde-apps/kaccounts-integration/kaccounts-integration-24.05.1-r1.ebuild new file mode 100644 index 000000000000..c5ef489f3129 --- /dev/null +++ b/kde-apps/kaccounts-integration/kaccounts-integration-24.05.1-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KF5MIN=5.115.0 +KFMIN=6.3.0 +PVCUT=$(ver_cut 1-3) +QT5MIN=5.15.12 +QTMIN=6.6.2 +VIRTUALDBUS_TEST="true" +inherit ecm gear.kde.org multibuild + +DESCRIPTION="Administer web accounts for the sites and services across the Plasma desktop" +HOMEPAGE="https://community.kde.org/KTp" + +LICENSE="LGPL-2.1" +SLOT="6" +KEYWORDS="~amd64" +IUSE="qt5" + +# bug #549444 +RESTRICT="test" + +COMMON_DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[gui,widgets] + >=dev-qt/qtdeclarative-${QTMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kdbusaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kwallet-${KFMIN}:6 + >=net-libs/accounts-qt-1.16_p20220803[qt5?,qt6] + >=net-libs/signond-8.61-r100[qt5?,qt6] + qt5? ( + >=dev-qt/qtdeclarative-${QT5MIN}:5 + >=dev-qt/qtgui-${QT5MIN}:5 + >=dev-qt/qtwidgets-${QT5MIN}:5 + >=kde-frameworks/kconfig-${KF5MIN}:5 + >=kde-frameworks/kcoreaddons-${KF5MIN}:5 + >=kde-frameworks/kdbusaddons-${KF5MIN}:5 + >=kde-frameworks/ki18n-${KF5MIN}:5 + >=kde-frameworks/kio-${KF5MIN}:5 + >=kde-frameworks/kwallet-${KF5MIN}:5 + ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/qcoro + >=kde-frameworks/kcmutils-${KFMIN}:6 + kde-plasma/kde-cli-tools:* + qt5? ( + dev-libs/qcoro5 + >=kde-frameworks/kcmutils-${KF5MIN}:5 + ) +" +# KAccountsMacros.cmake needs intltool +RDEPEND="${COMMON_DEPEND} + dev-util/intltool +" +BDEPEND="sys-devel/gettext" +PDEPEND=">=kde-apps/kaccounts-providers-${PVCUT}:6" + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt5) default ) +} + +src_configure() { + my_src_configure() { + if [[ ${MULTIBUILD_VARIANT} == qt5 ]]; then + local mycmakeargs=( -DKF6_COMPAT_BUILD=ON ) + fi + + ecm_src_configure + } + + multibuild_foreach_variant my_src_configure +} + +src_compile() { + multibuild_foreach_variant cmake_src_compile +} + +src_test() { + multibuild_foreach_variant ecm_src_test +} + +src_install() { + multibuild_foreach_variant ecm_src_install +} |