WORKFLOW: missing libs verbosity

This commit is contained in:
XargonWan 2024-12-10 16:51:54 +09:00
parent e13d4ced1b
commit 6b6f706efa

View file

@ -683,12 +683,14 @@ modules:
- |
# Search for missing libraries in our libtmp folder
missing_libs=$("find /app/bin -type f -exec ldd {} + 2>/dev/null | grep 'not found' | awk '{print \$2}' | tr -d ':' | xargs -n 1 basename | sort | uniq | tr '\n' ' '")
echo "Missing libs: $missing_libs"
# Manually specified libraries that are not automatically detected
manually_imported="libpostproc.so.56 libswscale.so.6 libshaderc_shared.so.1 libbz2.so.1.0 libaio.so.1 ld-linux.so.2 libvpx.so.9 libzmusic.so.1 libicuuc.so.73 libLLVM.so.18.1"
# Combine detected missing libraries and manually specified ones
missing_libs="$missing_libs $manually_imported"
echo "Missing libs and manually imported: $missing_libs"
# Source paths
src_dir="${FLATPAK_DEST}/retrodeck/tmplib"