mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emulation/faudio: add 25.01
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST faudio-24.12.tar.gz 1126609 BLAKE2B 06b610a49080f036b521a0acbe10a82aae748e240dcb87cecf5eeda89d982e5fca3ae2d9a8afb2ad45957ddcb26f423ebbf2639b320e0fb2683aa0ab7cd0f523 SHA512 1bef0f3c60850537330033b136fbb5205901db8bfedcce7650b98564d8b514623f4b8e702adf025c9d6a8707eb7c73f90e9b8fd40085bd8027e1cb7c6f3be11e
|
||||
DIST faudio-25.01.tar.gz 1127223 BLAKE2B 93b82fd9cb5c0f0a5944568e6fc3e1ca4cc88c804e22da2c9a12f58922567fdfe9a01726cc69b91211c0853077eb071db8bc992f790b21c9138352ebd77f5cae SHA512 099292d41ace3ea85a9d8d465c4e55542cd5b233bf53d2088b97ec6c1f99c416dc09455efd328edf5e9c73dfa248bb48d0f08750c71f129fad3f93d5bc852ec7
|
||||
|
||||
37
app-emulation/faudio/faudio-25.01.ebuild
Normal file
37
app-emulation/faudio/faudio-25.01.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2025 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
|
||||
}
|
||||
Reference in New Issue
Block a user