Merge pull request #293126 from adisbladis/citrix-workspace-sonames

citrix-workspace: Add opencv 4.7.0 compatibility soname's
This commit is contained in:
adisbladis 2024-03-11 20:44:23 +13:00 committed by GitHub
commit 7cde12b357
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,18 @@ let
ln -sf $out/lib/libssl.so $out/lib/libssl.so.1.0.0
'';
};
opencv4' = symlinkJoin {
name = "opencv4-compat";
nativeBuildInputs = [ makeWrapper ];
paths = [ opencv4 ];
postBuild = ''
for so in ${opencv4}/lib/*.so; do
ln -s "$so" $out/lib/$(basename "$so").407
done
'';
};
in
stdenv.mkDerivation rec {
@ -98,7 +110,7 @@ stdenv.mkDerivation rec {
mesa
nspr
nss
opencv4
opencv4'
openssl'
pango
speex