From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 708D615800F for ; Sun, 19 Feb 2023 05:22:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6B45E091A; Sun, 19 Feb 2023 05:22:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 31DACE091A for ; Sun, 19 Feb 2023 05:22:19 +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 5CAD2340F22 for ; Sun, 19 Feb 2023 05:22:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9345D8AB for ; Sun, 19 Feb 2023 05:22:16 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1676782881.98f915475b49229740579b510425a8add497e6e9.ionen@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-23.02.ebuild X-VCS-Directories: app-emulation/faudio/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 98f915475b49229740579b510425a8add497e6e9 X-VCS-Branch: master Date: Sun, 19 Feb 2023 05:22:16 +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: 84422f0d-3c76-4b2e-8511-ca8d5266b561 X-Archives-Hash: 80e29f20271c2b6f2f584b9dad0fb6f8 commit: 98f915475b49229740579b510425a8add497e6e9 Author: Ionen Wolkens gentoo org> AuthorDate: Sun Feb 19 03:42:55 2023 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Feb 19 05:01:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f91547 app-emulation/faudio: add 23.02, simplify and drop multilib support Mostly to sanitize the ebuild before dropping wine@ from metadata, >=wine-7 does not need this package anymore, and its only consumer (app-emulation/86Box) doesn't need multilib complications (esp. the +abi_x86_32 that was pulling more 32bit deps by default). Extra notes on changes: * drop duplicate lowercase faudio.pc (was manually installed by the ebuild and does not seem used, 86Box looks for FAudio.pc) * no longer install to /usr/include/FAudio, default is directly under /usr/include which is acceptable given headers have unique names * drop xnasong USE, no extra dependencies, is enabled by default, and disabling just result in a gimped library (fwiw left dumpvoices given off-by-default and have not looked closely at how it works) * drop utils USE, the utils were being built but not installed anyway, and not seeing a reason to change this currently * drop gstreamer (option is gone, unused) * move tests from postinst(!) back into the portage sandbox, this really just needs to set an SDL variable and doesn't need virtx Have not really tested 86Box beside building (note that it does not seem to use faudio unless USE=-openal despite what DEPEND says, and being default it's unlikely many are actually using faudio). Closes: https://bugs.gentoo.org/895278 Signed-off-by: Ionen Wolkens gentoo.org> app-emulation/faudio/Manifest | 1 + app-emulation/faudio/faudio-23.02.ebuild | 37 ++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/app-emulation/faudio/Manifest b/app-emulation/faudio/Manifest index 900869b8ed3d..7672cff30b65 100644 --- a/app-emulation/faudio/Manifest +++ b/app-emulation/faudio/Manifest @@ -1 +1,2 @@ DIST FAudio-21.01.tar.gz 1134752 BLAKE2B 3acf80172744bfdc6fb44e373ee2a159ed4d49713fec38a8c6447d66c345445a435e1eb1656552289a634e3a628cfcf7df979a2d155edca1aef0c0334629424e SHA512 69405a28fdf3ff5026992bdd1d40d61653b834dac3ef2697a0e794deac2fa6257fe74b19d2fe225ce25a1ae3caec7082106f5ab6ea6109cc61e520b903d35b80 +DIST faudio-23.02.tar.gz 1111012 BLAKE2B c776a5b882697fbbed894f129165600b1aad8b303254e9ecbf6111fff71581491b484681a71d377854077dfc23b99d1217e5322bdd9923caf4471cc0bc2ca0f2 SHA512 d83adca1f1e42b1c7d63dad30886b58a914ac9a5a254f26d3fdb2386776840e3c40b22a8dd9c7172e6c97b0db989f919fd2ebeac2ec00075a8136ec9120bc390 diff --git a/app-emulation/faudio/faudio-23.02.ebuild b/app-emulation/faudio/faudio-23.02.ebuild new file mode 100644 index 000000000000..3a9ed86ab6da --- /dev/null +++ b/app-emulation/faudio/faudio-23.02.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="FAudio - 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 +}