From d87a5c429fa2bd3cebf53919c1377afdfa9a7bce Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Mon, 3 Nov 2025 21:59:49 -0400 Subject: [PATCH 1/2] add `gst-plugins-bad` --- get-dependencies.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/get-dependencies.sh b/get-dependencies.sh index f7fa338..266f757 100755 --- a/get-dependencies.sh +++ b/get-dependencies.sh @@ -13,6 +13,7 @@ pacman -Syu --noconfirm \ curl \ desktop-file-utils \ git \ + gst-plugins-bad \ libxtst \ wget \ xorg-server-xvfb \ From 42b4528840166883fc227b431b1fecb9363cc443 Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Mon, 3 Nov 2025 22:34:15 -0400 Subject: [PATCH 2/2] handle hardcoded path to `/usr/lib/clapper-0.0` --- clapper-appimage.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/clapper-appimage.sh b/clapper-appimage.sh index 6f8b9f1..2d195f7 100644 --- a/clapper-appimage.sh +++ b/clapper-appimage.sh @@ -19,6 +19,16 @@ export DEPLOY_OPENGL=1 export DEPLOY_GSTREAMER=1 export STARTUPWMCLASS=clapper # For Wayland, this is 'com.github.rafostar.Clapper', so this needs to be changed in desktop file manually by the user in that case until some potential automatic fix exists for this +sys_clapper_dir=$(echo /usr/lib/clapper-*) +if [ -d "$sys_clapper_dir" ]; then + export PATH_MAPPING=" + $sys_clapper_dir:\${SHARUN_DIR}/lib/${sys_clapper_dir##*/} + " +else + >&2 echo "ERROR: Cannot find the clapper lib dir" + exit 1 +fi + # DEPLOY ALL LIBS wget --retry-connrefused --tries=30 "$SHARUN" -O ./quick-sharun chmod +x ./quick-sharun