aboutsummaryrefslogtreecommitdiff
path: root/games/solarus-quest-editor
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2018-03-07 12:28:45 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-10 07:11:03 +0700
commit5ba3fe7ae8c3264b33d62330e506ec762943e963 (patch)
tree2666352753b0cd47e65c2f62154b76c15ff53535 /games/solarus-quest-editor
parent00fb184b9963b7dfc83c4b5b00821af6477b8c19 (diff)
games/solarus-quest-editor: Patched to add a png logo.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/solarus-quest-editor')
-rw-r--r--games/solarus-quest-editor/pixmaps.patch.gzbin0 -> 535 bytes
-rw-r--r--games/solarus-quest-editor/solarus-quest-editor.SlackBuild19
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
new file mode 100644
index 0000000000000..d0d77fbfa7d1d
--- /dev/null
+++ b/games/solarus-quest-editor/pixmaps.patch.gz
Binary files differ
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