aboutsummaryrefslogtreecommitdiff
path: root/audio/sayonara-player/sayonara-player.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sayonara-player/sayonara-player.SlackBuild')
-rw-r--r--audio/sayonara-player/sayonara-player.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/sayonara-player/sayonara-player.SlackBuild b/audio/sayonara-player/sayonara-player.SlackBuild
index edccc7ad5f655..fb9f1d94f6417 100644
--- a/audio/sayonara-player/sayonara-player.SlackBuild
+++ b/audio/sayonara-player/sayonara-player.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sayonara-player
-VERSION=${VERSION:-1.0.0_git5_20180115}
+VERSION=${VERSION:-1.1.1_git1_20180828}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,6 +73,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Patch to fix missing icon tray buttons
+# See https://sayonara-player.com/forum/thread-481.html
+patch -p1 < $CWD/fix-missing-tray-icons.patch src/GUI/Player/GUI_TrayIcon.cpp
+
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
@@ -90,7 +94,7 @@ mv $PKG/usr/share/man $PKG/usr/man
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-DOCS="COPYING license.txt MANUAL README.txt"
+DOCS="COPYING LICENSE MANUAL README.txt"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION/