forked from pool/smplayer
Accepting request 321464 from KDE:Extra
OBS-URL: https://build.opensuse.org/request/show/321464 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/smplayer?expand=0&rev=1
This commit is contained in:
commit
5e0e02c597
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
smplayer-14.9.0.6994.tar.bz2
Normal file
3
smplayer-14.9.0.6994.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4993f4d753f2982667e088d0f06fccd36535d8e65eff5acbef82d4cde132b301
|
||||
size 3872223
|
10
smplayer-add_kde_protocols_to_desktop_file.patch
Normal file
10
smplayer-add_kde_protocols_to_desktop_file.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- smplayer.desktop.orig 2014-08-30 01:56:00.000000000 +0300
|
||||
+++ smplayer.desktop 2014-09-07 15:28:13.132307160 +0300
|
||||
@@ -8,6 +8,7 @@
|
||||
Name=SMPlayer
|
||||
Type=Application
|
||||
X-KDE-StartupNotify=false
|
||||
+X-KDE-Protocols=http,ftp,smb
|
||||
|
||||
# Translations
|
||||
Comment[ar]=واجهة-طرفية ممتازة للمشغل MPlayer
|
23
smplayer-default_ao.patch
Normal file
23
smplayer-default_ao.patch
Normal file
@ -0,0 +1,23 @@
|
||||
--- src/core.cpp.orig
|
||||
+++ src/core.cpp
|
||||
@@ -1698,6 +1698,8 @@
|
||||
if (pref->ao != "player_default") {
|
||||
if (!pref->ao.isEmpty()) {
|
||||
proc->setOption("ao", pref->ao );
|
||||
+ } else {
|
||||
+ proc->setOption("ao", "@@DEFAULT@@," );
|
||||
}
|
||||
}
|
||||
|
||||
--- src/prefgeneral.cpp.orig
|
||||
+++ src/prefgeneral.cpp
|
||||
@@ -183,6 +183,9 @@
|
||||
|
||||
QString ao = pref->ao;
|
||||
|
||||
+ if (ao.isEmpty())
|
||||
+ ao = "@@DEFAULT@@,";
|
||||
+
|
||||
#ifdef Q_OS_OS2
|
||||
if (ao.isEmpty()) {
|
||||
if (pref->mplayer_detected_version >= MPLAYER_KAI_VERSION) {
|
14
smplayer-default_mpv.patch
Normal file
14
smplayer-default_mpv.patch
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/preferences.cpp.orig
|
||||
+++ src/preferences.cpp
|
||||
@@ -78,9 +78,9 @@
|
||||
config_version = CURRENT_CONFIG_VERSION;
|
||||
|
||||
#if defined(Q_OS_WIN) || defined(Q_OS_OS2)
|
||||
- mplayer_bin= "mplayer/mplayer.exe";
|
||||
+ mplayer_bin= "mplayer/mpv.exe";
|
||||
#else
|
||||
- mplayer_bin = "mplayer";
|
||||
+ mplayer_bin = "mpv";
|
||||
#endif
|
||||
|
||||
vo = "";
|
29
smplayer-makeflags.patch
Normal file
29
smplayer-makeflags.patch
Normal file
@ -0,0 +1,29 @@
|
||||
--- Makefile.orig 2009-07-25 11:07:32.000000000 +0200
|
||||
+++ Makefile 2009-07-25 11:09:13.000000000 +0200
|
||||
@@ -31,7 +31,7 @@
|
||||
# KDE paths, change if necessary
|
||||
|
||||
KDE_INCLUDE_PATH=`kde-config --prefix`/include/
|
||||
-KDE_LIB_PATH=`kde-config --prefix`/lib/
|
||||
+KDE_LIB_PATH=`kde-config --prefix`/lib`kde-config --libsuffix`/
|
||||
KDE_LIBS=-lkio
|
||||
|
||||
QMAKE_OPTS=DEFINES+=KDE_SUPPORT INCLUDEPATH+=$(KDE_INCLUDE_PATH) \
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
src/smplayer:
|
||||
./get_svn_revision.sh
|
||||
- +cd src && $(QMAKE) $(QMAKE_OPTS) && $(DEFS) make
|
||||
+ +cd src && $(QMAKE) $(QMAKE_OPTS) && $(DEFS) make $(MAKEFLAGS)
|
||||
cd src && $(LRELEASE) smplayer.pro
|
||||
|
||||
clean:
|
||||
@@ -77,7 +77,6 @@
|
||||
install -m 644 smplayer_enqueue.desktop $(DESTDIR)$(KDE_APPLNK)
|
||||
-install -d $(DESTDIR)$(PREFIX)/share/man/man1/
|
||||
install -m 644 man/smplayer.1 $(DESTDIR)$(PREFIX)/share/man/man1/
|
||||
- gzip -9 -f $(DESTDIR)$(PREFIX)/share/man/man1/smplayer.1
|
||||
|
||||
uninstall:
|
||||
-rm -f $(PREFIX)/bin/smplayer
|
||||
|
11
smplayer-simple-resize.patch
Normal file
11
smplayer-simple-resize.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/basegui.cpp.orig
|
||||
+++ src/basegui.cpp
|
||||
@@ -4890,6 +4890,8 @@
|
||||
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;
|
509
smplayer.changes
Normal file
509
smplayer.changes
Normal file
@ -0,0 +1,509 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 17 14:24:43 UTC 2015 - sor.alexei@meowr.ru
|
||||
|
||||
- Update to 14.9.0.6994.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 6 09:18:35 UTC 2015 - wbauer@tmo.at
|
||||
|
||||
- Fix setting the default audio output device, the source files
|
||||
where @@DEFAULT@@ was replaced with alsa/pulse were fetched from
|
||||
the wrong patch file...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 6 00:21:36 UTC 2015 - wbauer@tmo.at
|
||||
|
||||
- Re-add PREFIX option to the build, otherwise smplayer looks in
|
||||
/usr/local/share/ for its files (skins/themes/shortcuts) instead
|
||||
of /usr/share/.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 3 10:43:12 UTC 2015 - sor.alexei@meowr.ru
|
||||
|
||||
- Update to 14.9.0.6966.
|
||||
- Switch to Qt5 for openSUSE newer than 13.2.
|
||||
- Remove smplayer-qt5 package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 7 16:16:32 UTC 2015 - sor.alexei@meowr.ru
|
||||
|
||||
- Update to 14.9.0.6887:
|
||||
* Add the options -ontop and -no-ontop for the command line.
|
||||
They just change the "Stay on top" options in the preferences.
|
||||
* Add an option in the toolbar editor to set the size of the
|
||||
icons (currently it doesn't look good if you increase the size
|
||||
of the icons in the skin GUI).
|
||||
* Add new option in the playlist section in preferences:
|
||||
"Play next file even if the previous file failed".
|
||||
If the option is enabled, when a file fails to play (MPV/mplayer
|
||||
crashes or exits with an error code), the playlist will play
|
||||
the next file in the list.
|
||||
* Allow duplicate items in the playlist.
|
||||
* New action show_time (assigned by default to key I). It shows
|
||||
the current playback time, total time and percentage, for 2
|
||||
seconds on the OSD.
|
||||
* Now the following filters do not restart MPV when they are
|
||||
turned on/off: add black borders, gradfun, add noise, software
|
||||
scaling, blur, sharpen, deblock, dering, denoise, phase, rotate,
|
||||
and deinterlace.
|
||||
* The flip and mirror options don't restart MPV.
|
||||
* Change the play/pause icon according to the player state in the
|
||||
default and mini GUIs.
|
||||
* The kerndeint filter works with MPV.
|
||||
* Add the possibility to use the mouse buttons for the actions
|
||||
"next chapter" and "previous chapter".
|
||||
* Add the possibility to delete a file in the playlist from the
|
||||
filesystem.
|
||||
* Add support for MPRIS D-Bus Interface.
|
||||
* (mpv) Use the --sub-text-* options to set the style of the
|
||||
subtitles since the option --ass-styles doesn't work anymore for
|
||||
this.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 5 10:14:02 UTC 2015 - sor.alexei@meowr.ru
|
||||
|
||||
- Update to 14.9.0.6690:
|
||||
* Open https URLs with ffmpeg://
|
||||
* (Themes and skins) Now if the resource file (*.rcc) is not
|
||||
found the images will be loaded from PNGs files, as in previous
|
||||
versions.
|
||||
This will make easier for users to customize themes, since they
|
||||
won't need to create the rcc files.
|
||||
* (Qt 5) Fix the option pause when minimized.
|
||||
* Add options in Preferences -> Network to set a proxy.
|
||||
* (Bugfix) Prevent to pass the filename twice to mplayer when
|
||||
using use_short_pathnames.
|
||||
* Add support for mpv.
|
||||
It took 25 days. 6983 lines were changed.
|
||||
It's not complete yet, some things may not work yet, but
|
||||
I think the most important things work.
|
||||
Notice: it requires mpv 0.6.2 or greater.
|
||||
* During the process of adding support for mpv, the options to
|
||||
customize the non ASS font were removed.
|
||||
* Add the Albanian translation.
|
||||
* Add Notes_about_mpv.txt.
|
||||
* Add an option to go back one frame (frame_back_step)
|
||||
(mpv only).
|
||||
* Add an option in Preferences -> General to set the template for
|
||||
screenshots (mpv only).
|
||||
* Replace the option 'Use SSA/ASS library' in the subtitles menu
|
||||
with 'Use custom style'.
|
||||
* Add an option to disable the scroll of the title in the
|
||||
skingui.
|
||||
* Add the possibility to select a secondary subtitle track, which
|
||||
is displayed on top of the screen (mpv only).
|
||||
* Move the Youtube options from the performance section to the
|
||||
network section.
|
||||
* Add an option to enable or disable the internal Youtube
|
||||
support.
|
||||
* Add an option to enable streaming sites (requires mpv and
|
||||
youtube-dl).
|
||||
* Add an option to change the size of the OSD.
|
||||
* (Videopreview) Use -nofontconfig to prevent to create the font
|
||||
cache.
|
||||
* Fix for Youtube.
|
||||
* (mpv) Don't use the pp filter if it's not available
|
||||
* Add a combobox in Preferences -> Performance to select the
|
||||
hardware decoding option (mpv only).
|
||||
- Rebase smplayer-default_ao.patch, smplayer-simple-resize.patch.
|
||||
- Add smplayer-default_mpv.patch, require MPV instead of MPlayer.
|
||||
- Use %find_lang instead of a manual language detection, also
|
||||
stop adding translated GPLv2+ text into the package.
|
||||
- Remove smplayer-disable-debug.patch in favour of
|
||||
QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
|
||||
- Remove "KDE" from .desktop's as SMPlayer works outside KDE just
|
||||
as good.
|
||||
- Refactor a regular expression which define an audio output.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 14 09:49:52 UTC 2014 - dap.darkness@gmail.com
|
||||
|
||||
- Let recommend lang subpackage:
|
||||
http://lists.links2linux.de/pipermail/packman/2014-September/013162.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 7 12:20:01 UTC 2014 - dap.darkness@gmail.com
|
||||
|
||||
- Update to 14.9.0
|
||||
* Fix for Youtube.
|
||||
* New option to shut down the computer when playback has finished.
|
||||
* The themes and skin icons are loaded from resource files (*.rcc).
|
||||
* New fix for searching subtitles from opensubtitles.org that
|
||||
should return more results.
|
||||
- Removed smplayer-4.13.0-mousewheel_seeking.patch as merged.
|
||||
- Updated smplayer-add_kde_protocols_to_desktop_file.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 03:57:58 UTC 2014 - dap.darkness@gmail.com
|
||||
|
||||
- Added smplayer-4.13.0-mousewheel_seeking.patch vs. bnc#879726.
|
||||
- Fixed up license headers of spec files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 2 11:21:20 UTC 2014 - tittiatcoke@gmail.com
|
||||
|
||||
- Enable Qt5 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 2 11:19:34 UTC 2014 - tittiatcoke@gmail.com
|
||||
|
||||
- Update to 14.3.0
|
||||
* The control for fullscreen mode has been rewritten and improved.
|
||||
* Some presets have been added to the audio equalizer.
|
||||
* (Experimental) Possibility to play (non-protected) blu-ray discs.
|
||||
* Better support for multimedia keys. This can help control SMPlayer
|
||||
with a remote control.
|
||||
* New option in the playlist preferences for adding automatically
|
||||
other files in the folder to the playlist.
|
||||
* The option "Move the window when the video area is dragged" has
|
||||
been fixed.
|
||||
* Better support for Youtube.
|
||||
* Many bugfixes.
|
||||
|
||||
- Drop patch smplayer-fix_logging_format.patch as that the logging
|
||||
has been changed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 14 15:23:43 UTC 2013 - dap.darkness@gmail.com
|
||||
|
||||
- Update to 0.8.6:
|
||||
* Skingui fixes and improvements.
|
||||
* Subtitles searching and downloading fixes and improvements.
|
||||
* Youtube fixes and improvements.
|
||||
* Don't report about new version if installed version is newer.
|
||||
* Workaround for the control widgets when using a right to left language.
|
||||
* Read the script from the file ytsig.script in the smplayer config dir.
|
||||
* Be sure the main window is visible when requesting to open a file.
|
||||
* Add an "updates" section in preferences.
|
||||
* Ignore -fontconfig and -nofontconfig if using mplayer2.
|
||||
* Check for infinite recursion in favorites.
|
||||
* A new icon has been added for the mplayer error dialog.
|
||||
* Display a wait cursor during the creation of the dialogs.
|
||||
* Save/restore the window state.
|
||||
* Add an option for command line: -delete-config.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 9 15:23:53 UTC 2013 - dap.darkness@gmail.com
|
||||
|
||||
- Update to 0.8.5:
|
||||
* Smplayer could find subtitles again.
|
||||
* The interface with support for skins is now the default.
|
||||
* An option to enter url(s) in the playlist has been added.
|
||||
* The options to change the size of the main window work now
|
||||
even if the autoresize is set to never.
|
||||
* Two new options for Audio -> Stereo mode: Mono and Reverse.
|
||||
* The option "Move the window when the video area is dragged" is
|
||||
now disabled by default because it has some issues.
|
||||
* The problem with mplayer2 and the -fontconfig option has been
|
||||
fixed (sort of).
|
||||
* New translation: Malay.
|
||||
* Some configuration options are changed to new defaults after
|
||||
installation to ease upgrade.
|
||||
- Added smplayer-add_kde_protocols_to_desktop_file.patch to add
|
||||
X-KDE-Protocols to desktop file to fix #PM-48 (packman).
|
||||
- BuildRoot was removed as unneeded.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 24 09:41:15 UTC 2013 - dap.darkness@gmail.com
|
||||
|
||||
- Update to 0.8.4:
|
||||
* New option to select the fps for external subtitles.
|
||||
* The video equalizer dialog has been rewritten.
|
||||
* Now smplayer checks for updates automatically.
|
||||
* Support for encoding ISO-8859-16 for subtitles.
|
||||
* New translations: Thai and Hebrew.
|
||||
* Some bugfixes.
|
||||
- Service source_validator was enabled.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 22 14:39:21 UTC 2012 - dap.darkness@gmail.com
|
||||
|
||||
- Update to 0.8.3:
|
||||
* Youtube playback was fixed again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 19 21:16:57 UTC 2012 - dap.darkness@gmail.com
|
||||
|
||||
- Update to 0.8.2.1:
|
||||
* A skinnable interface has been added. Several skins are included.
|
||||
* Support for 6.1 and 7.1 audio output.
|
||||
* A "Privacy" section in the preferences dialog has been added.
|
||||
* The main window can be moved by dragging the video area.
|
||||
* Fix for a freeze that may happen on Windows XP.
|
||||
- Clean-section was removed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 17 20:26:04 UTC 2012 - fisiu@opensuse.org
|
||||
|
||||
- Fix #PM-48: remote file need to be cached before playback.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 6 13:09:08 UTC 2012 - i@margueirte.su
|
||||
|
||||
- fix the bug that it goes into audio player section in kickoff menu.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 23 15:07:39 UTC 2012 - dap.darkness@gmail.com
|
||||
|
||||
- Update to 0.8.1:
|
||||
* Youtube playback was fixed.
|
||||
- QMAKE_CFLAGS = %{optflags} was added.
|
||||
- License tag was fixed in order to refer to http://license.opensuse.org/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 8 10:45:39 UTC 2012 - dap.darkness@gmail.com
|
||||
|
||||
- Update to 0.8.0:
|
||||
* A toolbar editor has been added. Now it's possible to select the buttons and controls that want to appear in the toolbars.
|
||||
* New video filters: gradfun, blur and sharpen.
|
||||
* Now it's possible to change the GUI (default, mini, mpc) at runtime, no restart required.
|
||||
* sub files from opensubtitles should work again.
|
||||
* (Youtube) Recognize short urls (like this one: http://y2u.be/F5OcZBVPwOA)
|
||||
* Better support for chapters in video files.
|
||||
* Bug fix: remote m3u files work from the favorites menu or command line.
|
||||
* Internal changes in the single instance option (switch to QtSingleApplication).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 22:49:50 UTC 2012 - fisiu@opensuse.org
|
||||
|
||||
- Update to 0.7.0:
|
||||
+ Support for YouTube.
|
||||
+ Support for mplayer2.
|
||||
+ New favorite menu (it allows You to add favorite videos, music, streams,
|
||||
youtube videos...).
|
||||
+ New translation: croatian.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 31 02:33:50 UTC 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
- default audio codec is now pulse on >= 12.1
|
||||
- properly pass optflags, including stack protector
|
||||
|
||||
- update to 0.6:10
|
||||
* added a vdpau configuration dialog, now it's possible to select which vdpau
|
||||
codecs to use
|
||||
* removed the option "Visualize motion vectors". It caused problems to many
|
||||
people when activated by mistake.
|
||||
* added a submenu to select the closed caption channel; requires mplayer >=
|
||||
r32607
|
||||
* added webm and vp8 to the list of extensions (for video)
|
||||
* added thd to the list of extensions (for audio)
|
||||
* added hdmov to the list of extensions (for video)
|
||||
* added f4v to the list of extensions (for video)
|
||||
* (Experimental) if using mplayer svn r31030, the audio filters (karaoke,
|
||||
extrastereo and volnorm) are changed without restarting mplayer, using the
|
||||
new slave commands af_add and af_del
|
||||
* for consistency, the playlist preferences have been moved to the playlist
|
||||
section in the main preferences dialog (and the playlist own preferences
|
||||
dialog has been deleted)
|
||||
* added the Danish translation, by Martin Schlander <mschlander@opensuse.org>
|
||||
* added the possibility to select the seeking method (absolute or relative)
|
||||
in Preferences -> Interface
|
||||
* possibility to sort the items of the playlist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 26 21:39:53 UTC 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
- update to 0.6.9+r3615:
|
||||
* updated translations: Basque, Russian, Turkish, Galician, German,
|
||||
* now recognizes MPlayer 1.0rc4
|
||||
* added functionality to the telnet interface
|
||||
* use the mplayer command "af_cmdline equalizer" (added in mplayer 32505), to
|
||||
change the audio equalizer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 21 06:33:58 UTC 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
- update to 0.6.9+r3599:
|
||||
* added patch smplayer-subtitle-downloader.patch (SF#3179078)
|
||||
* applied patch notagintitle.diff by WiseLord, with a minor change to restart
|
||||
playback after modifying the "Show tag info in window title" option
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 20 01:43:21 UTC 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
- fix conflict on en_US file between smplayer and smplayer-lang
|
||||
|
||||
- update to 0.6.9+r3597:
|
||||
* added a submenu to select the closed caption channel (requires
|
||||
mplayer >= r32607)
|
||||
* added webm and vp8 to the list of extensions (for video)
|
||||
* added thd to the list of extensions (for audio)
|
||||
* added hdmov to the list of extensions (for video)
|
||||
* added f4v to the list of extensions (for video)
|
||||
* (experimental) if using mplayer svn r31030, the audio filters
|
||||
(karaoke, extrastereo and volnorm) are changed without
|
||||
restarting mplayer, using the new slave commands af_add and
|
||||
af_del
|
||||
* for consistency, the playlist preferences have been moved to the
|
||||
playlist section in the main preferences dialog (and the
|
||||
playlist own preferences dialog has been deleted)
|
||||
* added the Danish translation, by Martin Schlander
|
||||
* added the possibility to select the seeking method (absolute or
|
||||
relative) in Preferences -> Interface
|
||||
* possibility to sort the items of the playlist
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 3 00:00:00 UTC 2010 - pascal@links2linux.de
|
||||
|
||||
- update to 0.6.9:
|
||||
* fixed a serious bug: sometimes smplayer failed to find
|
||||
subtitles in opensubtitles.org
|
||||
* implemented the possibility to mark an A-B section, to play a
|
||||
part of the file only
|
||||
* possibility to display the video resolution and frames per
|
||||
second in the status bar
|
||||
* audio: selection of left or right channel does work now
|
||||
* improved support for vdpau
|
||||
- splitted out translations into -lang subpackage
|
||||
- added patch to make alsa default when no audio output backend is
|
||||
specified, even though that was removed upstream because of
|
||||
freezing issues on Ubuntu
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 25 00:00:00 UTC 2009 - pascal.bleser@opensuse.org
|
||||
|
||||
- update to 0.6.8:
|
||||
* adds support for TV (more info in Watching_TV.txt)
|
||||
* new option to enable a global volume
|
||||
* support for vdpau
|
||||
* new option to take consecutive screenshots
|
||||
* possibility to add some of the submenus to the toolbars
|
||||
* better support for *.ts files (requires mplayer >= r29381)
|
||||
* added the Vietnamese translation
|
||||
* added the Estonian translation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 12 00:00:00 UTC 2009 - pascal.bleser@opensuse.org
|
||||
|
||||
- update to 0.6.7:
|
||||
* adds experimental (and uncomplete) support for dvd menus; requires a
|
||||
mplayer build compiled with dvdnav support; please read
|
||||
%%{_docdir}/%%{name}/dvdmenus.txt to know how to enable it
|
||||
* now loading an external subtitle file doesn't require to restart the
|
||||
mplayer process (except for idx/sub subtitles)
|
||||
* playlist: when a file is added to the playlist, if it was already in the
|
||||
list, it's moved to the end of the list
|
||||
* options for mplayer: finally spaces in arguments between quotes are
|
||||
handled properly
|
||||
* added two options (in the audio and subtitle menus) to allow the user to
|
||||
enter the audio and subtitle delay (in milliseconds)
|
||||
* ASS subtitles: the outline and shadow options now accept values with
|
||||
decimals
|
||||
* ASS subtitles: possibility to change the color of the border and shadow
|
||||
* now the default value for the "correct pts" option is auto
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 2 00:00:00 UTC 2009 - guru@unixtech.be
|
||||
|
||||
- update to 0.6.6:
|
||||
* added an option to generate a preview (thumbnails) of the video
|
||||
* added a new gui (mpcgui, a media player classic clone) developed by
|
||||
Matthias Petri
|
||||
* added some auto zoom options, to display the video without black borders
|
||||
* implemented a new (and optional) method to save the file settings; this
|
||||
method uses an ini file per each played file, it's faster than the old one
|
||||
* added a new option in Preferences->Video: add black borders on fullscreen:
|
||||
if this option is enabled, black borders will be added to the image in
|
||||
fullscreen mode; this allows subtitles to be displayed on the black
|
||||
borders
|
||||
* increased the resolution of the seekbar; allows a more accurate seeking
|
||||
* added 3 modes for the stay on top option: always, never and while playing
|
||||
* added a history to the open URL dialog
|
||||
* added new action to cycle through all aspect ratios, assigned by default
|
||||
to key "A"
|
||||
* it's possible to run some specified actions every time a file is loaded
|
||||
* possibility to set up a proxy for internet connections (used for subtitle
|
||||
downloading)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 13 00:00:00 UTC 2008 - guru@unixtech.be
|
||||
|
||||
- added Authors to description
|
||||
- update to 0.6.5.1:
|
||||
* subtitles when using the SSA/ASS library can now be further customized:
|
||||
it's possible to select the font, size, colors, bold, italic, outline,
|
||||
shadow...
|
||||
* now tries to follow the XDG Base Directory Specification for the config
|
||||
files: that means the now the configuration files will be saved under the
|
||||
directory $XDG_CONFIG_HOME/smplayer (or $HOME/.config/smplayer if
|
||||
$XDG_CONFIG_HOME is not defined); if you want to keep your preferences,
|
||||
copy or move the files from $HOME/.smplayer to the new location
|
||||
* adds some options in Preferences->Interface to configure the floating
|
||||
control
|
||||
* the commandline option -ini-path has been removed and replaced with
|
||||
- config-path, which specifies the directory where smplayer will store its
|
||||
data (not only smplayer.ini)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 25 00:00:00 UTC 2008 - guru@unixtech.be
|
||||
|
||||
- removed old %%changelog entries
|
||||
- update to 0.6.4:
|
||||
* the dialog to find subtitles can also download the subtitle file and load it in smplayer automatically
|
||||
* the black screen problem when using Compiz should really be fixed now
|
||||
* added support for encoding autodetection for subtitle files (requires a mplayer compiled with enca support)
|
||||
* now it's possible to choose the audio device to be used with alsa (needs the application "aplay")
|
||||
* added the possibility to add consecutive files (video_01.avi, video_02.avi..) automatically to the playlist
|
||||
* bugfix: logout is not cancelled by smplayer
|
||||
* now the options in preferences display a tooltip with a help message
|
||||
* now it's possible to change the video track
|
||||
* added the Galician translation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 26 00:00:00 UTC 2008 - guru@unixtech.be
|
||||
|
||||
- update to 0.6.3:
|
||||
* added a fix for a black screen problem when using Compiz
|
||||
* added an option to select the number of threads that mplayer will use for
|
||||
decoding (only works for MPEG-1/2 and some H.264 videos)
|
||||
* added the possibility to disable the audio equalizer; seems to be
|
||||
necessary to use the S/PDIF output
|
||||
* added some options to increase/decrease the speed by 1%% and 4%%; this
|
||||
allows to play 24 fps movies at 25 fps speed and vice versa
|
||||
* fix: sometimes the playlist is not shown; added a workaround for the problem
|
||||
* added some checks to avoid crashes when selecting subtitle tracks
|
||||
* the settings in smplayer.ini have been reorganized in several sections
|
||||
(this also means most of your preferences will be lost and you will have
|
||||
to reconfigure smplayer again)
|
||||
* added an option to mirror the video, and now it's also possible to flip
|
||||
and rotate the subtitles along with the image
|
||||
* added a new shortcut set (sda.keys) which can be loaded in the shortcut
|
||||
editor in preferences
|
||||
* added two new translations: Arabic and Kurdish
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 15 00:00:00 UTC 2008 - guru@unixtech.be
|
||||
|
||||
- new upstream version:
|
||||
* added an audio equalizer (please read Audio_equalizer.txt)
|
||||
* added a dialog to search and download subtitles from opensubtitles.org
|
||||
(see Finding_subtitles.txt)
|
||||
* the toolbars can be configured: the user can remove, add or change the
|
||||
order of the buttons; right now it can only be done by editing manually
|
||||
the configuration file, but a graphical editor will be added in the next
|
||||
version (see Configuring_the_toolbars.txt)
|
||||
* the single instance port can now be chosen automatically by the
|
||||
application
|
||||
* added a Slovenian translation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 30 00:00:00 UTC 2008 - guru@unixtech.be
|
||||
|
||||
- new upstream version:
|
||||
* now compact mode resizes the window, instead of leaving black borders
|
||||
* added an option in Preferences->Interface which allows the user to select
|
||||
his/her preferred GUI; this way it's easier to use the mini GUI, for those
|
||||
who prefer a simpler interface with few buttons
|
||||
* one more fix for Qt 4.4: the option FAQ in the Help menu didn't work
|
||||
* added the Catalan translation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 14 00:00:00 UTC 2008 - guru@unixtech.be
|
||||
|
||||
- promoting smplayer-beta to smplayer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 13 00:00:00 UTC 2008 - guru@unixtech.be
|
||||
|
||||
- new upstream version
|
164
smplayer.spec
Normal file
164
smplayer.spec
Normal file
@ -0,0 +1,164 @@
|
||||
#
|
||||
# spec file for package smplayer
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: smplayer
|
||||
Version: 14.9.0.6994
|
||||
Release: 0
|
||||
Summary: Complete frontend for MPV
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Multimedia/Video/Players
|
||||
Url: http://smplayer.sourceforge.net/
|
||||
Source: http://downloads.sf.net/smplayer/smplayer-%{version}.tar.bz2
|
||||
# PATCH-FIX-OPENSUSE smplayer-makeflags.patch
|
||||
Patch0: smplayer-makeflags.patch
|
||||
# PATCH-FIX-OPENSUSE smplayer-default_ao.patch
|
||||
Patch1: smplayer-default_ao.patch
|
||||
# PATCH-FEATURE-OPENSUSE smplayer-default_mpv.patch sor.alexei@meowr.ru -- Use MPV by default.
|
||||
Patch2: smplayer-default_mpv.patch
|
||||
# PATCH-FIX-UPSTREAM smplayer-simple-resize.patch
|
||||
Patch3: smplayer-simple-resize.patch
|
||||
# PATCH-FIX-UPSTREAM smplayer-add_kde_protocols_to_desktop_file.patch -- To play network shared video correctly: #PM-48.
|
||||
Patch4: smplayer-add_kde_protocols_to_desktop_file.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: zlib-devel
|
||||
# Either mpv >= 0.6.2 or MPlayer >= 1.0rc4_r32607.
|
||||
Requires: mpv >= 0.6.2
|
||||
Recommends: smplayer-lang = %{version}
|
||||
Recommends: smplayer-skins
|
||||
Suggests: smplayer-themes
|
||||
Provides: smplayer-core = %{version}
|
||||
Provides: smplayer-qt5 = %{version}
|
||||
Obsoletes: smplayer-qt5 < %{version}
|
||||
Obsoletes: smplayer-qt5-lang < %{version}
|
||||
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
||||
BuildRequires: libqt5-qttools-devel
|
||||
BuildRequires: pkgconfig(Qt5Concurrent)
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5DBus)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||
BuildRequires: pkgconfig(Qt5Script)
|
||||
BuildRequires: pkgconfig(Qt5Sql)
|
||||
BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
%else
|
||||
BuildRequires: libkde4-devel
|
||||
BuildRequires: libqt4-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
SMPlayer intends to be a complete front-end for MPV/MPlayer, from
|
||||
basic features like playing videos, DVDs, and VCDs to more
|
||||
advanced features like support for MPV filters and more.
|
||||
|
||||
One of the most interesting features of SMPlayer: it remembers the
|
||||
settings of all files you play. So you start to watch a movie but
|
||||
you have to leave... don't worry, when you open that movie again it
|
||||
will resume at the same point you left it, and with the same
|
||||
settings: audio track, subtitles, volume...
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q -n smplayer-%{version}
|
||||
%patch0
|
||||
%patch1
|
||||
sed -e '/^+\{3\}/!d;s|^+\{3\} \([^ ]*\).*$|\1|' < %{PATCH1} | xargs \
|
||||
%if 0%{?suse_version} >= 1210
|
||||
sed -i 's/@@DEFAULT@@/pulse/g'
|
||||
%else
|
||||
sed -i 's/@@DEFAULT@@/alsa/g'
|
||||
%endif
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
|
||||
# Fix CRLF in .txt files.
|
||||
sed -i 's/\r$//' *.txt
|
||||
|
||||
find . -type f -name '*.pro' | while read f; do
|
||||
cat << EOF >> "$f"
|
||||
|
||||
QMAKE_CFLAGS = %{optflags}
|
||||
QMAKE_CXXFLAGS = %{optflags}
|
||||
EOF
|
||||
done
|
||||
|
||||
%build
|
||||
make \
|
||||
MAKEFLAGS="%{?_smp_mflags}" \
|
||||
PREFIX=%{_prefix} \
|
||||
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
||||
QMAKE=%{_libqt5_bindir}/qmake \
|
||||
LRELEASE=%{_libqt5_bindir}/lrelease \
|
||||
%else
|
||||
KDE_SUPPORT=1 \
|
||||
%endif
|
||||
QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
|
||||
|
||||
%install
|
||||
%make_install \
|
||||
%if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
|
||||
KDE_PREFIX=%{_prefix} \
|
||||
DOC_PATH=%{_docdir}/%{name} \
|
||||
KDE_INCLUDE_PATH=%{_includedir} \
|
||||
KDE_LIB_PATH=%{_libdir} \
|
||||
%endif
|
||||
PREFIX=%{_prefix} \
|
||||
DOC_PATH=%{_docdir}/%{name}
|
||||
|
||||
rm -rf %{buildroot}%{_docdir}/%{name}/*
|
||||
|
||||
# Append Qt;KDE; categories in desktop files – fix for #PM-48.
|
||||
for desktop in smplayer smplayer_enqueue; do
|
||||
%suse_update_desktop_file -r "$desktop" Qt AudioVideo Video Player
|
||||
done
|
||||
%find_lang smplayer --with-qt
|
||||
|
||||
%post
|
||||
%desktop_database_post
|
||||
%icon_theme_cache_post
|
||||
|
||||
%postun
|
||||
%desktop_database_postun
|
||||
%icon_theme_cache_postun
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changelog *.txt
|
||||
%{_bindir}/smplayer
|
||||
%{_datadir}/applications/smplayer.desktop
|
||||
%{_datadir}/applications/smplayer_enqueue.desktop
|
||||
%dir %{_datadir}/icons/hicolor/*/
|
||||
%dir %{_datadir}/icons/hicolor/*/apps/
|
||||
%{_datadir}/icons/hicolor/*/apps/smplayer.*
|
||||
%dir %{_datadir}/smplayer/
|
||||
%{_datadir}/smplayer/shortcuts/
|
||||
%{_datadir}/smplayer/input.conf
|
||||
%{_mandir}/man?/smplayer.?%{?ext_man}
|
||||
|
||||
%files lang -f smplayer.lang
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/smplayer/translations/
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user