mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
media-libs/libplacebo: workaround vulkan leaking into .pc
Is a bit of a edge case, so skipping revbump. Would've been simpler to patch the meson.build to handle all cases but ah well, at least won't need to rebase. Closes: https://bugs.gentoo.org/951125 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -124,3 +124,13 @@ multilib_src_configure() {
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
meson_src_install
|
||||
|
||||
# prevent vulkan from leaking into the .pc here for now (bug #951125)
|
||||
if use !vulkan && has_version media-libs/vulkan-loader; then
|
||||
sed -Ee '/^Requires/s/vulkan[^,]*,? ?//;s/, $//;/^Requires[^:]*: $/d' \
|
||||
-i "${ED}"/usr/$(get_libdir)/pkgconfig/libplacebo.pc || die
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -124,3 +124,13 @@ multilib_src_configure() {
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
meson_src_install
|
||||
|
||||
# prevent vulkan from leaking into the .pc here for now (bug #951125)
|
||||
if use !vulkan && has_version media-libs/vulkan-loader; then
|
||||
sed -Ee '/^Requires/s/vulkan[^,]*,? ?//;s/, $//;/^Requires[^:]*: $/d' \
|
||||
-i "${ED}"/usr/$(get_libdir)/pkgconfig/libplacebo.pc || die
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user