From 94207f6f4226def5387f5f586a2a299a771662cb Mon Sep 17 00:00:00 2001 From: Fellype do Nascimento Date: Tue, 4 Sep 2018 22:54:42 +0100 Subject: audio/sayonara-player: Updated for version 1.1.1_git1_20180828. Signed-off-by: David Spencer --- audio/sayonara-player/fix-missing-tray-icons.patch | 12 ++++++++++++ audio/sayonara-player/sayonara-player.SlackBuild | 8 ++++++-- audio/sayonara-player/sayonara-player.info | 6 +++--- 3 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 audio/sayonara-player/fix-missing-tray-icons.patch (limited to 'audio/sayonara-player') diff --git a/audio/sayonara-player/fix-missing-tray-icons.patch b/audio/sayonara-player/fix-missing-tray-icons.patch new file mode 100644 index 0000000000..bf690e79fb --- /dev/null +++ b/audio/sayonara-player/fix-missing-tray-icons.patch @@ -0,0 +1,12 @@ +--- GUI_TrayIcon.cpp 2018-08-28 03:07:45.000000000 -0300 ++++ GUI_TrayIcon.cpp.new 2018-08-28 17:38:41.000000000 -0300 +@@ -98,6 +98,9 @@ + + mute_changed(pm->is_muted()); + playstate_changed(pm->playstate()); ++ ++ language_changed(); ++ skin_changed(); + } + + TrayIconContextMenu::~TrayIconContextMenu() {} diff --git a/audio/sayonara-player/sayonara-player.SlackBuild b/audio/sayonara-player/sayonara-player.SlackBuild index edccc7ad5f..fb9f1d94f6 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/ diff --git a/audio/sayonara-player/sayonara-player.info b/audio/sayonara-player/sayonara-player.info index f9ab9f0af0..5bf9888e15 100644 --- a/audio/sayonara-player/sayonara-player.info +++ b/audio/sayonara-player/sayonara-player.info @@ -1,8 +1,8 @@ PRGNAM="sayonara-player" -VERSION="1.0.0_git5_20180115" +VERSION="1.1.1_git1_20180828" HOMEPAGE="https://sayonara-player.com/index.php" -DOWNLOAD="http://sayonara-player.com/sw/sayonara-player-1.0.0-git5-20180115.tar.gz" -MD5SUM="c6f569ece54dfeaa6ef37eedf38c3ba0" +DOWNLOAD="http://sayonara-player.com/sw/sayonara-player-1.1.1-git1-20180828.tar.gz" +MD5SUM="24f1640b88173c8466a5a0a001d07960" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="qt5 gst-plugins-bad" -- cgit v1.2.3