diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-03 03:04:04 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-03 03:04:04 +0000 |
commit | 212000bb5eabdfeb9a6e7a9b8f28e2740cae555a (patch) | |
tree | dbbe26e892147b95a24336cc44d791dbe0c0ce5f /app-emulation/faudio | |
parent | 37a097af13d675b83911ac006ee9ee22d2163f9a (diff) |
gentoo auto-resync : 03:11:2024 - 03:04:03
Diffstat (limited to 'app-emulation/faudio')
-rw-r--r-- | app-emulation/faudio/Manifest | 2 | ||||
-rw-r--r-- | app-emulation/faudio/faudio-24.11.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/app-emulation/faudio/Manifest b/app-emulation/faudio/Manifest index 08502cad2b07..0d683ddc2569 100644 --- a/app-emulation/faudio/Manifest +++ b/app-emulation/faudio/Manifest @@ -1,3 +1,5 @@ DIST faudio-24.10.tar.gz 1125385 BLAKE2B 1179139403621302c238b1ba4dfd691b64541c2b23919cfb86f9cad587e1fbd68be18c62c00fc3a9c408d7c580e2ce63392d362ad32a60957bc102b5a1189c51 SHA512 e0b2031ba8452aa0696bc841013db5558c97f87a0071cf5fb48dd668363980d6d7d1adbc22d051e5019f32ee4aaf5553ebb80d37b87e9bcde153b828be5ff127 +DIST faudio-24.11.tar.gz 1126428 BLAKE2B 47dc75a85a247079cabd1920dc63a2932bedcdb848bcf3e0f7d6ce8b093c53dc16af2329bd21ab92578378a0b4ba5e494a9e97fd0b54f80a7c1a29dabeadc008 SHA512 7a2c8c1ea7e3ab31211dedbd54cd60d06ddb0ada5ae00c7eca3bbf71cee4701ecbb232313f672018e28e472285e0862658ad1fa84f01fd8e77deefb47e47d080 EBUILD faudio-24.10.ebuild 920 BLAKE2B 12bb27ecc809be0b53cef352bc722a8594c177263fea398710c808577ee77da594b78c0a2f86335d7f62fb81065cc5636e33138281af88cc8d522b7ad3795620 SHA512 9c68c1dcc2ba2e17e5cbac0cadb8fc6ed5eef85cf5d4df133134afc889a577e05ce2bed4a91b5db4e8f0a1f24f61bc48b6dc807e5606415c9a7b5ed1aa8f3594 +EBUILD faudio-24.11.ebuild 922 BLAKE2B c6dd07114357c562b66ac863e8e60b8cfd8186c64eadd5157810f7f9c053bfa458ddff0a73d0c71a6924ec6b9a43c7640351d9c4e9df28b59ef3fd1a11cb91bd SHA512 1b87460b62a618462045196bc288a84d1eef54845cff0cf9f4099320ae7b929f47e32acf29c73bd76563ff6188856636cac884f531893594e8361a3ffbaadce5 MISC metadata.xml 719 BLAKE2B b71b3829f3c1a2a546621b460f3ccc41f79db0acf913f409bc55ad2b8632a8361a7b45952b8aab2f9564391b14f3735f17c10a0e5f46da55fc49b730a743a5e6 SHA512 f52da50d3b16eb8dda8d2af6d7db6ae1e457d48c9a79977cb5288e379446ea4a5e420bd2dc17067d3bcba5cee7838ce10401f319e556d671b0483def94c3f2d7 diff --git a/app-emulation/faudio/faudio-24.11.ebuild b/app-emulation/faudio/faudio-24.11.ebuild new file mode 100644 index 000000000000..e372ae484496 --- /dev/null +++ b/app-emulation/faudio/faudio-24.11.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 +} |