commit: 9b0995d0f004254571f976cd945c209ee7b0335e Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Sun Dec 14 00:26:37 2025 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Dec 14 01:17:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b0995d0
app-emulation/faudio: add 25.12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> app-emulation/faudio/Manifest | 1 + app-emulation/faudio/faudio-25.12.ebuild | 41 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/app-emulation/faudio/Manifest b/app-emulation/faudio/Manifest index 7f7e8ac08ffa..074251fc881e 100644 --- a/app-emulation/faudio/Manifest +++ b/app-emulation/faudio/Manifest @@ -1 +1,2 @@ DIST faudio-25.11.tar.gz 1130946 BLAKE2B d897e8d1a54f5988d3a1414904cf2719b045e3ad42062581575dea0c72bb473d8d07c46784e4623fd28b5677280da5a1b242ec55f971e585b672c53ab4d16e30 SHA512 00a3b6d7eb1fa91547f06fc0ec9bd9e7f956d2244568da3ba5144641113a6040c94c0b1d0b32da37ac1a4b51de8322afb8947c5d8817dc1e6de3214f086ee554 +DIST faudio-25.12.tar.gz 1131636 BLAKE2B c33f6826f3237c95e34837da22e1fbf7e026332e9fef93b93ae20a8bf93c332c0ff8041d3a41ee73dd9ed1a2d1d1e2cd57f35b82425b22b0499416c89a09e982 SHA512 2d9f7c93bc6d82934765d2e1468ce4facbe0396cf7905dca4de4b178cf5eabcb0535a8380d27c40bb8f5c72473e1a8af4791dd81931571102c333dcbd44cbdc2 diff --git a/app-emulation/faudio/faudio-25.12.ebuild b/app-emulation/faudio/faudio-25.12.ebuild new file mode 100644 index 000000000000..a3563e0713d0 --- /dev/null +++ b/app-emulation/faudio/faudio-25.12.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 +}
