mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
net-misc/icaclient: switch to ffmpeg-compat:6
Not the maintainer nor know this application, but blocking ffmpeg-7
is rather nasty so going ahead with changing this.
Normally it'd use its bundled libav* inside ${ICAROOT}/lib but the
ebuild does `doexe *.so` which excludes libav's *.so.{60,58}.
Arguably using bundled would be fair if it's going to use some ancient
ffmpeg and potentially block future cleanups, but not going to impose
this change myself.
Given ffmpeg-compat:6 is not in LDPATH to avoid conflicts/mismatch, do
symlinks inside that directory which matches how it'd normally be used.
Not tried runtime but it seems to find them fine:
$ ldd libctxVideoDecoder.so
libavcodec.so.60 => /opt/Citrix/ICAClient/lib/libavcodec.so.60
libavutil.so.58 => /opt/Citrix/ICAClient/lib/libavutil.so.58
Closes: https://bugs.gentoo.org/967025
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
a811dc8593
commit
df647d7dc1
@ -66,8 +66,6 @@ RDEPEND="
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
>=media-video/ffmpeg-6.0
|
||||
<media-video/ffmpeg-7
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/libogg
|
||||
@ -78,6 +76,7 @@ RDEPEND="
|
||||
media-libs/mesa
|
||||
media-libs/speex
|
||||
media-libs/speexdsp
|
||||
media-video/ffmpeg-compat:6
|
||||
sys-apps/util-linux
|
||||
llvm-runtimes/libcxx
|
||||
llvm-runtimes/libcxxabi
|
||||
@ -173,6 +172,10 @@ src_install() {
|
||||
exeinto "${ICAROOT}"/lib
|
||||
doexe lib/*.so
|
||||
|
||||
# ffmpeg-compat libraries are not in LDPATH, symlink them (bug #967025)
|
||||
dosym -r {/usr/lib/ffmpeg6/$(get_libdir),"${ICAROOT}"/lib}/libavutil.so.58
|
||||
dosym -r {/usr/lib/ffmpeg6/$(get_libdir),"${ICAROOT}"/lib}/libavcodec.so.60
|
||||
|
||||
for dest in "${ICAROOT}"{,/nls/en{,.UTF-8}} ; do
|
||||
insinto "${dest}"
|
||||
doins nls/en.UTF-8/eula.txt
|
||||
Loading…
x
Reference in New Issue
Block a user