mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
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:
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user