# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{11..12} ) DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 ROCM_SKIP_GLOBALS=1 inherit cuda distutils-r1 multiprocessing rocm optfeature DESCRIPTION="Data manipulation and transformation for audio signal processing" HOMEPAGE="https://github.com/pytorch/audio" SRC_URI="https://github.com/pytorch/audio/archive/v${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/audio-${PV}" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" IUSE="cuda rocm ffmpeg openmp +rnnt" REQUIRED_USE="?? ( cuda rocm )" DEPEND=" ffmpeg? (