commit:     756d610094a50537cad2f1836c53daebba430c5e
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Sun Feb  2 07:33:35 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 22:46:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=756d6100

kde-frameworks/purpose: switch to xdg.eclass

... as ecm no longer provides it.

In Frameworks packages, KFMIN is derived from PV, which means for >=6.9.0,
pkg_postinst and pkg_postrm phase functions are no longer exported.

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/purpose/purpose-6.10.0.ebuild | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/kde-frameworks/purpose/purpose-6.10.0.ebuild 
b/kde-frameworks/purpose/purpose-6.10.0.ebuild
index 33ae136e9232..5ceed0dae492 100644
--- a/kde-frameworks/purpose/purpose-6.10.0.ebuild
+++ b/kde-frameworks/purpose/purpose-6.10.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 ECM_QTHELP="false"
 ECM_TEST="forceoptional"
 QTMIN=6.7.2
-inherit ecm frameworks.kde.org optfeature xdg-utils
+inherit ecm frameworks.kde.org optfeature xdg
 
 DESCRIPTION="Library for providing abstractions to get the developer's 
purposes fulfilled"
 
@@ -70,10 +70,5 @@ pkg_postinst() {
        if [[ -z "${REPLACING_VERSIONS}" ]]; then
                optfeature "Send through KDE Connect" kde-misc/kdeconnect
        fi
-       ecm_pkg_postinst
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
+       xdg_pkg_postinst
 }

Reply via email to