diff options
author | Sam James <sam@gentoo.org> | 2023-06-01 04:06:34 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-01 04:06:34 +0100 |
commit | a493c0a777f1ef77d37840980477e2e1a347d0aa (patch) | |
tree | 80314c9b6ba29218ac3717fd0f819734d8f0b3e1 /media-plugins | |
parent | media-libs/gst-plugins-good: disable qt5 & qt6 (diff) | |
download | gentoo-a493c0a777f1ef77d37840980477e2e1a347d0aa.tar.gz gentoo-a493c0a777f1ef77d37840980477e2e1a347d0aa.tar.bz2 gentoo-a493c0a777f1ef77d37840980477e2e1a347d0aa.zip |
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>
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r2.ebuild (renamed from media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r1.ebuild) | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r1.ebuild b/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r2.ebuild index dd4e9c41a067..979c21297c73 100644 --- a/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r1.ebuild +++ b/media-plugins/gst-plugins-opencv/gst-plugins-opencv-1.22.3-r2.ebuild @@ -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 } |