diff options
-rw-r--r-- | games/solarus-quest-editor/pixmaps.patch.gz | bin | 0 -> 535 bytes | |||
-rw-r--r-- | games/solarus-quest-editor/solarus-quest-editor.SlackBuild | 19 |
2 files changed, 6 insertions, 13 deletions
diff --git a/games/solarus-quest-editor/pixmaps.patch.gz b/games/solarus-quest-editor/pixmaps.patch.gz Binary files differnew file mode 100644 index 0000000000000..d0d77fbfa7d1d --- /dev/null +++ b/games/solarus-quest-editor/pixmaps.patch.gz diff --git a/games/solarus-quest-editor/solarus-quest-editor.SlackBuild b/games/solarus-quest-editor/solarus-quest-editor.SlackBuild index 2a77ee1c165c5..6acf4d0e00399 100644 --- a/games/solarus-quest-editor/solarus-quest-editor.SlackBuild +++ b/games/solarus-quest-editor/solarus-quest-editor.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for solarus-quest-editor -# Copyright 2015-2017 Hunter Sezen California, USA +# Copyright 2015-2018 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=solarus-quest-editor VERSION=${VERSION:-1.5.3} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -73,6 +73,10 @@ find -L . \ # https://github.com/solarus-games/solarus-quest-editor/commit/6bb12e5e6029652e471054b71487ad9777b5d3d7 zcat $CWD/assets.patch | patch -p1 +# Install a png logo to pixmaps +# https://github.com/solarus-games/solarus-quest-editor/pull/298 +zcat $CWD/pixmaps.patch | patch -p1 + mkdir -p build cd build cmake \ @@ -86,20 +90,9 @@ cd build make install DESTDIR=$PKG cd .. -install -Dm0644 images/logo/sqe-logo.png $PKG/usr/share/pixmaps/sqe-logo.png -install -Dm0644 resources/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Add missing icons to package -for pngicon in images/icon/*.png ; do - if [ -f $pngicon ]; then - size=$(basename $pngicon .png | tr -dc 0-9) - install -Dm0644 $pngicon $PKG/usr/share/icons/hicolor/${size}x${size}/apps/$PRGNAM.png - fi -done - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a changelog.txt license*.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |