commit:     8823444463e36a03af90ce76eed7e75a91672b3d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 00:33:46 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 00:36:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88234444

x11-misc/i3status: skip tests which needs alsa

Closes: https://bugs.gentoo.org/840622
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-misc/i3status/i3status-2.14.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/x11-misc/i3status/i3status-2.14.ebuild 
b/x11-misc/i3status/i3status-2.14.ebuild
index 9a1390b6ee6a..4a7d1e2f875a 100644
--- a/x11-misc/i3status/i3status-2.14.ebuild
+++ b/x11-misc/i3status/i3status-2.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -29,8 +29,18 @@ DEPEND="
 "
 
 PATCHES=(
+
 )
 
+src_prepare() {
+       default
+
+       # Needs an ALSA master device, bug #840622
+       # Also skipped in CI:
+       # 
https://github.com/i3/i3status/blob/07ad5aef2deea1f10eb6c544593e7a87205f24f8/.github/workflows/main.yml#L34
+       rm -rf testcases/020-percentliteral-volume || die
+}
+
 src_configure() {
        local emesonargs=(
                $(meson_use pulseaudio pulseaudio)

Reply via email to