@@ -240,6 +240,9 @@ _determine_what_to_deploy() {
240240 * libglycin* .so* )
241241 DEPLOY_GLYCIN=${DEPLOY_GLYCIN:- 1}
242242 ;;
243+ * libSDL* .so* )
244+ DEPLOY_SDL=${DEPLY_SDL:- 1}
245+ ;;
243246 * libpipewire* .so* )
244247 DEPLOY_PIPEWIRE=${DEPLOY_PIPEWIRE:- 1}
245248 ;;
@@ -393,6 +396,22 @@ _make_deployment_array() {
393396 esac
394397 done
395398 fi
399+ if [ " $DEPLOY_SDL " = 1 ]; then
400+ _echo " * Deploying SDL"
401+ set -- " $@ " \
402+ " $LIB_DIR " /libSDL* .so* \
403+ " $LIB_DIR " /libudev.so* \
404+ " $LIB_DIR " /libXcursor.so* \
405+ " $LIB_DIR " /libXext.so* \
406+ " $LIB_DIR " /libXi.so* \
407+ " $LIB_DIR " /libXfixes.so* \
408+ " $LIB_DIR " /libXrandr.so* \
409+ " $LIB_DIR " /libXss.so* \
410+ " $LIB_DIR " /libX11-xcb.so* \
411+ " $LIB_DIR " /libwayland-client.so* \
412+ " $LIB_DIR " /libwayland-egl.so* \
413+ " $LIB_DIR " /libwayland-cursor.so*
414+ fi
396415 if [ " $DEPLOY_GLYCIN " = 1 ]; then
397416 _echo " * Deploying glycin"
398417 set -- " $@ " " $LIB_DIR " /glycin-loaders/* /*
10761095
10771096# some libraries may need to look for a relative ../share directory
10781097# normally this is for when they are located in /usr/lib
1079- # however with sharun this structure is not present, instead
1098+ # however with sharun this structure is not present, instead
10801099# we have the libraries inside `shared/lib` and `share` is one level
10811100# further back, so we make a relative symlink to fix this issue
10821101if [ ! -d " $APPDIR " /shared/share ]; then
0 commit comments