From d5f60bb1b9bfd39d78661d88778a9ccffd83a93e Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Wed, 7 Sep 2022 08:38:23 +0200 Subject: [PATCH] bundle gstreamer in a better way --- resources/scripts/github-actions/build-linux-mac.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/resources/scripts/github-actions/build-linux-mac.sh b/resources/scripts/github-actions/build-linux-mac.sh index cb753f2b1..048fc3193 100755 --- a/resources/scripts/github-actions/build-linux-mac.sh +++ b/resources/scripts/github-actions/build-linux-mac.sh @@ -73,17 +73,6 @@ if [ $is_linux = true ]; then chmod a+x linuxdeploy*.AppImage linuxdeploy*.sh - # Copy Gstreamer libs. - install -v -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" - gst_libs="" - - for plugin in /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgst*.so; do - #basen=$(basename "$plugin") - #install -v -Dm755 "$plugin" "AppDir/usr/lib/gstreamer-1.0/$basen" - gst_libs="${gst_libs} --library=$plugin" - done - if [[ "$webengine" == "ON" ]]; then # Copy some NSS3 files to prevent WebEngine crashes. cp /usr/lib/x86_64-linux-gnu/nss/* ./AppDir/usr/lib/ -v @@ -97,7 +86,7 @@ if [ $is_linux = true ]; then export LD_LIBRARY_PATH="$QTPATH/$QTVERSION/$QTOS/lib:$(pwd)/AppDir/usr/lib" # Create AppImage. - ./linuxdeploy-x86_64.AppImage --output "appimage" --plugin "qt" --plugin "gstreamer" --appdir "AppDir" $gst_executables $gst_libs + ./linuxdeploy-x86_64.AppImage --output "appimage" --plugin "qt" --plugin "gstreamer" --appdir "AppDir" # Rename AppImaage. set -- R*.AppImage