From befef34e0fa7cbd3dca8f34c4ba85730d98eb8a6 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Mon, 8 Dec 2025 18:56:14 +0100 Subject: [PATCH] media-sound/qsynth: Switch make_desktop_entry to --eapi9 Signed-off-by: Andreas Sturmlechner --- 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 }