commit:     ea994bfe74fe5478b9dce598bbea06e5a264d007
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 07:10:56 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 07:46:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea994bfe

media-libs/opus: needs Python at build time

Closes: https://bugs.gentoo.org/904715
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/opus/opus-1.4.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-libs/opus/opus-1.4.ebuild b/media-libs/opus/opus-1.4.ebuild
index eee6a69ff2cf..5c116f4d9edc 100644
--- a/media-libs/opus/opus-1.4.ebuild
+++ b/media-libs/opus/opus-1.4.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=8
 
-inherit flag-o-matic meson-multilib
+PYTHON_COMPAT=( python3_{9..11} )
+inherit flag-o-matic meson-multilib python-any-r1
 
 DESCRIPTION="Open codec for interactive speech and music transmission over the 
Internet"
 HOMEPAGE="https://opus-codec.org/";
@@ -17,6 +18,7 @@ IUSE="custom-modes debug doc hardened static-libs test 
${INTRINSIC_FLAGS}"
 RESTRICT="!test? ( test )"
 
 BDEPEND="
+       ${PYTHON_DEPS}
        doc? (
                app-doc/doxygen
                media-gfx/graphviz

Reply via email to