commit:     cff29deb08e6117d49248bb471c9f4a611511e94
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 28 19:07:24 2016 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed Sep 28 19:07:24 2016 +0000
URL:        https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=cff29deb

media-sound/sayonara-player: 0.9.2_p4_p20160920

 ...ayonara-player-0.9.2_p4_p20160920-updates.patch | 25 ++++++++++
 .../sayonara-player-0.9.2_p4_p20160920.ebuild      | 53 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git 
a/media-sound/sayonara-player/files/sayonara-player-0.9.2_p4_p20160920-updates.patch
 
b/media-sound/sayonara-player/files/sayonara-player-0.9.2_p4_p20160920-updates.patch
new file mode 100644
index 0000000..abd72bc
--- /dev/null
+++ 
b/media-sound/sayonara-player/files/sayonara-player-0.9.2_p4_p20160920-updates.patch
@@ -0,0 +1,25 @@
+From 1273b3f5d47385126a9dcbc192c17308cc867927 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <[email protected]>
+Date: Wed, 28 Sep 2016 14:32:47 +0200
+Subject: [PATCH] Disable checks for new releases
+
+---
+ src/Helper/Settings/SettingRegistry.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/Helper/Settings/SettingRegistry.cpp 
b/src/Helper/Settings/SettingRegistry.cpp
+index 660bb3d..0fa4163 100644
+--- a/src/Helper/Settings/SettingRegistry.cpp
++++ b/src/Helper/Settings/SettingRegistry.cpp
+@@ -100,7 +100,7 @@ bool SettingRegistry::init(){
+       register_setting( Set::Player_Min2Tray, "min_to_tray", false );
+       register_setting( Set::Player_StartInTray, "start_in_tray", false );
+       register_setting( Set::Player_ShowTrayIcon, "show_tray_icon", true );
+-      register_setting( Set::Player_NotifyNewVersion, "notify_new_version", 
true );
++      register_setting( Set::Player_NotifyNewVersion, "notify_new_version", 
false );
+       register_setting( Set::Player_SplitterState ,"splitter_state_player", 
QByteArray());
+       register_setting( Set::Player_Shortcuts, "shortcuts", RawShortcutMap());
+ 
+-- 
+2.10.0
+

diff --git 
a/media-sound/sayonara-player/sayonara-player-0.9.2_p4_p20160920.ebuild 
b/media-sound/sayonara-player/sayonara-player-0.9.2_p4_p20160920.ebuild
new file mode 100644
index 0000000..7954105
--- /dev/null
+++ b/media-sound/sayonara-player/sayonara-player-0.9.2_p4_p20160920.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+CMAKE_BUILD_TYPE=None
+inherit eutils cmake-utils
+
+MY_PV=${PV/_p/-git}; MY_PV=${MY_PV/_p/-}
+DESCRIPTION="Small, clear and fast audio player for Linux"
+HOMEPAGE="https://sayonara-player.com/";
+SRC_URI="https://sayonara-player.com/sw/${PN}-${MY_PV}.tar.gz";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+MIN_QT_VERSION=5.3
+
+RDEPEND="
+       dev-libs/glib:2
+       >=dev-qt/qtcore-${MIN_QT_VERSION}:5
+       >=dev-qt/qtdbus-${MIN_QT_VERSION}:5
+       >=dev-qt/qtgui-${MIN_QT_VERSION}:5
+       >=dev-qt/qtnetwork-${MIN_QT_VERSION}:5
+       >=dev-qt/qtsql-${MIN_QT_VERSION}:5[sqlite]
+       >=dev-qt/qtwidgets-${MIN_QT_VERSION}:5
+       >=dev-qt/qtxml-${MIN_QT_VERSION}:5
+       media-libs/libmtp
+       >=media-libs/taglib-1.6
+       media-libs/gst-plugins-base:1.0
+       media-libs/gstreamer:1.0
+       media-plugins/gst-plugins-soundtouch:1.0
+       sys-libs/zlib
+       "
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       "
+
+S="${WORKDIR}"/${PN}
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-0.9.2_p4_p20160920-updates.patch
+}
+
+pkg_postinst() {
+       elog "Optionally, install as well:"
+       elog "  media-sound/lame"
+       elog "  media-libs/gst-plugins-good:1.0"
+       elog "  media-libs/gst-plugins-bad:1.0"
+}

Reply via email to