diff options
| author | Alfred Wingate <parona@protonmail.com> | 2025-02-02 09:33:35 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2025-02-02 21:45:08 +0100 |
| commit | 0cacee1583b5ce3242382647669078899d6c1370 (patch) | |
| tree | 8cb03bbea23d5451d18554437fbd70eb597857e0 /kde-frameworks/purpose | |
| parent | ac0b6a3a48b156f53a7df38f448c17d4dedc2994 (diff) | |
| download | kde-0cacee1583b5ce3242382647669078899d6c1370.tar.gz kde-0cacee1583b5ce3242382647669078899d6c1370.tar.bz2 kde-0cacee1583b5ce3242382647669078899d6c1370.zip | |
kde-frameworks/*: 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.
Amends a0ef7f4ec0401eed8dd31ec1b4ce6a153c91a7eb
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Closes: https://github.com/gentoo/kde/pull/1027
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/purpose')
| -rw-r--r-- | kde-frameworks/purpose/purpose-9999.ebuild | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/kde-frameworks/purpose/purpose-9999.ebuild b/kde-frameworks/purpose/purpose-9999.ebuild index abff88a4bdf..3783549f910 100644 --- a/kde-frameworks/purpose/purpose-9999.ebuild +++ b/kde-frameworks/purpose/purpose-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -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 } |
