commit:     3a0858ec78a400df1b88f0f34b29ffa238e2834a
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  4 13:43:59 2025 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Oct  4 13:43:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a0858ec

app-emulation/faudio: add 25.10

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

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

diff --git a/app-emulation/faudio/Manifest b/app-emulation/faudio/Manifest
index b8c7c8557903..0f1669e15689 100644
--- a/app-emulation/faudio/Manifest
+++ b/app-emulation/faudio/Manifest
@@ -1,3 +1,4 @@
 DIST faudio-25.04.tar.gz 1126602 BLAKE2B 
f25a05b6e4f94038c2e1d8d1574774d0039cff50db802674fb2c94d9a345a580e0e941d5e817faea06599eb9f31f70f350ae87e567257dfa748407b3d5ffda70
 SHA512 
191b4947c43161c74f32da0208d752f492bcc48eb4ce5bd94824fe541ce0446ff522bfed45fdde29eb05f6938ed814dba3bde31fd06abed4bccf6a79cf334eac
 DIST faudio-25.08.tar.gz 1130751 BLAKE2B 
8fb46d46c82804931f9aa5325e446924ff2f05d2b183df8d2871157c9154055a4532a360ab4bde3dd590c59ce4c197c27c7c3028d950768932913cfa50f08e58
 SHA512 
f5acd68969e918a70ca59e2f9ef9f1c0c528a07d10537525c440247ccda0d11af7e079a815a17352f35e28c11abb33b6a926db44e87eeaa1f6910c8f0dee9ad4
 DIST faudio-25.09.tar.gz 1130925 BLAKE2B 
f6f7e78ed39b73fbd9a9ea0d9e1d4d9cf0752e4741d66a160d0fbed6653e6fd5f719503eda97c703171ce101d4e9d7355a93215eb07c1a85f5b1b03065581923
 SHA512 
3327827801658027709ea3108b2ead2703b4755b9e83d2df2b028be8f9799bcd3b7ecd351fe44200b8c98b417f32adfeccb4cc105ac89709ef5f3fae64f22380
+DIST faudio-25.10.tar.gz 1130943 BLAKE2B 
a4c6f4fa057c0258fdaf396be1714649ee9feb584479462c62b865cddfbb3b0be2857fcd87011e1c22d0afb836d4519250e1e0b6d29414fbdadab8f141aedb46
 SHA512 
08f4f8ca74c2c8d885b88388d420691358ca357b1f3f03bb1aa778cb0b9115e4ed7446fedaaa83c5b95e8a306ad596acb090fe6dfa11055b7588a342f8bf185c

diff --git a/app-emulation/faudio/faudio-25.10.ebuild 
b/app-emulation/faudio/faudio-25.10.ebuild
new file mode 100644
index 000000000000..a3563e0713d0
--- /dev/null
+++ b/app-emulation/faudio/faudio-25.10.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 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