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

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2025-12-08 18:56:14 +01:00
parent 0f9d0cd7cc
commit befef34e0f
No known key found for this signature in database
GPG Key ID: AE591BBC73E4DD5E
2 changed files with 14 additions and 18 deletions

View File

@ -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
}

View File

@ -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
}