diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-07-26 22:41:47 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-07-26 22:45:03 +0200 |
commit | 43c6c7b5f4d049908aa0b7fa437ced7cc9ae535c (patch) | |
tree | 5d06a9e255f6e41a5144ba45fc3b74b44920fe4d /app-emulation | |
parent | media-tv/dtv-scan-tables: Drop old 0_p20210430 (diff) | |
download | gentoo-43c6c7b5f4d049908aa0b7fa437ced7cc9ae535c.tar.gz gentoo-43c6c7b5f4d049908aa0b7fa437ced7cc9ae535c.tar.bz2 gentoo-43c6c7b5f4d049908aa0b7fa437ced7cc9ae535c.zip |
app-emulation/faudio: add 24.07
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/faudio/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/faudio/faudio-24.07.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/app-emulation/faudio/Manifest b/app-emulation/faudio/Manifest index 6fde49b24cb7..4427bea058b2 100644 --- a/app-emulation/faudio/Manifest +++ b/app-emulation/faudio/Manifest @@ -2,3 +2,4 @@ DIST faudio-23.02.tar.gz 1111012 BLAKE2B c776a5b882697fbbed894f129165600b1aad8b3 DIST faudio-23.10.tar.gz 1120033 BLAKE2B 2f064ba71386db69870b4e523625c421b2062f3584f834b55367dd675a1a61509831b036ed2e459cd2ea247e2b56401142bf73b6e828bd2ff4699623ba0d453f SHA512 cc17c1c3950267a8cc69d0a263deef1d80e8bb9f658f1c2cd1c137bccac1d2be234d17f9b790bbe8bd1ba9da7e13676d3d38e328399d5a706f6ed502365de9ba DIST faudio-24.02.tar.gz 1122131 BLAKE2B 5ace47c679e7c35fc13157c1bdf6d8a8080fd9e3516f9007628875a2c67d1d2aab63404261c28aadcb33305c196c6e96ba8045d50e42d7f79d47ee0696bdb068 SHA512 de48196bc9d93784d2f2ce20c7aba83066a8a7653781104eb3b15fa8206e54875d5c555dab4c6fb763cf41fd6ec733e71b6bba53c8cafd98af99ea9eb0a3d666 DIST faudio-24.06.tar.gz 1125079 BLAKE2B 2664181d1fbed594b3f7af93877cb9f3ae1a9c34ed2e69d6307997e8b360045698d460912a1b689e060d9742fd002ce0370a6133dd944fa0b6e296949e679103 SHA512 d8fb3c2303c81163a26f437edce5ae428f4769a28107eb21f1fdb637421480928fc6f0031fc053caa762db901d659336a6e2ffad78ece9ab03ba4f312b00deb6 +DIST faudio-24.07.tar.gz 1125108 BLAKE2B 4ff38ed79c3692f73850c31a0380df6cbafc156eff074e1384c3ef86af459769ba0c742a05b1ebd619b5d24e69bad761f1f7d01cebf526d4568d19e470f02e5a SHA512 bfb265d496c10e1e9fa032506c6de507ba04d5a1384f23cd07b7550b0fd427e78db8a66eede3717b4287ecb6d6695a13c888477d2686350bb7c936cbc6b74c7b diff --git a/app-emulation/faudio/faudio-24.07.ebuild b/app-emulation/faudio/faudio-24.07.ebuild new file mode 100644 index 000000000000..e372ae484496 --- /dev/null +++ b/app-emulation/faudio/faudio-24.07.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake 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 test" +RESTRICT="!test? ( test )" + +RDEPEND="media-libs/libsdl2[sound]" +DEPEND="${RDEPEND}" + +src_configure() { + append-cppflags -D_DEFAULT_SOURCE # usleep() in tests + use debug || append-cppflags -DFAUDIO_DISABLE_DEBUGCONFIGURATION + + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + -DDUMP_VOICES=$(usex dumpvoices) + ) + + cmake_src_configure +} + +src_test() { + einfo "Running faudio_tests, this may take some time without output..." + SDL_AUDIODRIVER=dummy "${BUILD_DIR}"/faudio_tests || die +} |