summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-11-19 07:50:09 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-11-19 08:01:21 -0500
commit2871bd6f97f2cc7e732a1088daf8740e537497cd (patch)
tree7b37378fb6dfd3f388f703bc71891bea337fecd2 /media-libs/libplacebo
parentapp-misc/rpick: Stabilize 0.8.11 ppc64, #881849 (diff)
downloadgentoo-2871bd6f97f2cc7e732a1088daf8740e537497cd.tar.gz
gentoo-2871bd6f97f2cc7e732a1088daf8740e537497cd.tar.bz2
gentoo-2871bd6f97f2cc7e732a1088daf8740e537497cd.zip
media-libs/libplacebo: more python fixes
Hopefully right, overlooked that I broke -native-symlinks when I added the python patch, and any deps check was wrong. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-libs/libplacebo')
-rw-r--r--media-libs/libplacebo/libplacebo-5.229.1.ebuild9
-rw-r--r--media-libs/libplacebo/libplacebo-9999.ebuild9
2 files changed, 6 insertions, 12 deletions
diff --git a/media-libs/libplacebo/libplacebo-5.229.1.ebuild b/media-libs/libplacebo/libplacebo-5.229.1.ebuild
index 25e7460d4649..f6b4f9f82688 100644
--- a/media-libs/libplacebo/libplacebo-5.229.1.ebuild
+++ b/media-libs/libplacebo/libplacebo-5.229.1.ebuild
@@ -42,8 +42,9 @@ DEPEND="
${RDEPEND}
vulkan? ( dev-util/vulkan-headers )"
BDEPEND="
+ ${PYTHON_DEPS}
virtual/pkgconfig
- vulkan? ( $(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]') )"
+ opengl? ( $(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]') )"
PATCHES=(
"${FILESDIR}"/${PN}-5.229.1-llvm-libunwind.patch
@@ -52,11 +53,7 @@ PATCHES=(
)
python_check_deps() {
- python_has_version "dev-python/jinja[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use vulkan && python-any-r1_pkg_setup
+ use !opengl || python_has_version "dev-python/jinja[${PYTHON_USEDEP}]"
}
src_unpack() {
diff --git a/media-libs/libplacebo/libplacebo-9999.ebuild b/media-libs/libplacebo/libplacebo-9999.ebuild
index 25e7460d4649..f6b4f9f82688 100644
--- a/media-libs/libplacebo/libplacebo-9999.ebuild
+++ b/media-libs/libplacebo/libplacebo-9999.ebuild
@@ -42,8 +42,9 @@ DEPEND="
${RDEPEND}
vulkan? ( dev-util/vulkan-headers )"
BDEPEND="
+ ${PYTHON_DEPS}
virtual/pkgconfig
- vulkan? ( $(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]') )"
+ opengl? ( $(python_gen_any_dep 'dev-python/jinja[${PYTHON_USEDEP}]') )"
PATCHES=(
"${FILESDIR}"/${PN}-5.229.1-llvm-libunwind.patch
@@ -52,11 +53,7 @@ PATCHES=(
)
python_check_deps() {
- python_has_version "dev-python/jinja[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
- use vulkan && python-any-r1_pkg_setup
+ use !opengl || python_has_version "dev-python/jinja[${PYTHON_USEDEP}]"
}
src_unpack() {