diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-03-17 20:07:49 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-03-22 19:46:41 +0100 |
commit | 88cbfe389d7267f429a35c0e26ebd3c5b79c73c1 (patch) | |
tree | 0a01476e5eca488bb07f6e96177b573a0ee034bc /app-emulation | |
parent | dev-qt/qtwidgets: Fix nullptr crash (diff) | |
download | gentoo-88cbfe389d7267f429a35c0e26ebd3c5b79c73c1.tar.gz gentoo-88cbfe389d7267f429a35c0e26ebd3c5b79c73c1.tar.bz2 gentoo-88cbfe389d7267f429a35c0e26ebd3c5b79c73c1.zip |
app-emulation/faudio: drop 21.01
Closes: https://bugs.gentoo.org/895372
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/faudio/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/faudio/faudio-21.01.ebuild | 94 | ||||
-rw-r--r-- | app-emulation/faudio/metadata.xml | 8 |
3 files changed, 2 insertions, 101 deletions
diff --git a/app-emulation/faudio/Manifest b/app-emulation/faudio/Manifest index 7672cff30b65..dd95edd658a6 100644 --- a/app-emulation/faudio/Manifest +++ b/app-emulation/faudio/Manifest @@ -1,2 +1 @@ -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-21.01.ebuild b/app-emulation/faudio/faudio-21.01.ebuild deleted file mode 100644 index 9a672a9e23d1..000000000000 --- a/app-emulation/faudio/faudio-21.01.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# shellcheck disable=SC2034 -EAPI=7 - -CMAKE_MAKEFILE_GENERATOR="emake" -MULTILIB_COMPAT=( abi_x86_{32,64} ) - -inherit cmake-multilib virtualx multilib-build - -FAUDIO_PN="FAudio" -FAUDIO_PV="${PV}" -FAUDIO_P="${FAUDIO_PN}-${FAUDIO_PV}" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/FNA-XNA/${FAUDIO_PN}.git" -else - SRC_URI="https://github.com/FNA-XNA/${FAUDIO_PN}/archive/${FAUDIO_PV}.tar.gz -> ${FAUDIO_P}.tar.gz" - KEYWORDS="amd64 x86" - S="${WORKDIR}/${FAUDIO_P}" -fi - -DESCRIPTION="Accuracy-focused XAudio reimplementation for open platforms" -HOMEPAGE="https://fna-xna.github.io/" -LICENSE="ZLIB" -SLOT="0" - -IUSE="+abi_x86_32 +abi_x86_64 debug dumpvoices gstreamer xnasong test utils" -RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )" - -DEPEND=" - >=media-libs/libsdl2-2.0.9[sound,${MULTILIB_USEDEP}] - gstreamer? ( - media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] - media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] - ) -" -RDEPEND="${DEPEND}" - -multilib_src_configure() { - local mycmakeargs=( - "-DCMAKE_INSTALL_BINDIR=bin" - "-DCMAKE_INSTALL_INCLUDEDIR=include/${FAUDIO_PN}" - "-DCMAKE_INSTALL_LIBDIR=$(get_libdir)" - "-DCMAKE_BUILD_TYPE=$(usex debug Debug Release)" - "-DFORCE_ENABLE_DEBUGCONFIGURATION=$(usex debug ON OFF)" - "-DBUILD_TESTS=$(usex test ON OFF)" - "-DBUILD_UTILS=$(usex utils ON OFF)" - "-DDUMP_VOICES=$(usex dumpvoices ON OFF)" - "-DGSTREAMER=$(usex gstreamer ON OFF)" - "-DXNASONG=$(usex xnasong ON OFF)" - ) - cmake_src_configure -} - -src_configure() { - cmake-multilib_src_configure -} - -multilib_src_compile() { - cmake_build - emake -C "${BUILD_DIR}" all -} - -multilib_src_install() { - # FIXME: do we want to install the FAudio tools? - cmake_src_install - - sed -e "s@%LIB%@$(get_libdir)@g" -e "s@%PREFIX%@${EPREFIX}/usr@g" \ - "${FILESDIR}/faudio.pc" > "${T}/faudio.pc" \ - || die "sed failed" - insinto "/usr/$(get_libdir)/pkgconfig" - doins "${T}/faudio.pc" - - if use test; then - mkdir -p "${T}/$(get_libdir)" || die - cp "${BUILD_DIR}/faudio_tests" "${T}/$(get_libdir)/" || die "cp failed" - fi -} - -faudio_test() { - XDG_RUNTIME_DIR="/run/user/0" virtx "${T}/$(get_libdir)/faudio_tests" -} - -pkg_postinst() { - use test || return - - # FIXME: FAudio tests are broken and also don't appear to work - # in the Portage sandbox. - multilib_foreach_abi faudio_test -} diff --git a/app-emulation/faudio/metadata.xml b/app-emulation/faudio/metadata.xml index f191d2253d7a..430772900c80 100644 --- a/app-emulation/faudio/metadata.xml +++ b/app-emulation/faudio/metadata.xml @@ -3,17 +3,13 @@ <pkgmetadata> <!-- maintainer-needed --> <longdescription> -FAudio, is an XAudio reimplementation that focuses solely on developing fully accurate DirectX Audio runtime libraries +FAudio is an XAudio reimplementation that focuses solely on developing fully accurate DirectX Audio runtime libraries for the FNA project, including XAudio2, X3DAudio, XAPO, and XACT3. -Project Website: http://fna-xna.github.io/ +Project Website: https://fna-xna.github.io/ </longdescription> <use> <flag name="dumpvoices">FAudio dumps buffer data to individual files with RIFF/XWMA headers, usable with players like ffplay/testxwma.</flag> - <flag name="test">Build and run faudio testsuite.</flag> - <flag name="utils">Build all faudio utilities.</flag> - <flag name="xnasong">Build support for optional XNG_SONG component (note: this not required by - <pkg>app-emulation/wine-staging</pkg>, <pkg>app-emulation/wine-vanilla</pkg> for faudio XAudio support).</flag> </use> <upstream> <remote-id type="github">FNA-XNA/FAudio</remote-id> |