mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
LIBMAN: added lib cleanup + test
This commit is contained in:
parent
7ea37c4d4f
commit
c145f56bc9
|
@ -12,6 +12,8 @@ excluded_libraries=("libselinux.so.1")
|
||||||
excluded_libraries+=("libQt6Multimedia.so.6" "libQt6Core.so.6" "libQt6DBus.so.6" "libQt6Gui.so.6" "libQt6OpenGL.so.6" "libQt6Svg.so.6" "libQt6WaylandClient.so.6" "libQt6WaylandEglClientHwIntegration.so.6" "libQt6Widgets.so.6" "libQt6XcbQpa.so.6")
|
excluded_libraries+=("libQt6Multimedia.so.6" "libQt6Core.so.6" "libQt6DBus.so.6" "libQt6Gui.so.6" "libQt6OpenGL.so.6" "libQt6Svg.so.6" "libQt6WaylandClient.so.6" "libQt6WaylandEglClientHwIntegration.so.6" "libQt6Widgets.so.6" "libQt6XcbQpa.so.6")
|
||||||
# SDL libraries
|
# SDL libraries
|
||||||
excluded_libraries+=("libSDL2_net-2.0.so.0.200.0" "libSDL2_mixer-2.0.so.0.600.3" "libSDL2-2.0.so.0" "libSDL2_mixer-2.0.so.0" "libSDL2_image-2.0.so.0" "libSDL2-2.0.so.0.2800.5" "libSDL2_ttf-2.0.so.0" "libSDL2_net-2.0.so.0" "libSDL2_image-2.0.so.0.600.3" "libSDL2_ttf-2.0.so.0.2200.0")
|
excluded_libraries+=("libSDL2_net-2.0.so.0.200.0" "libSDL2_mixer-2.0.so.0.600.3" "libSDL2-2.0.so.0" "libSDL2_mixer-2.0.so.0" "libSDL2_image-2.0.so.0" "libSDL2-2.0.so.0.2800.5" "libSDL2_ttf-2.0.so.0" "libSDL2_net-2.0.so.0" "libSDL2_image-2.0.so.0.600.3" "libSDL2_ttf-2.0.so.0.2200.0")
|
||||||
|
# TEST
|
||||||
|
excluded_libraries+=("libwayland-egl.so.1" "libwayland-cursor.so.0" "libxkbcommon.so.0")
|
||||||
|
|
||||||
# Add libraries from /lib/x86_64-linux-gnu/ to the excluded list
|
# Add libraries from /lib/x86_64-linux-gnu/ to the excluded list
|
||||||
for lib in /lib/x86_64-linux-gnu/*.so*; do
|
for lib in /lib/x86_64-linux-gnu/*.so*; do
|
||||||
|
@ -166,4 +168,12 @@ if [ ${#failed_files[@]} -ne 0 ]; then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove excluded libraries from the target directory
|
||||||
|
for excluded in "${excluded_libraries[@]}"; do
|
||||||
|
if [ -e "$target_dir/$excluded" ]; then
|
||||||
|
rm -f "$target_dir/$excluded"
|
||||||
|
echo "Deleted excluded library $target_dir/$excluded"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
echo "LibMan is flying away"
|
echo "LibMan is flying away"
|
||||||
|
|
Loading…
Reference in a new issue