From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1705050-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 49B8E15812D for <garchives@archives.gentoo.org>; Thu, 02 Jan 2025 16:33:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55215E0831; Thu, 02 Jan 2025 16:33:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 339A4E0831 for <gentoo-commits@lists.gentoo.org>; Thu, 02 Jan 2025 16:33:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 31797335DC5 for <gentoo-commits@lists.gentoo.org>; Thu, 02 Jan 2025 16:33:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D5AA11B5 for <gentoo-commits@lists.gentoo.org>; Thu, 02 Jan 2025 16:33:03 +0000 (UTC) From: "Conrad Kostecki" <conikost@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" <conikost@gentoo.org> Message-ID: <1735835511.6b8aa28dc1b39d0c89eb8bf200d4917458dbfb41.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/faudio/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/faudio/Manifest app-emulation/faudio/faudio-25.01.ebuild X-VCS-Directories: app-emulation/faudio/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 6b8aa28dc1b39d0c89eb8bf200d4917458dbfb41 X-VCS-Branch: master Date: Thu, 02 Jan 2025 16:33:03 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a951d756-754c-47a2-8097-9459997ff35e X-Archives-Hash: 6fa1c99bfb2ca1ca7b06bde236e9563f commit: 6b8aa28dc1b39d0c89eb8bf200d4917458dbfb41 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Thu Jan 2 16:31:51 2025 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Thu Jan 2 16:31:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b8aa28d app-emulation/faudio: add 25.01 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> app-emulation/faudio/Manifest | 1 + app-emulation/faudio/faudio-25.01.ebuild | 37 ++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/app-emulation/faudio/Manifest b/app-emulation/faudio/Manifest index caf7729d7fea..3a3033e5a92f 100644 --- a/app-emulation/faudio/Manifest +++ b/app-emulation/faudio/Manifest @@ -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 diff --git a/app-emulation/faudio/faudio-25.01.ebuild b/app-emulation/faudio/faudio-25.01.ebuild new file mode 100644 index 000000000000..dfce1c40eb5b --- /dev/null +++ b/app-emulation/faudio/faudio-25.01.ebuild @@ -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 +}