X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fappimage%2Fsigrok-native-appimage;h=f1d74c8cc4b606122371af410062e4f87aa8b7a4;hp=767b634b1c9b741b0232cf4403f672e833467cbd;hb=9b458ff9a9cf4be501cf42ec502c3fed72dea8a3;hpb=8fa1956a198d4febc86a63fa14a8a83a17809c9e diff --git a/cross-compile/appimage/sigrok-native-appimage b/cross-compile/appimage/sigrok-native-appimage index 767b634..f1d74c8 100755 --- a/cross-compile/appimage/sigrok-native-appimage +++ b/cross-compile/appimage/sigrok-native-appimage @@ -30,7 +30,7 @@ A="./$APP/$APP.AppDir" mkdir -p $A/usr/bin $A/usr/lib $A/usr/share cd ./$APP -. ../contrib/functions.sh +. $STATIC_FILES/functions.sh ######################################################################## # Get build products from $PREFIX @@ -58,7 +58,8 @@ cp $APPIMAGEKIT_OUTDIR/AppRun . # Copy desktop and icon file to AppDir for AppRun to pick them up ######################################################################## -cp ../../contrib/pulseview.desktop ../../contrib/sigrok-logo-notext.png . +cp $STATIC_FILES/pulseview.desktop . +cp $STATIC_FILES/sigrok-logo-notext.png . ######################################################################## # Copy in the dependencies that cannot be assumed to be available @@ -67,6 +68,16 @@ cp ../../contrib/pulseview.desktop ../../contrib/sigrok-logo-notext.png . copy_deps +# Get all Qt5 plugins (won't be copied automatically). +QT5PLUGINS=/usr/lib/x86_64-linux-gnu/qt5/plugins # Host (+ AppRun) path. +mkdir -p .$QT5PLUGINS +cp -r $QT5PLUGINS/accessible .$QT5PLUGINS +cp -r $QT5PLUGINS/generic .$QT5PLUGINS +cp -r $QT5PLUGINS/iconengines .$QT5PLUGINS +cp -r $QT5PLUGINS/imageformats .$QT5PLUGINS +cp -r $QT5PLUGINS/platforminputcontexts .$QT5PLUGINS +cp -r $QT5PLUGINS/platforms .$QT5PLUGINS + ######################################################################## # Delete stuff that should not go into the AppImage ########################################################################