diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-08-12 19:32:41 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-08-21 22:53:49 +0200 |
| commit | 59b876b1a437a6458d0bab2a98d93d856aaf2129 (patch) | |
| tree | bc940e1d4e500abedf2f193f003ce48423a44de7 /kde-frameworks/purpose | |
| parent | 6a03a39b29bdebe12168b9bbf72fbae56c1d689e (diff) | |
| download | kde-59b876b1a437a6458d0bab2a98d93d856aaf2129.tar.gz kde-59b876b1a437a6458d0bab2a98d93d856aaf2129.tar.bz2 kde-59b876b1a437a6458d0bab2a98d93d856aaf2129.zip | |
kde-frameworks/purpose: RDEPEND on purpose-kaccounts-services
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/purpose')
| -rw-r--r-- | kde-frameworks/purpose/purpose-5.239.9999.ebuild | 13 | ||||
| -rw-r--r-- | kde-frameworks/purpose/purpose-9999.ebuild | 14 |
2 files changed, 24 insertions, 3 deletions
diff --git a/kde-frameworks/purpose/purpose-5.239.9999.ebuild b/kde-frameworks/purpose/purpose-5.239.9999.ebuild index 150cdedfb66..10961595983 100644 --- a/kde-frameworks/purpose/purpose-5.239.9999.ebuild +++ b/kde-frameworks/purpose/purpose-5.239.9999.ebuild @@ -44,7 +44,10 @@ RDEPEND="${DEPEND} >=dev-qt/qtquickcontrols2-${QTMIN}:5 >=kde-frameworks/kdeclarative-${PVCUT}:5 bluetooth? ( =kde-frameworks/bluez-qt-${PVCUT}*:5 ) - kaccounts? ( >=net-libs/accounts-qml-0.7_p20231028[qt5(-)] ) + kaccounts? ( + kde-frameworks/purpose-kaccounts-services + >=net-libs/accounts-qml-0.7_p20231028[qt5(-)] + ) " BDEPEND="kaccounts? ( dev-util/intltool )" @@ -62,6 +65,14 @@ src_configure() { ecm_src_configure } +src_install() { + # Shipped by kde-frameworks/purpose-kaccounts-services package for shared use w/ SLOT 5 + use kaccounts && ECM_REMOVE_FROM_INSTALL=( + /usr/share/accounts/services/kde/{google-youtube,nextcloud-upload}.service + ) + ecm_src_install +} + pkg_postinst() { if [[ -z "${REPLACING_VERSIONS}" ]]; then optfeature "Send through KDE Connect" kde-misc/kdeconnect diff --git a/kde-frameworks/purpose/purpose-9999.ebuild b/kde-frameworks/purpose/purpose-9999.ebuild index 7f6966dca52..a7ce6d319e8 100644 --- a/kde-frameworks/purpose/purpose-9999.ebuild +++ b/kde-frameworks/purpose/purpose-9999.ebuild @@ -35,10 +35,12 @@ DEPEND=" ) " RDEPEND="${DEPEND} - !${CATEGORY}/${PN}:5[-kf6compat(-)] >=kde-frameworks/kdeclarative-${PVCUT}:6 bluetooth? ( =kde-frameworks/bluez-qt-${PVCUT}*:6 ) - webengine? ( >=net-libs/accounts-qml-0.7_p20231028[qt6] ) + webengine? ( + >=kde-frameworks/purpose-kaccounts-services-${PVCUT} + >=net-libs/accounts-qml-0.7_p20231028[qt6] + ) " BDEPEND="webengine? ( dev-util/intltool )" @@ -57,6 +59,14 @@ src_configure() { ecm_src_configure } +src_install() { + # Shipped by kde-frameworks/purpose-kaccounts-services package for shared use w/ SLOT 5 + use webengine && ECM_REMOVE_FROM_INSTALL=( + /usr/share/accounts/services/kde/{google-youtube,nextcloud-upload}.service + ) + ecm_src_install +} + pkg_postinst() { if [[ -z "${REPLACING_VERSIONS}" ]]; then optfeature "Send through KDE Connect" kde-misc/kdeconnect |
