Accepting request 341876 from home:XRevan86

- Update to 2.5.

OBS-URL: https://build.opensuse.org/request/show/341876
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/minitube?expand=0&rev=23
This commit is contained in:
Carsten Ziepke 2015-11-01 08:51:16 +00:00 committed by Git OBS Bridge
parent 018ffbbb4c
commit d24fa81223
5 changed files with 42 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d8a427a4120d623c689969d92904bf66bf7d3edafcb0f6f9eb7f24d6db39c7b
size 984265

3
minitube-2.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f53fa768453106ef9b8dc3160c0b321804353ace82d054518f1ed4a6526d678
size 1062067

View File

@ -1,12 +1,12 @@
diff -aur a/src/mainwindow.cpp b/src/mainwindow.cpp
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -207,7 +207,7 @@
@@ -232,7 +232,7 @@ void MainWindow::lazyInit() {
JsFunctions::instance();
ChannelAggregator::instance()->start();
- checkForUpdate();
+ //checkForUpdate();
}
void MainWindow::changeEvent(QEvent* event) {
initialized = true;
}

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sat Oct 31 10:21:56 UTC 2015 - sor.alexei@meowr.ru
- Update to 2.5:
* Use Qt5 instead of Qt4.
* HiDPI support.
* Mac style overhaul: new toolbar, lighter fonts & tabs.
* Status Bar hidden when not needed: less clutter, more room for
videos.
* Clickable links in video description.
* Autoadjust window size.
* Smart date formatting: 3 hours ago, 1 month ago, etc.
* When opening the YouTube webpage the video now starts from
where it left in Minitube.
* Fix videos restarting after long pause.
* New and updated translations.
- Use Qt5 instead of Qt4.
-------------------------------------------------------------------
Sat Jun 6 05:58:09 UTC 2015 - mailaender@opensuse.org

View File

@ -17,14 +17,14 @@
Name: minitube
Version: 2.4
Version: 2.5
Release: 0
Summary: Native Youtube Client
Summary: Native YouTube Client
License: GPL-3.0+
Group: Productivity/Multimedia/Video/Players
Url: http://flavio.tordini.org/minitube
Source: https://github.com/flaviotordini/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# Manpage written by Jakob Haufe <sur5r@sur5r.net> for the Debian project
# Manpage written by Jakob Haufe <sur5r@sur5r.net> for the Debian project.
Source1: minitube.1
# PATCH-FIX-OPENSUSE minitube-no-update-check.patch sur5r@sur5r.net -- Disable update check.
Patch0: %{name}-no-update-check.patch
@ -32,16 +32,17 @@ Patch0: %{name}-no-update-check.patch
Patch1: %{name}-fix-watchrelatedvideo-icon.patch
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: libqt4-linguist
BuildRequires: libqt5-linguist
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(QtDBus)
BuildRequires: pkgconfig(QtNetwork)
BuildRequires: pkgconfig(QtScript)
BuildRequires: pkgconfig(QtSql)
BuildRequires: pkgconfig(QtXml)
BuildRequires: pkgconfig(phonon)
Requires: phonon
Recommends: %{name}-lang = %{version}
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Script)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(phonon4qt5)
Requires: phonon4qt5-backend
Recommends: %{name}-lang
%description
Minitube is a native YouTube client. With it you can watch YouTube
@ -59,18 +60,16 @@ it strives to create a new TV-like experience.
%patch1
%build
%{_libdir}/qt4/bin/qmake \
%qmake5 \
"DEFINES+=APP_GOOGLE_API_KEY=AIzaSyBs1wuIgc-QDnk5u7OavF1loJVO0r89B4Y" \
PREFIX=%{_prefix} \
QMAKE_CFLAGS="%{optflags}" \
QMAKE_CXXFLAGS="%{optflags}"
PREFIX=%{_prefix}
make %{?_smp_mflags}
%install
make INSTALL_ROOT=%{buildroot} install
%{qmake5_install}
install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
%suse_update_desktop_file -r %{name} AudioVideo Video Player
%fdupes %{buildroot}%{_datadir}
%fdupes %{buildroot}%{_datadir}/
%post
%desktop_database_post