From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 68DCF1582EF for ; Sat, 08 Mar 2025 23:21:37 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2E082343061 for ; Sat, 08 Mar 2025 23:21:37 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id EEB261103AC; Sat, 08 Mar 2025 23:21:28 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id E530B1103AC for ; Sat, 08 Mar 2025 23:21:28 +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 9D11534305F for ; Sat, 08 Mar 2025 23:21:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04484289E for ; Sat, 08 Mar 2025 23:21:27 +0000 (UTC) From: "Conrad Kostecki" 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" Message-ID: <1741476060.8e5d6656f7ee49ea5f7e06522164a9cbccc3f3ed.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.03.ebuild X-VCS-Directories: app-emulation/faudio/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 8e5d6656f7ee49ea5f7e06522164a9cbccc3f3ed X-VCS-Branch: master Date: Sat, 08 Mar 2025 23:21:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a95a9dd5-b94f-401b-b595-f82cb63c7b36 X-Archives-Hash: d73d439a559fae7604a4f4c00f894eaf commit: 8e5d6656f7ee49ea5f7e06522164a9cbccc3f3ed Author: Conrad Kostecki gentoo org> AuthorDate: Sat Mar 8 22:59:48 2025 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Mar 8 23:21:00 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5d6656 app-emulation/faudio: add 25.03 Signed-off-by: Conrad Kostecki gentoo.org> app-emulation/faudio/Manifest | 1 + app-emulation/faudio/faudio-25.03.ebuild | 37 ++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/app-emulation/faudio/Manifest b/app-emulation/faudio/Manifest index 1b387f44d013..dee0838d6f2c 100644 --- a/app-emulation/faudio/Manifest +++ b/app-emulation/faudio/Manifest @@ -1,2 +1,3 @@ DIST faudio-25.01.tar.gz 1127223 BLAKE2B 93b82fd9cb5c0f0a5944568e6fc3e1ca4cc88c804e22da2c9a12f58922567fdfe9a01726cc69b91211c0853077eb071db8bc992f790b21c9138352ebd77f5cae SHA512 099292d41ace3ea85a9d8d465c4e55542cd5b233bf53d2088b97ec6c1f99c416dc09455efd328edf5e9c73dfa248bb48d0f08750c71f129fad3f93d5bc852ec7 DIST faudio-25.02.tar.gz 1127116 BLAKE2B 9df60de8a9448d5425c1e4b5d88bed12b4b7f40971c04120795f4c799e2b7bf8eb45a8e649c0cec8e4445e64d9a602e78769ca69bc998ddae66e5b9fc74e22a6 SHA512 1d93b0d167e23ea2f012ec10ca1227e05ff1b81aa9568ab35bb6335622a62bacb5ed33b788ef6e953050a3bfa7d15e6a9579821cf5e36c239998a0e1271c9c1e +DIST faudio-25.03.tar.gz 1126597 BLAKE2B bd95c8455adf072186309697040aea677b46afa25ccdc8ad45477d7f78237153908955fc8e772bfc7d460b9cd4dbad31a170a25b0352df052546b402a3f99023 SHA512 ec1f37a73aa5ad57841e297d8ee730b8b161144bc0624e29e9ba7b86c6f2d8657b2b20169603616701db04d99a9522dd1463c043e2c0e64eb7d980f4909327c7 diff --git a/app-emulation/faudio/faudio-25.03.ebuild b/app-emulation/faudio/faudio-25.03.ebuild new file mode 100644 index 000000000000..dfce1c40eb5b --- /dev/null +++ b/app-emulation/faudio/faudio-25.03.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 +}