summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2024-11-04 13:50:31 +0100
committerSam James <sam@gentoo.org>2024-11-05 02:02:45 +0000
commit70f5f240a0ce97a95179cf953303472ebfd90c17 (patch)
tree8851b2b10d374bc1f86d8059b67b5b89924cc67c /media-libs
parentmedia-libs/opencv: only build jasper iff USE="jpeg2k -abi_x86_32" (diff)
downloadgentoo-70f5f240a0ce97a95179cf953303472ebfd90c17.tar.gz
gentoo-70f5f240a0ce97a95179cf953303472ebfd90c17.tar.bz2
gentoo-70f5f240a0ce97a95179cf953303472ebfd90c17.zip
media-libs/opencv: set SONAME on plugins #927269
Closes: https://bugs.gentoo.org/927269 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/opencv/opencv-4.10.0.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/media-libs/opencv/opencv-4.10.0.ebuild b/media-libs/opencv/opencv-4.10.0.ebuild
index ded47e82a8eb..6906e584b825 100644
--- a/media-libs/opencv/opencv-4.10.0.ebuild
+++ b/media-libs/opencv/opencv-4.10.0.ebuild
@@ -1190,4 +1190,8 @@ multilib_src_install() {
else
cmake_src_install
fi
+
+ for plugin in "${ED}/usr/$(get_libdir)/libopencv_"*".$(ver_rs 1-2 '' "$(ver_cut 1-2)").${ARCH}"* ; do
+ patchelf --set-soname "$(basename "${plugin}" ".$(get_libname)")" "${plugin}"
+ done
}