commit:     51ca07dfca5e5f0b34a4296ad054179d89a520c3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 02:38:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 02:38:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51ca07df

x11-misc/xdg-utils: fix path to qtpaths6 & typo

Thanks-to: Emanuel KomĂ­nek <drake127 <AT> planescape.cz>
Bug: https://bugs.gentoo.org/934941
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-misc/xdg-utils/files/xdg-utils-1.2.1-qtpaths.patch                  | 2 +-
 .../xdg-utils/{xdg-utils-1.2.1-r4.ebuild => xdg-utils-1.2.1-r5.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xdg-utils/files/xdg-utils-1.2.1-qtpaths.patch 
b/x11-misc/xdg-utils/files/xdg-utils-1.2.1-qtpaths.patch
index a92d652bf2dc..de4bde42a1af 100644
--- a/x11-misc/xdg-utils/files/xdg-utils-1.2.1-qtpaths.patch
+++ b/x11-misc/xdg-utils/files/xdg-utils-1.2.1-qtpaths.patch
@@ -12,7 +12,7 @@ Pending questions:
 -    if [ "${KDE_SESSION_VERSION:-0}" -gt 4 ] ; then
 -        default_dir="$(qtpaths --writable-path ConfigLocation)"
 +    if [ "${KDE_SESSION_VERSION:-0}" -gt 5 ] ; then
-+        default_dir="$($(pkg-config --variable=bindir Qt6Core)/qt6paths) 
--writable-path ConfigLocation)"
++        default_dir="$($(pkg-config --variable=bindir Qt6Core)/qtpaths6 
--writable-path ConfigLocation)"
 +        default_file="$default_dir/mimeapps.list"
 +    elif [ x"$KDE_SESSION_VERSION" = x"5" ; then
 +        default_dir="$(qtpaths5 --writable-path ConfigLocation)"

diff --git a/x11-misc/xdg-utils/xdg-utils-1.2.1-r4.ebuild 
b/x11-misc/xdg-utils/xdg-utils-1.2.1-r5.ebuild
similarity index 100%
rename from x11-misc/xdg-utils/xdg-utils-1.2.1-r4.ebuild
rename to x11-misc/xdg-utils/xdg-utils-1.2.1-r5.ebuild

Reply via email to