commit:     a97d2090d8f3b5d9262f172cf1feae15044e0559
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 19:00:12 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 19:00:12 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=a97d2090

kde-frameworks/purpose: Avoid additional conflicts with IUSE kaccounts

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/purpose/purpose-5.114.0.ebuild    | 4 ++++
 kde-frameworks/purpose/purpose-5.239.9999.ebuild | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/kde-frameworks/purpose/purpose-5.114.0.ebuild 
b/kde-frameworks/purpose/purpose-5.114.0.ebuild
index 28c14dc14b..f2acc6d5c2 100644
--- a/kde-frameworks/purpose/purpose-5.114.0.ebuild
+++ b/kde-frameworks/purpose/purpose-5.114.0.ebuild
@@ -71,6 +71,10 @@ src_install() {
                rm 
"${D}"/usr/share/icons/hicolor/128x128/apps/{reviewboard,phabricator}-purpose.png
 \
                        
"${D}"/usr/share/icons/hicolor/16x16/apps/{reviewboard,phabricator}-purpose.png 
\
                        || die
+               if use kaccounts; then
+                       rm 
"${D}"/usr/share/accounts/services/kde/{google-youtube,nextcloud-upload}.service
 \
+                       || die
+               fi
        fi
 }
 

diff --git a/kde-frameworks/purpose/purpose-5.239.9999.ebuild 
b/kde-frameworks/purpose/purpose-5.239.9999.ebuild
index 32d2376987..619d3da669 100644
--- a/kde-frameworks/purpose/purpose-5.239.9999.ebuild
+++ b/kde-frameworks/purpose/purpose-5.239.9999.ebuild
@@ -71,6 +71,10 @@ src_install() {
                rm 
"${D}"/usr/share/icons/hicolor/128x128/apps/{reviewboard,phabricator}-purpose.png
 \
                        
"${D}"/usr/share/icons/hicolor/16x16/apps/{reviewboard,phabricator}-purpose.png 
\
                        || die
+               if use kaccounts; then
+                       rm 
"${D}"/usr/share/accounts/services/kde/{google-youtube,nextcloud-upload}.service
 \
+                       || die
+               fi
        fi
 }
 

Reply via email to