kde-plasma/plasma-mimeapps-list: replace plasma-desktop kde-mimeapps.list

[sam: Note that pkgcheck complaints about insinto/newins here but it's bogus
as we're *not* installing a menu item. Will file a bug about that later,
though it may be awkward to handle.]

Bug: https://bugs.gentoo.org/948681
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate 2025-01-25 06:33:30 +02:00 committed by Sam James
parent 8fcf029f9d
commit ef042cf60b
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -13,14 +13,15 @@ SLOT="0"
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE=""
RDEPEND=""
# 6.2.4 and 6.2.5 both modified with a new revision to stop installing kde-mimeapps.list.
RDEPEND="
!<kde-plasma/plasma-desktop-6.2.4-r1
!=kde-plasma/plasma-desktop-6.2.5-r0
"
src_install() {
default
# TODO: Should we just remove the upstream one in /usr/share?
# /etc/xdg should really be available for site-local overrides, but then
# again we have CONFIG_PROTECT...
insinto /etc/xdg
doins "${FILESDIR}"/mimeapps.list
insinto /usr/share/applications/
newins "${FILESDIR}"/mimeapps.list kde-mimeapps.list
}