commit: 79002c26340590f597b01953215546a758c9e239
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 26 12:49:59 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 13:01:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79002c26
games-emulation/pcsx2: optfeature on alsa-utils/gst-plugins-base
Unlikely to be (both) missing on the average desktop system but warn
in case given upstream ranted about someone not having alsa-utils
on Arch in the linked issue and it could very well happen here too.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-emulation/pcsx2/pcsx2-1.7.5724.ebuild | 6 +++++-
games-emulation/pcsx2/pcsx2-9999.ebuild | 8 +++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/games-emulation/pcsx2/pcsx2-1.7.5724.ebuild
b/games-emulation/pcsx2/pcsx2-1.7.5724.ebuild
index 5c49263139b5..634e5d0a4e32 100644
--- a/games-emulation/pcsx2/pcsx2-1.7.5724.ebuild
+++ b/games-emulation/pcsx2/pcsx2-1.7.5724.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake desktop fcaps flag-o-matic toolchain-funcs
+inherit cmake desktop fcaps flag-o-matic optfeature toolchain-funcs
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -152,6 +152,10 @@ src_install() {
pkg_postinst() {
fcaps -m 0755 cap_net_admin,cap_net_raw=eip usr/lib/${PN}/pcsx2-qt
+ # calls aplay (or gst-play/launch-1.0 as fallback in next version)
+ # https://github.com/PCSX2/pcsx2/issues/11141
+ optfeature "UI sound effects support" media-sound/alsa-utils
+
if [[ ${REPLACING_VERSIONS##* } ]] &&
ver_test ${REPLACING_VERSIONS##* } -lt 1.7; then
elog ">=${PN}-1.7 has received several changes since
<=${PN}-1.6.0, and is"
diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild
b/games-emulation/pcsx2/pcsx2-9999.ebuild
index 23abb02ad48f..d8fea1ceb110 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake desktop fcaps flag-o-matic toolchain-funcs
+inherit cmake desktop fcaps flag-o-matic optfeature toolchain-funcs
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -157,6 +157,12 @@ src_install() {
pkg_postinst() {
fcaps -m 0755 cap_net_admin,cap_net_raw=eip usr/lib/${PN}/pcsx2-qt
+ # calls aplay or gst-play/launch-1.0 as fallback
+ # https://github.com/PCSX2/pcsx2/issues/11141
+ optfeature "UI sound effects support" \
+ media-sound/alsa-utils \
+ media-libs/gst-plugins-base:1.0
+
if [[ ${REPLACING_VERSIONS##* } ]] &&
ver_test ${REPLACING_VERSIONS##* } -lt 1.7; then
elog ">=${PN}-1.7 has received several changes since
<=${PN}-1.6.0, and is"