commit: 39abaaab4d28d0f326286b8d67978a8738461a4e Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Sat Jan 25 04:33:30 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 25 10:52:26 2025 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=39abaaab
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 <AT> protonmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> .../plasma-mimeapps-list-2.ebuild | 26 -------------------- .../plasma-mimeapps-list-3.ebuild | 28 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 26 deletions(-) diff --git a/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-2.ebuild b/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-2.ebuild deleted file mode 100644 index b6d5866dc1..0000000000 --- a/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-2.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Gentoo curated mimeapps list for KDE Plasma" -HOMEPAGE="https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.1.html" -SRC_URI="" -S=${WORKDIR} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RDEPEND="" - -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 -} diff --git a/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-3.ebuild b/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-3.ebuild new file mode 100644 index 0000000000..26e117dad7 --- /dev/null +++ b/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-3.ebuild @@ -0,0 +1,28 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Gentoo curated mimeapps list for KDE Plasma" +HOMEPAGE="https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.1.html" +SRC_URI="" +S=${WORKDIR} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# 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 + !=kde-plasma/plasma-desktop-6.2.91-r0 +" + +src_install() { + default + + insinto /usr/share/applications/ + newins "${FILESDIR}"/mimeapps.list kde-mimeapps.list +}
