commit:     befef34e0fa7cbd3dca8f34c4ba85730d98eb8a6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  8 17:56:14 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 13 09:42:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=befef34e

media-sound/qsynth: Switch make_desktop_entry to --eapi9

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

 media-sound/qsynth/qsynth-1.0.2-r1.ebuild | 16 +++++++---------
 media-sound/qsynth/qsynth-9999.ebuild     | 16 +++++++---------
 2 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/media-sound/qsynth/qsynth-1.0.2-r1.ebuild 
b/media-sound/qsynth/qsynth-1.0.2-r1.ebuild
index e10bee8f4374..ad25536acdaa 100644
--- a/media-sound/qsynth/qsynth-1.0.2-r1.ebuild
+++ b/media-sound/qsynth/qsynth-1.0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -45,16 +45,14 @@ src_install() {
        # depending on useflags
        rm "${D}/usr/share/applications/org.rncbc.qsynth.desktop" || die
 
-       local cmd
-       if use jack; then
-               cmd="qsynth"
-       elif use pulseaudio; then
-               cmd="qsynth -a pulseaudio"
+       local args
+       if use pulseaudio; then
+               args="-a pulseaudio"
        elif use alsa; then
-               cmd="qsynth -a alsa"
+               args="-a alsa"
        else
-               cmd="qsynth -a oss"
+               args="-a oss"
        fi
 
-       make_desktop_entry "${cmd}" Qsynth org.rncbc.qsynth
+       make_desktop_entry --eapi9 qsynth -a "${args}" -n Qsynth -i 
org.rncbc.qsynth
 }

diff --git a/media-sound/qsynth/qsynth-9999.ebuild 
b/media-sound/qsynth/qsynth-9999.ebuild
index 1a8dd2a8ac2b..bb9185a4ae28 100644
--- a/media-sound/qsynth/qsynth-9999.ebuild
+++ b/media-sound/qsynth/qsynth-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -45,16 +45,14 @@ src_install() {
        # depending on useflags
        rm "${D}/usr/share/applications/org.rncbc.qsynth.desktop" || die
 
-       local cmd
-       if use jack; then
-               cmd="qsynth"
-       elif use pulseaudio; then
-               cmd="qsynth -a pulseaudio"
+       local args
+       if use pulseaudio; then
+               args="-a pulseaudio"
        elif use alsa; then
-               cmd="qsynth -a alsa"
+               args="-a alsa"
        else
-               cmd="qsynth -a oss"
+               args="-a oss"
        fi
 
-       make_desktop_entry "${cmd}" Qsynth org.rncbc.qsynth
+       make_desktop_entry --eapi9 qsynth -a "${args}" -n Qsynth -i 
org.rncbc.qsynth
 }

Reply via email to