commit:     ef042cf60b50500d364675af5961808eb8941298
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:51:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef042cf6

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>

 ...mimeapps-list-2.ebuild => plasma-mimeapps-list-3.ebuild} | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-2.ebuild 
b/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-3.ebuild
similarity index 60%
rename from kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-2.ebuild
rename to kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-3.ebuild
index 0e8df0284292..b2e6d173cf2b 100644
--- a/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-2.ebuild
+++ b/kde-plasma/plasma-mimeapps-list/plasma-mimeapps-list-3.ebuild
@@ -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
 }

Reply via email to