diff options
author | Sam James <sam@gentoo.org> | 2021-12-24 07:11:24 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-24 07:11:24 +0000 |
commit | a7ef0d7b5d70e1ccd0e68cd0b7460b714781c2b9 (patch) | |
tree | 237fd263b2a2e8dc1684114efefb0d2de6ad2ac3 /media-libs/libaom | |
parent | dev-util/cargo-c: silence QA warning for Rust flags (diff) | |
download | gentoo-a7ef0d7b5d70e1ccd0e68cd0b7460b714781c2b9.tar.gz gentoo-a7ef0d7b5d70e1ccd0e68cd0b7460b714781c2b9.tar.bz2 gentoo-a7ef0d7b5d70e1ccd0e68cd0b7460b714781c2b9.zip |
media-libs/libaom: add python-any-r1 for building
Needs Python at build time.
Closes: https://bugs.gentoo.org/829903
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libaom')
-rw-r--r-- | media-libs/libaom/libaom-3.2.0.ebuild | 6 | ||||
-rw-r--r-- | media-libs/libaom/libaom-9999.ebuild | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/media-libs/libaom/libaom-3.2.0.ebuild b/media-libs/libaom/libaom-3.2.0.ebuild index 69bc7fc97fbd..d2f98922596a 100644 --- a/media-libs/libaom/libaom-3.2.0.ebuild +++ b/media-libs/libaom/libaom-3.2.0.ebuild @@ -4,7 +4,8 @@ EAPI=8 CMAKE_ECLASS=cmake -inherit cmake-multilib +PYTHON_COMPAT=( python3_{8..10} ) +inherit cmake-multilib python-any-r1 if [[ ${PV} == *9999* ]]; then inherit git-r3 @@ -30,7 +31,8 @@ REQUIRED_USE=" cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 ) " -BDEPEND="abi_x86_32? ( dev-lang/yasm ) +BDEPEND="${PYTHON_DEPS} + abi_x86_32? ( dev-lang/yasm ) abi_x86_64? ( dev-lang/yasm ) abi_x86_x32? ( dev-lang/yasm ) x86-fbsd? ( dev-lang/yasm ) diff --git a/media-libs/libaom/libaom-9999.ebuild b/media-libs/libaom/libaom-9999.ebuild index 69bc7fc97fbd..d2f98922596a 100644 --- a/media-libs/libaom/libaom-9999.ebuild +++ b/media-libs/libaom/libaom-9999.ebuild @@ -4,7 +4,8 @@ EAPI=8 CMAKE_ECLASS=cmake -inherit cmake-multilib +PYTHON_COMPAT=( python3_{8..10} ) +inherit cmake-multilib python-any-r1 if [[ ${PV} == *9999* ]]; then inherit git-r3 @@ -30,7 +31,8 @@ REQUIRED_USE=" cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 ) " -BDEPEND="abi_x86_32? ( dev-lang/yasm ) +BDEPEND="${PYTHON_DEPS} + abi_x86_32? ( dev-lang/yasm ) abi_x86_64? ( dev-lang/yasm ) abi_x86_x32? ( dev-lang/yasm ) x86-fbsd? ( dev-lang/yasm ) |