From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AAF921581E7 for ; Fri, 26 Apr 2024 13:01:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0127E29A0; Fri, 26 Apr 2024 13:01:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1FD3E29A0 for ; Fri, 26 Apr 2024 13:01:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CEA11343096 for ; Fri, 26 Apr 2024 13:01:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67FBA1752 for ; Fri, 26 Apr 2024 13:01:32 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1714136471.79002c26340590f597b01953215546a758c9e239.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/pcsx2/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/pcsx2/pcsx2-1.7.5724.ebuild games-emulation/pcsx2/pcsx2-9999.ebuild X-VCS-Directories: games-emulation/pcsx2/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 79002c26340590f597b01953215546a758c9e239 X-VCS-Branch: master Date: Fri, 26 Apr 2024 13:01:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1afa97ce-d003-41e6-9668-c31c4745a454 X-Archives-Hash: 61957956384573e7abdf0ce724af26ab commit: 79002c26340590f597b01953215546a758c9e239 Author: Ionen Wolkens gentoo org> AuthorDate: Fri Apr 26 12:49:59 2024 +0000 Commit: Ionen Wolkens gentoo 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 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"