mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-02 22:50:20 +00:00
Generate PNG files
This commit is contained in:
parent
568f518feb
commit
44b1ac8dcc
@ -5,7 +5,7 @@ dist: trusty
|
||||
|
||||
install:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq docbook* fop xsltproc less
|
||||
- sudo apt-get install -qq docbook* fop xsltproc less inkscape
|
||||
|
||||
script:
|
||||
- appimage/build-appimage
|
||||
|
@ -91,8 +91,10 @@ rm -rf $here/build
|
||||
# Build!
|
||||
make -j$(nproc)
|
||||
|
||||
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:
|
||||
|
BIN
logo/qpdf.png
BIN
logo/qpdf.png
Binary file not shown.
Before Width: | Height: | Size: 8.4 KiB |
Loading…
Reference in New Issue
Block a user