diff options
author | 2024-04-04 11:38:22 +0000 | |
---|---|---|
committer | 2024-04-04 21:52:23 +1000 | |
commit | 1716ba0db48fa3fa752b9e76ce90c3d8df6a460a (patch) | |
tree | f46502361ec21b5c764398b4c375fa02ac2f0d16 /app-emulation | |
parent | app-emulation/faudio: add 23.10 (diff) | |
download | gentoo-1716ba0db48fa3fa752b9e76ce90c3d8df6a460a.tar.gz gentoo-1716ba0db48fa3fa752b9e76ce90c3d8df6a460a.tar.bz2 gentoo-1716ba0db48fa3fa752b9e76ce90c3d8df6a460a.zip |
app-emulation/faudio: add 24.02
Signed-off-by: germ <germtoo@outlook.com>
Closes: https://github.com/gentoo/gentoo/pull/33738
Closes: https://github.com/gentoo/gentoo/pull/36070
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/faudio/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/faudio/faudio-24.02.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/app-emulation/faudio/Manifest b/app-emulation/faudio/Manifest index b51957207feb..8309fa7609e5 100644 --- a/app-emulation/faudio/Manifest +++ b/app-emulation/faudio/Manifest @@ -1,2 +1,3 @@ DIST faudio-23.02.tar.gz 1111012 BLAKE2B c776a5b882697fbbed894f129165600b1aad8b303254e9ecbf6111fff71581491b484681a71d377854077dfc23b99d1217e5322bdd9923caf4471cc0bc2ca0f2 SHA512 d83adca1f1e42b1c7d63dad30886b58a914ac9a5a254f26d3fdb2386776840e3c40b22a8dd9c7172e6c97b0db989f919fd2ebeac2ec00075a8136ec9120bc390 DIST faudio-23.10.tar.gz 1120033 BLAKE2B 2f064ba71386db69870b4e523625c421b2062f3584f834b55367dd675a1a61509831b036ed2e459cd2ea247e2b56401142bf73b6e828bd2ff4699623ba0d453f SHA512 cc17c1c3950267a8cc69d0a263deef1d80e8bb9f658f1c2cd1c137bccac1d2be234d17f9b790bbe8bd1ba9da7e13676d3d38e328399d5a706f6ed502365de9ba +DIST faudio-24.02.tar.gz 1122131 BLAKE2B 5ace47c679e7c35fc13157c1bdf6d8a8080fd9e3516f9007628875a2c67d1d2aab63404261c28aadcb33305c196c6e96ba8045d50e42d7f79d47ee0696bdb068 SHA512 de48196bc9d93784d2f2ce20c7aba83066a8a7653781104eb3b15fa8206e54875d5c555dab4c6fb763cf41fd6ec733e71b6bba53c8cafd98af99ea9eb0a3d666 diff --git a/app-emulation/faudio/faudio-24.02.ebuild b/app-emulation/faudio/faudio-24.02.ebuild new file mode 100644 index 000000000000..e372ae484496 --- /dev/null +++ b/app-emulation/faudio/faudio-24.02.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 +} |