aboutsummaryrefslogtreecommitdiffstats
path: root/appimage
diff options
context:
space:
mode:
Diffstat (limited to 'appimage')
-rwxr-xr-xappimage/build-appimage13
1 files changed, 8 insertions, 5 deletions
diff --git a/appimage/build-appimage b/appimage/build-appimage
index 0ea3f783..28f0710b 100755
--- a/appimage/build-appimage
+++ b/appimage/build-appimage
@@ -91,8 +91,10 @@ rm -rf $here/build
# Build!
make -j$(nproc)
-# Run built-in QPDF checks:
-make check
+if [ "$SKIP_TESTS" = "" ]; then
+ # Run built-in QPDF checks:
+ make check
+fi
# Prepare AppDir which is the basis for the AppImage:
mkdir -p $appdir
@@ -107,9 +109,10 @@ cd $here/build
rm -rf appdir/usr/include appdir/usr/lib/pkgconfig appdir/usr/lib/*.{a,la,so}
# Copy icon which is needed for desktop integration into place:
-for i in appdir/usr/share/icons/hicolor/512x512/apps; do
- mkdir -p $i
- cp $top/logo/qpdf.png $i
+for width in 64 128 256 512; do
+ dir=appdir/usr/share/icons/hicolor/${width}x${width}/apps
+ mkdir -p $dir
+ inkscape -z -e $dir/qpdf.png -w $width -b white $top/logo/qpdf.svg
done
# Copy .desktop and .appdata.xml metadata for desktop integration into place: