commit:     3fc24764cd36143da77a546b3ee3c75b898776a8
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 19 21:10:49 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 21:16:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fc24764

app-misc/brewtarget: Fix .desktop file name according to spec

See also:
https://github.com/Brewtarget/brewtarget/issues/933

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-misc/brewtarget/brewtarget-4.0.17.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app-misc/brewtarget/brewtarget-4.0.17.ebuild 
b/app-misc/brewtarget/brewtarget-4.0.17.ebuild
index b98b22546f71..884296e42793 100644
--- a/app-misc/brewtarget/brewtarget-4.0.17.ebuild
+++ b/app-misc/brewtarget/brewtarget-4.0.17.ebuild
@@ -50,3 +50,9 @@ src_test() {
 
        meson_src_test
 }
+
+src_install() {
+       meson_src_install
+       # Upstream issue: https://github.com/Brewtarget/brewtarget/issues/933
+       mv "${ED}"/usr/share/applications/{${PN},com.brewken.${PN}}.desktop || 
die
+}

Reply via email to