From 2a2e67491c32995a3f279ad0ecbe77abd512b42a Mon Sep 17 00:00:00 2001 From: Naman Garg <66401604+namanlp@users.noreply.github.com> Date: Sat, 2 Mar 2024 03:42:17 +0530 Subject: [PATCH] Fix #18: missing Gstreamer issue (#19) --- linuxdeploy-plugin-gstreamer.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linuxdeploy-plugin-gstreamer.sh b/linuxdeploy-plugin-gstreamer.sh index 0e29d26..0db47ba 100755 --- a/linuxdeploy-plugin-gstreamer.sh +++ b/linuxdeploy-plugin-gstreamer.sh @@ -76,8 +76,10 @@ helpers_target_dir="$APPDIR"/usr/lib/gstreamer"$GSTREAMER_VERSION"/gstreamer-"$G if [ "$GSTREAMER_PLUGINS_DIR" != "" ]; then plugins_dir="${GSTREAMER_PLUGINS_DIR}" -else +elif [ -d /usr/lib/"$(uname -m)"-linux-gnu/gstreamer-"$GSTREAMER_VERSION" ]; then plugins_dir=/usr/lib/$(uname -m)-linux-gnu/gstreamer-"$GSTREAMER_VERSION" +else + plugins_dir=/usr/lib/gstreamer-"$GSTREAMER_VERSION" fi if [ "$GSTREAMER_HELPERS_DIR" != "" ]; then