commit:     4f0bb3320bb67efdcd9a9490350b75163e092345
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 27 20:54:49 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 27 21:21:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0bb332

kde-apps/kio-extras: Add missing xdg mime handling for IUSE samba

Closes: https://bugs.gentoo.org/954847
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/kio-extras/kio-extras-25.04.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/kde-apps/kio-extras/kio-extras-25.04.0.ebuild 
b/kde-apps/kio-extras/kio-extras-25.04.0.ebuild
index b7dc565619de..436edde03028 100644
--- a/kde-apps/kio-extras/kio-extras-25.04.0.ebuild
+++ b/kde-apps/kio-extras/kio-extras-25.04.0.ebuild
@@ -7,7 +7,7 @@ ECM_HANDBOOK="optional"
 ECM_TEST="true"
 KFMIN=6.9.0
 QTMIN=6.7.2
-inherit ecm gear.kde.org optfeature
+inherit ecm gear.kde.org optfeature xdg
 
 DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data"
 HOMEPAGE="https://invent.kde.org/network/kio-extras";
@@ -102,4 +102,9 @@ src_configure() {
 
 pkg_postinst() {
        optfeature "alternative filename search backend" sys-apps/ripgrep
+       use samba && xdg_pkg_postinst
+}
+
+pkg_postrm() {
+       use samba && xdg_pkg_postrm
 }

Reply via email to