SHA256
1
0
forked from pool/smplayer

- Update to version 16.8.0.

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/smplayer?expand=0&rev=4
This commit is contained in:
Alexei Sorokin 2016-08-04 13:26:56 +00:00 committed by Git OBS Bridge
parent 12366e2103
commit 2c800bc410
6 changed files with 41 additions and 26 deletions

View File

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

3
smplayer-16.8.0.tar.bz2 Normal file
View File

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

View File

@ -1,6 +1,6 @@
--- a/src/core.cpp
+++ b/src/core.cpp
@@ -1716,6 +1716,8 @@ void Core::startMplayer( QString file, d
@@ -1728,6 +1728,8 @@ void Core::startMplayer( QString file, d
QString ao = pref->ao;
if (!ao.endsWith(",")) ao += ",";
proc->setOption("ao", ao);
@ -9,9 +9,20 @@
}
#if !defined(Q_OS_WIN) && !defined(Q_OS_OS2)
--- a/src/defaultgui.cpp
+++ b/src/defaultgui.cpp
@@ -493,7 +493,7 @@ void DefaultGui::createControlWidget() {
controlwidget->show();
*/
- controlwidget->setIconSize(QSize(40,40));
+ controlwidget->setIconSize(QSize(30, 30));
}
void DefaultGui::createFloatingControl() {
--- a/src/preferences.cpp
+++ b/src/preferences.cpp
@@ -371,11 +371,7 @@ void Preferences::reset() {
@@ -374,11 +374,7 @@ void Preferences::reset() {
resize_method = Never;
#if STYLE_SWITCHING
@ -23,16 +34,16 @@
#endif
center_window = false;
@@ -443,7 +439,7 @@ void Preferences::reset() {
@@ -446,7 +442,7 @@ void Preferences::reset() {
allow_video_movement = false;
gui = "DefaultGUI";
- iconset = "H2O";
+ iconset = "Tango";
+ iconset = "Papirus";
#if USE_MINIMUMSIZE
@@ -597,7 +593,7 @@ void Preferences::reset() {
@@ -600,7 +596,7 @@ void Preferences::reset() {
#ifdef CHECK_UPGRADED
smplayer_stable_version = "";

View File

@ -1,11 +0,0 @@
--- a/src/basegui.cpp
+++ b/src/basegui.cpp
@@ -5262,6 +5262,8 @@ void BaseGui::gotCurrentTime(double sec)
void BaseGui::changeSizeFactor(int factor) {
// If fullscreen, don't resize!
if (pref->fullscreen) return;
+ if (isMaximized())
+ return;
if (!pref->use_mplayer_window) {
pref->size_factor = factor;

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Thu Aug 4 11:23:43 UTC 2016 - sor.alexei@meowr.ru
- Update to version 16.8.0:
* Lots of internal changes in the playlist.
* Possibility to search (filter) in the playlist.
* Don't use softvol and softvol-max with mpv 0.18.1.
* Use the mpv ab-loop options.
* The playlist settings are now saved to its own ini file
(playlist.ini).
* Possibility to download playlists from Internet.
* (Playlist) Display an animation when loading.
* Don't try to resize the main window when it's maximised.
* Ignore the buffering state in checkStayOnTop.
- Change default icon theme in smplayer-defaults.patch to Papirus,
and default controlwidget's icon size from 40pt to 30pt.
- Remove smplayer-simple-resize.patch.
-------------------------------------------------------------------
Sun Jul 3 00:24:02 UTC 2016 - sor.alexei@meowr.ru

View File

@ -17,7 +17,7 @@
Name: smplayer
Version: 16.7.0
Version: 16.8.0
Release: 0
Summary: Complete frontend for MPV
License: GPL-2.0+
@ -26,12 +26,10 @@ Url: http://smplayer.es/
Source: http://downloads.sf.net/%{name}/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE smplayer-makeflags.patch
Patch0: %{name}-makeflags.patch
# PATCH-FEATURE-OPENSUSE smplayer-defaults.patch sor.alexei@meowr.ru -- Use PulseAudio, system Qt5 theme, and "Tango" icon theme by default.
# PATCH-FEATURE-OPENSUSE smplayer-defaults.patch sor.alexei@meowr.ru -- Use PulseAudio, system Qt5 theme, and "Papirus" icon theme by default.
Patch1: %{name}-defaults.patch
# PATCH-FIX-UPSTREAM smplayer-simple-resize.patch
Patch2: %{name}-simple-resize.patch
# PATCH-FIX-UPSTREAM smplayer-add_kde_protocols_to_desktop_file.patch -- To play network shared video correctly: #PM-48.
Patch3: %{name}-add_kde_protocols_to_desktop_file.patch
Patch2: %{name}-add_kde_protocols_to_desktop_file.patch
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libstdc++-devel
@ -85,7 +83,6 @@ settings: audio track, subtitles, volume...
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
# Fix CRLF in .txt files.
sed -i 's/\r$//' *.txt
@ -116,7 +113,7 @@ make \
%install
%make_install \
PREFIX=%{_prefix} \
PREFIX=%{_prefix} \
DOC_PATH=%{_docdir}/%{name}
rm -rf %{buildroot}%{_docdir}/%{name}/*