commit:     00694f38081f61e4b5f38433e5931544b996cc12
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 28 20:27:00 2026 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Jan 28 20:27:00 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00694f38

app-emulation/faudio: add 26.01

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-emulation/faudio/Manifest            |  1 +
 app-emulation/faudio/faudio-26.01.ebuild | 41 ++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/app-emulation/faudio/Manifest b/app-emulation/faudio/Manifest
index 074251fc881e..61eda31bbe8b 100644
--- a/app-emulation/faudio/Manifest
+++ b/app-emulation/faudio/Manifest
@@ -1,2 +1,3 @@
 DIST faudio-25.11.tar.gz 1130946 BLAKE2B 
d897e8d1a54f5988d3a1414904cf2719b045e3ad42062581575dea0c72bb473d8d07c46784e4623fd28b5677280da5a1b242ec55f971e585b672c53ab4d16e30
 SHA512 
00a3b6d7eb1fa91547f06fc0ec9bd9e7f956d2244568da3ba5144641113a6040c94c0b1d0b32da37ac1a4b51de8322afb8947c5d8817dc1e6de3214f086ee554
 DIST faudio-25.12.tar.gz 1131636 BLAKE2B 
c33f6826f3237c95e34837da22e1fbf7e026332e9fef93b93ae20a8bf93c332c0ff8041d3a41ee73dd9ed1a2d1d1e2cd57f35b82425b22b0499416c89a09e982
 SHA512 
2d9f7c93bc6d82934765d2e1468ce4facbe0396cf7905dca4de4b178cf5eabcb0535a8380d27c40bb8f5c72473e1a8af4791dd81931571102c333dcbd44cbdc2
+DIST faudio-26.01.tar.gz 1131781 BLAKE2B 
ac3711e28136ddf751472685a3fb646851a1e24cc177d82aebf7bfce84b5d06a67ed5ec089718bc2dc7f053829605a21ec2e3a857305569b4031a4080945a8ad
 SHA512 
004567c6339ce006afbf19c44ee88e4fab8bfcd7b3e50b25058569584cd0caa891aeaf7087089bafabd646e9739ccc036f984f9f0fb271ba154406e1d30eb2e1

diff --git a/app-emulation/faudio/faudio-26.01.ebuild 
b/app-emulation/faudio/faudio-26.01.ebuild
new file mode 100644
index 000000000000..70f5ae591a4b
--- /dev/null
+++ b/app-emulation/faudio/faudio-26.01.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib flag-o-matic
+
+DESCRIPTION="Accuracy-focused XAudio reimplementation for open platforms"
+HOMEPAGE="https://fna-xna.github.io/";
+SRC_URI="https://github.com/FNA-XNA/FAudio/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/FAudio-${PV}"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug dumpvoices sdl3 test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       sdl3? ( media-libs/libsdl3[${MULTILIB_USEDEP}] )
+       !sdl3? ( media-libs/libsdl2[${MULTILIB_USEDEP},sound] )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       append-cppflags -D_DEFAULT_SOURCE # usleep() in tests
+       use debug || append-cppflags -DFAUDIO_DISABLE_DEBUGCONFIGURATION
+
+       local mycmakeargs=(
+               -DBUILD_SDL3="$(usex sdl3)"
+               -DBUILD_TESTS="$(usex test)"
+               -DDUMP_VOICES="$(usex dumpvoices)"
+       )
+
+       cmake-multilib_src_configure
+}
+
+multilib_src_test() {
+       einfo "Running faudio_tests, this may take some time without output..."
+       SDL_AUDIODRIVER=dummy "${BUILD_DIR}"/faudio_tests || die
+}

Reply via email to