media-libs/libplacebo: bdepend on setuptools

Unlikely to be missing unless manage to cleanup setuptools while
keeping jinja (which is checked for), but it is technically used
by glad/plugin.py and fails building if missing.

>=glad-2.0.2 can build without, but 2.0.2 had other issues and will
wait for libplacebo upstream to bump it to be safe (should be fixed
in >=glad-2.0.3 though).

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2023-01-05 11:36:24 -05:00
parent 35af6e5ea9
commit 9396dcfdb3
3 changed files with 20 additions and 8 deletions
@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -43,7 +43,9 @@ DEPEND="
${RDEPEND}
dev-util/vulkan-headers"
BDEPEND="
$(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]')
$(python_gen_any_dep '
dev-python/jinja[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]')
virtual/pkgconfig"
PATCHES=(
@@ -53,7 +55,9 @@ PATCHES=(
)
python_check_deps() {
python_has_version "dev-python/jinja[${PYTHON_USEDEP}]"
# note: setuptools can be removed when using >=glad-2.0.2
python_has_version "dev-python/jinja[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]"
}
src_unpack() {
@@ -43,7 +43,9 @@ DEPEND="
${RDEPEND}
dev-util/vulkan-headers"
BDEPEND="
$(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]')
$(python_gen_any_dep '
dev-python/jinja[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]')
virtual/pkgconfig"
PATCHES=(
@@ -53,7 +55,9 @@ PATCHES=(
)
python_check_deps() {
python_has_version "dev-python/jinja[${PYTHON_USEDEP}]"
# note: setuptools can be removed when using >=glad-2.0.2
python_has_version "dev-python/jinja[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]"
}
src_unpack() {
+7 -3
View File
@@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -43,7 +43,9 @@ DEPEND="
${RDEPEND}
dev-util/vulkan-headers"
BDEPEND="
$(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]')
$(python_gen_any_dep '
dev-python/jinja[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]')
virtual/pkgconfig"
PATCHES=(
@@ -53,7 +55,9 @@ PATCHES=(
)
python_check_deps() {
python_has_version "dev-python/jinja[${PYTHON_USEDEP}]"
# note: setuptools can be removed when using >=glad-2.0.2
python_has_version "dev-python/jinja[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]"
}
src_unpack() {