summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2025-02-02 09:33:35 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2025-02-02 21:45:08 +0100
commit0cacee1583b5ce3242382647669078899d6c1370 (patch)
tree8cb03bbea23d5451d18554437fbd70eb597857e0
parentac0b6a3a48b156f53a7df38f448c17d4dedc2994 (diff)
downloadkde-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>
-rw-r--r--kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild14
-rw-r--r--kde-frameworks/kio/kio-9999.ebuild14
-rw-r--r--kde-frameworks/purpose/purpose-9999.ebuild11
3 files changed, 7 insertions, 32 deletions
diff --git a/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild b/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild
index b4775c5bf19..f6b69d886db 100644
--- a/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild
+++ b/kde-frameworks/kcoreaddons/kcoreaddons-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_PYTHON_BINDINGS="off"
QTMIN=6.7.2
-inherit ecm frameworks.kde.org xdg-utils
+inherit ecm frameworks.kde.org xdg
DESCRIPTION="Framework for solving common problems such as caching, randomisation, and more"
@@ -48,13 +48,3 @@ src_test() {
# bug 619656
ecm_src_test -j1
}
-
-pkg_postinst() {
- ecm_pkg_postinst
- xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
- ecm_pkg_postrm
- xdg_mimeinfo_database_update
-}
diff --git a/kde-frameworks/kio/kio-9999.ebuild b/kde-frameworks/kio/kio-9999.ebuild
index 129ca7ea728..5847aca944b 100644
--- a/kde-frameworks/kio/kio-9999.ebuild
+++ b/kde-frameworks/kio/kio-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
@@ -8,7 +8,7 @@ ECM_HANDBOOK="optional"
ECM_HANDBOOK_DIR="docs"
ECM_TEST="forceoptional"
QTMIN=6.7.2
-inherit ecm frameworks.kde.org xdg-utils
+inherit ecm frameworks.kde.org xdg
DESCRIPTION="Framework providing transparent file and data management"
@@ -83,13 +83,3 @@ src_configure() {
ecm_src_configure
}
-
-pkg_postinst() {
- ecm_pkg_postinst
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- ecm_pkg_postrm
- xdg_desktop_database_update
-}
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
}