update to 1.4.7
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/upplay?expand=0&rev=2
This commit is contained in:
parent
2b66056f88
commit
46f3596b1c
62
browser-back-mouse-button-support.patch
Normal file
62
browser-back-mouse-button-support.patch
Normal file
@ -0,0 +1,62 @@
|
||||
--- upplay.orig/dirbrowser/cdbrowser.cpp 2020-11-19 17:28:50.000000000 +0100
|
||||
+++ upplay/dirbrowser/cdbrowser.cpp 2020-11-30 11:54:15.313447480 +0100
|
||||
@@ -105,6 +105,7 @@
|
||||
|
||||
#ifdef USING_WEBENGINE
|
||||
connect(this, SIGNAL(loadFinished(bool)), this, SLOT(onLoadFinished(bool)));
|
||||
+ QApplication::instance()->installEventFilter(this);
|
||||
#else
|
||||
connect(this, SIGNAL(linkClicked(const QUrl &)),
|
||||
this, SLOT(onLinkClicked(const QUrl &)));
|
||||
@@ -131,6 +132,9 @@
|
||||
|
||||
CDBrowser::~CDBrowser()
|
||||
{
|
||||
+#ifdef USING_WEBENGINE
|
||||
+ QApplication::instance()->removeEventFilter(this);
|
||||
+#endif
|
||||
deleteReaders("~CDBrowser");
|
||||
}
|
||||
|
||||
@@ -197,12 +201,16 @@
|
||||
|
||||
bool CDBrowser::eventFilter(QObject *object, QEvent *event)
|
||||
{
|
||||
- switch (event->type()) {
|
||||
+ if (object->parent() != this) return false;
|
||||
+ switch (event->type()) {
|
||||
case QEvent::MouseButtonRelease:
|
||||
{
|
||||
const QMouseEvent *mouseEvent(static_cast<QMouseEvent*>(event));
|
||||
if (mouseEvent) {
|
||||
m_lastbutton = mouseEvent->button();
|
||||
+ if (m_lastbutton == Qt::BackButton) {
|
||||
+ back(0);
|
||||
+ }
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -262,6 +270,9 @@
|
||||
{
|
||||
//qDebug() << "CDBrowser::mouseReleaseEvent";
|
||||
m_lastbutton = event->button();
|
||||
+ if (m_lastbutton == Qt::BackButton) {
|
||||
+ back(0);
|
||||
+ }
|
||||
QWEBVIEW::mouseReleaseEvent(event);
|
||||
}
|
||||
|
||||
@@ -959,13 +970,6 @@
|
||||
" m_initUDN [" << qs2utf8s(m_initUDN) <<
|
||||
"] curpath size " << m_curpath.size() << endl);
|
||||
|
||||
-#ifdef USING_WEBENGINE
|
||||
- if (focusWidget()) {
|
||||
- focusWidget()->removeEventFilter(this);
|
||||
- focusWidget()->installEventFilter(this);
|
||||
- }
|
||||
-#endif
|
||||
-
|
||||
deleteReaders("initialPage");
|
||||
emit sig_now_in(this, tr("Servers"));
|
||||
m_searchcaps.clear();
|
11
dark-theme-fix.patch
Normal file
11
dark-theme-fix.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- upplay.orig/GUI/standard.qss 2017-08-01 08:49:30.000000000 +0200
|
||||
+++ upplay/GUI/standard.qss 2020-11-26 16:46:39.713289208 +0100
|
||||
@@ -1,8 +1,3 @@
|
||||
-QListView, QTableView {
|
||||
- background: #FFFFFF;
|
||||
- alternate-background-color: #DADADA;
|
||||
-}
|
||||
-
|
||||
QListView:focus, QTableView:focus {
|
||||
border: 2px solid #424e72;
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e61dfc9e69cc437b2f0eb60fe6b431afb0492716cd05731037c226d156d9b744
|
||||
size 1021603
|
3
upplay-1.4.7.tar.gz
Normal file
3
upplay-1.4.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:649d60fcc38aa3ec7ccd909999b4ef3e4d9fc5fdf5043e381c85f5cc0ed8b412
|
||||
size 1023220
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 30 10:59:38 UTC 2020 - Michael Pujos <pujos.michael@gmail.com>
|
||||
|
||||
- update to 1.4.7
|
||||
* Fix "close to tray" not working on Linux KDE
|
||||
* Clean up exit when tray is not available
|
||||
* Compilation warnings
|
||||
- added dark-theme-fix.patch
|
||||
- added browser-back-mouse-button-support.patch
|
||||
- remove duplicates icons with fdupes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 15 21:53:15 UTC 2020 - Michael Pujos <pujos.michael@gmail.com>
|
||||
|
||||
|
10
upplay.spec
10
upplay.spec
@ -17,12 +17,15 @@
|
||||
|
||||
|
||||
Name: upplay
|
||||
Version: 1.4.6
|
||||
Version: 1.4.7
|
||||
Release: 0
|
||||
Summary: UPnP and OpenHome audio Control Point
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://www.lesbonscomptes.com/upplay/
|
||||
Source: http://www.lesbonscomptes.com/upplay/downloads/upplay-%{version}.tar.gz
|
||||
Source: https://www.lesbonscomptes.com/upplay/downloads/upplay-%{version}.tar.gz
|
||||
Patch0: dark-theme-fix.patch
|
||||
Patch1: browser-back-mouse-button-support.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libqt5-qtbase-common-devel
|
||||
@ -37,7 +40,7 @@ upplay is a Qt5-based audio Control Point for browsing and playing music
|
||||
managed by your UPnP/DLNA media servers to your UPnP/DLNA/OpenHome players (renderers).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%qmake5 'WEBPLATFORM=webengine' QMAKE_POST_LINK='$(STRIP) $(TARGET)'
|
||||
@ -46,6 +49,7 @@ managed by your UPnP/DLNA media servers to your UPnP/DLNA/OpenHome players (rend
|
||||
%install
|
||||
make install INSTALL_ROOT=%{buildroot}
|
||||
%suse_update_desktop_file -n -r %{name} "AudioVideo;Player"
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
|
Loading…
x
Reference in New Issue
Block a user