media-plugins/gst-plugins-opencv: don't unintentionally install nls/translation files

We need to disable NLS explicitly here to avoid colliding w/ gst-plugins-bad
on translations, because we currently do a "full" install in multilib_src_install
in this package.

Closes: https://bugs.gentoo.org/907480
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-06-01 04:06:34 +01:00
parent 2fb2a2a710
commit a493c0a777

View File

@@ -25,6 +25,17 @@ src_prepare() {
gstreamer_system_package video_dep:gstreamer-video
}
multilib_src_configure() {
local emesonargs=(
# We need to disable here to avoid colliding w/ gst-plugins-bad
# on translations, because we currently do a "full" install in
# multilib_src_install in this package. See bug #907480.
-Dnls=disabled
)
gstreamer_multilib_src_configure
}
multilib_src_install() {
DESTDIR="${D}" eninja install
}