summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Smith <matthew@gentoo.org>2022-10-01 10:42:29 +0100
committerMatthew Smith <matthew@gentoo.org>2022-10-01 10:43:01 +0100
commit1fb1f4d4435419cb606b12267baeef1eb6158071 (patch)
treedc05bd930dae5208b8f39f91a126a0afe5294b10 /media-libs
parentdev-python/Levenshtein: Remove old (diff)
downloadgentoo-1fb1f4d4435419cb606b12267baeef1eb6158071.tar.gz
gentoo-1fb1f4d4435419cb606b12267baeef1eb6158071.tar.bz2
gentoo-1fb1f4d4435419cb606b12267baeef1eb6158071.zip
media-libs/libplacebo: fix automagic libunwind dependency
Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libplacebo/libplacebo-4.192.1-r1.ebuild (renamed from media-libs/libplacebo/libplacebo-4.192.1.ebuild)4
-rw-r--r--media-libs/libplacebo/libplacebo-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/media-libs/libplacebo/libplacebo-4.192.1.ebuild b/media-libs/libplacebo/libplacebo-4.192.1-r1.ebuild
index 4335fb6d6a04..c047cd32fdf8 100644
--- a/media-libs/libplacebo/libplacebo-4.192.1.ebuild
+++ b/media-libs/libplacebo/libplacebo-4.192.1-r1.ebuild
@@ -22,7 +22,7 @@ HOMEPAGE="https://code.videolan.org/videolan/libplacebo"
LICENSE="LGPL-2.1+"
SLOT="0/$(ver_cut 2)" # libplacebo.so version
-IUSE="glslang lcms +opengl +shaderc test +vulkan"
+IUSE="glslang lcms +opengl +shaderc test unwind +vulkan"
REQUIRED_USE="vulkan? ( || ( glslang shaderc ) )"
RESTRICT="!test? ( test )"
@@ -30,6 +30,7 @@ RDEPEND="glslang? ( dev-util/glslang[${MULTILIB_USEDEP}] )
lcms? ( media-libs/lcms:2[${MULTILIB_USEDEP}] )
opengl? ( media-libs/libepoxy[${MULTILIB_USEDEP}] )
shaderc? ( >=media-libs/shaderc-2017.2[${MULTILIB_USEDEP}] )
+ unwind? ( sys-libs/libunwind:= )
vulkan? (
dev-util/vulkan-headers
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
@@ -58,6 +59,7 @@ multilib_src_configure() {
$(meson_feature lcms)
$(meson_feature opengl)
$(meson_feature shaderc)
+ $(meson_feature unwind)
$(meson_feature vulkan)
$(meson_use test tests)
# hard-code path from dev-util/vulkan-headers
diff --git a/media-libs/libplacebo/libplacebo-9999.ebuild b/media-libs/libplacebo/libplacebo-9999.ebuild
index 5037bfc4033d..72d2114b55cb 100644
--- a/media-libs/libplacebo/libplacebo-9999.ebuild
+++ b/media-libs/libplacebo/libplacebo-9999.ebuild
@@ -23,7 +23,7 @@ HOMEPAGE="https://code.videolan.org/videolan/libplacebo"
LICENSE="LGPL-2.1+"
# Please add a sub-slot for releases depending on libplacebo.so version
SLOT="0/9999"
-IUSE="glslang lcms +opengl +shaderc test +vulkan"
+IUSE="glslang lcms +opengl +shaderc test unwind +vulkan"
REQUIRED_USE="vulkan? ( || ( glslang shaderc ) )"
RESTRICT="!test? ( test )"
@@ -31,6 +31,7 @@ RDEPEND="glslang? ( dev-util/glslang[${MULTILIB_USEDEP}] )
lcms? ( media-libs/lcms:2[${MULTILIB_USEDEP}] )
opengl? ( media-libs/libepoxy[${MULTILIB_USEDEP}] )
shaderc? ( >=media-libs/shaderc-2017.2[${MULTILIB_USEDEP}] )
+ unwind? ( sys-libs/libunwind:= )
vulkan? (
dev-util/vulkan-headers
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
@@ -57,6 +58,7 @@ multilib_src_configure() {
$(meson_feature lcms)
$(meson_feature opengl)
$(meson_feature shaderc)
+ $(meson_feature unwind)
$(meson_feature vulkan)
$(meson_use test tests)
# hard-code path from dev-util/vulkan-headers