From 0d7ca12b45e94f06c033f762560c26be79c03d34 Mon Sep 17 00:00:00 2001 From: martinrotter Date: Wed, 8 Sep 2021 02:55:44 -0400 Subject: [PATCH] Update build-linux-mac.sh --- resources/scripts/github-actions/build-linux-mac.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/scripts/github-actions/build-linux-mac.sh b/resources/scripts/github-actions/build-linux-mac.sh index 2c3b7b8c9..aaa3ea9d2 100755 --- a/resources/scripts/github-actions/build-linux-mac.sh +++ b/resources/scripts/github-actions/build-linux-mac.sh @@ -67,9 +67,10 @@ if [ $is_linux = true ]; then install -Dm755 "/usr/lib/x86_64-linux-gnu/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner" "AppDir/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner" gst_executables="-executable=AppDir/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner" - for plugin in alsa app audioconvert audioparsers audioresample autodetect coreelements id3demux jack mpg123 mulaw playback typefindfunctions wavparse apetag; do - install -Dm755 "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgst${plugin}.so" "AppDir/usr/lib/gstreamer-1.0/libgst${plugin}.so" - gst_executables="${gst_executables} -executable=AppDir/usr/lib/gstreamer-1.0/libgst${plugin}.so" + for plugin in $(ls /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgst*.so); do + basen=$(basename "$plugin") + install -Dm755 "$plugin" "AppDir/usr/lib/gstreamer-1.0/$basen" + gst_executables="${gst_executables} -executable=AppDir/usr/lib/gstreamer-1.0/$basen" done # Create AppImage.