Accepting request 511318 from home:lachs0r:branches:multimedia:apps

Update to 0.26.0, some packaging fixes.

I’d enable JavaScript support, too, but openSUSE doesn’t package MuJS yet (which is sort of a pain because upstream doesn’t have a SONAME, yada yada).


old: multimedia:apps/mpv
new: home:lachs0r:branches:multimedia:apps/mpv rev None
Index: mpv.changes
===================================================================
--- mpv.changes (revision 99)
+++ mpv.changes (revision 3)
@@ -1,4 +1,104 @@
 -------------------------------------------------------------------
+Tue Jul 18 19:42:17 UTC 2017 - 9@cirno.systems
+
+- Packaging changes:
+  * Remove unnecessary build dependencies
+  * Explicitly enable DVD and DVB features
+  * Add libgbm, rubberband, uchardet
+
+- Update to version 0.26.0
+  * Built-in V4L TV support is disabled by default.
+    av://v4l2 can be used instead.
+  * Support for C plugins is now enabled by default (#4491).
+  * Many more parts of the player are now licensed under LGPL,
+    see Copyright file.
+  Added features:
+  * csputils: implement sony s-gamut
+  * vo_opengl: add new HDR tone mapping algorithm
+    (mobius, now default)
+  * vo_opengl: hwdec_cuda: Support separate decode and display
+    devices
+  * vo_opengl: implement sony s-log1 and s-log2 trc
+  * vo_opengl: implement support for OOTFs and non-display referred
+    content
+  Removed features:
+  * vf_dlopen: remove this filter
+  Added options and commands:
+  * vo_opengl: add --tone-mapping-desaturate
+  * vo_opengl: support tone-mapping-param for `clip`
+  * ytdl_hook: add option to exclude URLs from being parsed
+  Changed options and commands:
+  * allow setting profile option with libmpv
+  * audio: move replaygain control to top-level options
+  * external_files: parse ~ in --{sub,audio}-paths
+  * options: change --sub-fix-timing default to no (#4484)
+  * options: expose string list actions for --sub-file option
+  * options: slight cleanup of --sub-ass-style-override
+    + signfs → scale
+    + --sub-ass-style-override → --sub-ass-override
+  * renamed the HDR TRCs `st2084` and `std-b67` to `pq` and `hlg`
+    respectively
+  * replace vf_format's `peak` suboption by `sig-peak`, which is
+    relative to the reference white level instead of in cd/m^2
+  * the following options change to append-by-default (and possibly
+    separator): --script
+  * video: change --video-aspect-method default value to `container`
+  Deprecated options and commands:
+  * m_option: deprecate multiple items for -add etc.
+  * player: deprecate "osd" command
+  * --audio-file-paths => --audio-file-path
+  * --sub-paths => --sub-file-path
+  * --opengl-shaders => --opengl-shader
+  * --sub-paths => --sub-file-paths
+  * the following options are deprecated for setting via API:
+    + "script" (use "scripts")
+    + "sub-file" (use "sub-files")
+    + "audio-file" (use "audio-files")
+    + "external-file" (use "external-files")
+    (the compatibility hacks for this will be removed after this
+    release)
+  Removed options and commands:
+  * chmap: remove misleading "downmix" channel layout name (#4545)
+  * demux_lavf: remove --demuxer-lavf-cryptokey option (#4579)
+  * input.conf: drop TV/DVB bindings
+  * options: remove remaining deprecated audio device selection options
+    + --alsa-device
+    + --oss-device
+    + --coreaudio-exclusive
+    + --pulse-sink
+    + --rsound-host/--rsound-port
+    + --ao-sndio-device
+    + --ao-wasapi-exclusive
+    + --ao-wasapi-device
+  * remove option --target-brightness
+  * remove property "video-params/nom-peak"
+  Fixes and minor enhancements:
+  * TOOLS/lua/autoload.lua: actually sort files case insensitive (#4398)
+  * TOOLS/lua/autoload.lua: ignores all files starting with "."
+  * ao_pulse: reorder format choice to prefer float and S32 over S16 as fallback format
+  * command: add missing change notification for playlist-shuffle (#4573)
+  * demux_disc: fix bluray subtitle language retrieval (#4611)
+  * demux_mkv: fix alpha with vp9 + libvpx
+  * demux_mkv: support FFmpeg A_MS/ACM extensions
+  * ipc-unix: don’t truncate the message on EAGAIN (#4452)
+  * ipc: raise json nesting limit (#4394)
+  * mpv_identify: replace deprecated fps property (#4550)
+  * options/path: fallback to USERPROFILE if HOME isn't set
+  * player: close audio device on no audio track
+  * player: fix potential segfault when playing dvd:// with DVD disabled (#4393)
+  * player: prevent seek position to jump around adjacent keyframes, e.g. when dragging the OSC bar on short videos (#4183)
+  * vo_opengl: bump up SHADER_MAX_HOOKS and MAX_TEXTURE_HOOKS to 64
+  * vo_opengl: correct off-by-one in scale=oversample
+  * vo_opengl: do not use vaapi-over-GLX (#4555)
+  * vo_opengl: fall back to ordered dither instead of blowing up (#4519)
+  * vo_opengl: tone map in linear XYZ instead of RGB
+  * x11: add 128x128 sized icon support
+  * ytdl_hook: add a header to support geo-bypass
+  * ytdl_hook: don't override start time set by saved state
+  * ytdl_hook: don't override user-set start time
+  * ytdl_hook: treat single-entry playlists as a single video
+
+-------------------------------------------------------------------
 Mon May 22 08:41:28 UTC 2017 - tchvatal@suse.com
 
 - Depend on lua-5.1 as 5.3 is incompatible wrt bsc#1040034 
Index: mpv.spec
===================================================================
--- mpv.spec (revision 99)
+++ mpv.spec (revision 3)
@@ -21,7 +21,7 @@
 
 %define _waf_ver 1.9.9
 %define _mbc_ver 3.3.13
-%define _mpv_ver 0.25.0
+%define _mpv_ver 0.26.0
 %define lname   libmpv1
 Name:           mpv
 Version:        %{_mpv_ver}
@@ -39,24 +39,19 @@
 Patch0:         mpv-make-ffmpeg-version-check-non-fatal.patch
 BuildRequires:  bash
 BuildRequires:  hicolor-icon-theme
-BuildRequires:  ladspa-devel
 BuildRequires:  libjpeg-devel
-BuildRequires:  libmng-devel
 BuildRequires:  linux-kernel-headers
-BuildRequires:  lirc-devel
 BuildRequires:  lua
-BuildRequires:  ncurses-devel
 BuildRequires:  perl
 BuildRequires:  pkgconfig
 BuildRequires:  python3-docutils
 BuildRequires:  update-desktop-files
-BuildRequires:  yasm
 BuildRequires:  pkgconfig(alsa)
 BuildRequires:  pkgconfig(caca) >= 0.99.beta18
 BuildRequires:  pkgconfig(dri)
 BuildRequires:  pkgconfig(dvdnav) >= 4.2.0
 BuildRequires:  pkgconfig(dvdread) >= 4.1.0
-BuildRequires:  pkgconfig(enca)
+BuildRequires:  pkgconfig(gbm)
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(jack)
 BuildRequires:  pkgconfig(lcms2) >= 2.6
@@ -68,7 +63,6 @@
 BuildRequires:  pkgconfig(libavformat) >= 57.56.100
 BuildRequires:  pkgconfig(libavutil) >= 55.34.100
 BuildRequires:  pkgconfig(libbluray) >= 0.3.0
-BuildRequires:  pkgconfig(libbs2b)
 BuildRequires:  pkgconfig(libcdio)
 BuildRequires:  pkgconfig(libcdio_cdda)
 BuildRequires:  pkgconfig(libcdio_paranoia)
@@ -82,7 +76,9 @@
 BuildRequires:  pkgconfig(libva-x11) >= 0.36.0
 BuildRequires:  pkgconfig(lua-5.1)
 BuildRequires:  pkgconfig(python3)
+BuildRequires:  pkgconfig(rubberband)
 BuildRequires:  pkgconfig(smbclient)
+BuildRequires:  pkgconfig(uchardet)
 BuildRequires:  pkgconfig(vdpau)
 BuildRequires:  pkgconfig(xext) >= 1.0.0
 BuildRequires:  pkgconfig(xinerama) >= 1.0.0
@@ -215,10 +211,13 @@
   --docdir="%{_docdir}/%{name}"      \
   --confdir="%{_sysconfdir}/%{name}" \
   --enable-cdda                      \
+  --enable-dvdread                   \
+  --enable-dvdnav                    \
   --enable-libmpv-shared             \
   --enable-zsh-comp                  \
   --enable-manpage-build             \
   --enable-libarchive                \
+  --enable-dvbin                     \
   ${myopts}
 
 ./waf build --verbose %{?_smp_mflags}
Index: mpv-0.26.0.tar.gz
===================================================================
Binary file mpv-0.26.0.tar.gz (revision 3) added
Index: mpv-0.25.0.tar.gz
===================================================================
Binary file mpv-0.25.0.tar.gz (revision 99) deleted

OBS-URL: https://build.opensuse.org/request/show/511318
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=100
This commit is contained in:
Tomáš Chvátal 2017-07-19 11:05:16 +00:00 committed by Git OBS Bridge
parent 044902b6a0
commit 3dbaa38420
4 changed files with 110 additions and 11 deletions

View File

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

3
mpv-0.26.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,103 @@
-------------------------------------------------------------------
Tue Jul 18 19:42:17 UTC 2017 - 9@cirno.systems
- Packaging changes:
* Remove unnecessary build dependencies
* Explicitly enable DVD and DVB features
* Add libgbm, rubberband, uchardet
- Update to version 0.26.0
* Built-in V4L TV support is disabled by default.
av://v4l2 can be used instead.
* Support for C plugins is now enabled by default (#4491).
* Many more parts of the player are now licensed under LGPL,
see Copyright file.
Added features:
* csputils: implement sony s-gamut
* vo_opengl: add new HDR tone mapping algorithm
(mobius, now default)
* vo_opengl: hwdec_cuda: Support separate decode and display
devices
* vo_opengl: implement sony s-log1 and s-log2 trc
* vo_opengl: implement support for OOTFs and non-display referred
content
Removed features:
* vf_dlopen: remove this filter
Added options and commands:
* vo_opengl: add --tone-mapping-desaturate
* vo_opengl: support tone-mapping-param for `clip`
* ytdl_hook: add option to exclude URLs from being parsed
Changed options and commands:
* allow setting profile option with libmpv
* audio: move replaygain control to top-level options
* external_files: parse ~ in --{sub,audio}-paths
* options: change --sub-fix-timing default to no (#4484)
* options: expose string list actions for --sub-file option
* options: slight cleanup of --sub-ass-style-override
+ signfs → scale
+ --sub-ass-style-override → --sub-ass-override
* renamed the HDR TRCs `st2084` and `std-b67` to `pq` and `hlg`
respectively
* replace vf_format's `peak` suboption by `sig-peak`, which is
relative to the reference white level instead of in cd/m^2
* the following options change to append-by-default (and possibly
separator): --script
* video: change --video-aspect-method default value to `container`
Deprecated options and commands:
* m_option: deprecate multiple items for -add etc.
* player: deprecate "osd" command
* --audio-file-paths => --audio-file-path
* --sub-paths => --sub-file-path
* --opengl-shaders => --opengl-shader
* --sub-paths => --sub-file-paths
* the following options are deprecated for setting via API:
+ "script" (use "scripts")
+ "sub-file" (use "sub-files")
+ "audio-file" (use "audio-files")
+ "external-file" (use "external-files")
(the compatibility hacks for this will be removed after this
release)
Removed options and commands:
* chmap: remove misleading "downmix" channel layout name (#4545)
* demux_lavf: remove --demuxer-lavf-cryptokey option (#4579)
* input.conf: drop TV/DVB bindings
* options: remove remaining deprecated audio device selection options
+ --alsa-device
+ --oss-device
+ --coreaudio-exclusive
+ --pulse-sink
+ --rsound-host/--rsound-port
+ --ao-sndio-device
+ --ao-wasapi-exclusive
+ --ao-wasapi-device
* remove option --target-brightness
* remove property "video-params/nom-peak"
Fixes and minor enhancements:
* TOOLS/lua/autoload.lua: actually sort files case insensitive (#4398)
* TOOLS/lua/autoload.lua: ignores all files starting with "."
* ao_pulse: reorder format choice to prefer float and S32 over S16 as fallback format
* command: add missing change notification for playlist-shuffle (#4573)
* demux_disc: fix bluray subtitle language retrieval (#4611)
* demux_mkv: fix alpha with vp9 + libvpx
* demux_mkv: support FFmpeg A_MS/ACM extensions
* ipc-unix: dont truncate the message on EAGAIN (#4452)
* ipc: raise json nesting limit (#4394)
* mpv_identify: replace deprecated fps property (#4550)
* options/path: fallback to USERPROFILE if HOME isn't set
* player: close audio device on no audio track
* player: fix potential segfault when playing dvd:// with DVD disabled (#4393)
* player: prevent seek position to jump around adjacent keyframes, e.g. when dragging the OSC bar on short videos (#4183)
* vo_opengl: bump up SHADER_MAX_HOOKS and MAX_TEXTURE_HOOKS to 64
* vo_opengl: correct off-by-one in scale=oversample
* vo_opengl: do not use vaapi-over-GLX (#4555)
* vo_opengl: fall back to ordered dither instead of blowing up (#4519)
* vo_opengl: tone map in linear XYZ instead of RGB
* x11: add 128x128 sized icon support
* ytdl_hook: add a header to support geo-bypass
* ytdl_hook: don't override start time set by saved state
* ytdl_hook: don't override user-set start time
* ytdl_hook: treat single-entry playlists as a single video
-------------------------------------------------------------------
Mon May 22 08:41:28 UTC 2017 - tchvatal@suse.com

View File

@ -21,7 +21,7 @@
%define _waf_ver 1.9.9
%define _mbc_ver 3.3.13
%define _mpv_ver 0.25.0
%define _mpv_ver 0.26.0
%define lname libmpv1
Name: mpv
Version: %{_mpv_ver}
@ -39,24 +39,19 @@ Source3: https://github.com/2ion/mpv-bash-completion/archive/%{_mbc_ver}.
Patch0: mpv-make-ffmpeg-version-check-non-fatal.patch
BuildRequires: bash
BuildRequires: hicolor-icon-theme
BuildRequires: ladspa-devel
BuildRequires: libjpeg-devel
BuildRequires: libmng-devel
BuildRequires: linux-kernel-headers
BuildRequires: lirc-devel
BuildRequires: lua
BuildRequires: ncurses-devel
BuildRequires: perl
BuildRequires: pkgconfig
BuildRequires: python3-docutils
BuildRequires: update-desktop-files
BuildRequires: yasm
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(caca) >= 0.99.beta18
BuildRequires: pkgconfig(dri)
BuildRequires: pkgconfig(dvdnav) >= 4.2.0
BuildRequires: pkgconfig(dvdread) >= 4.1.0
BuildRequires: pkgconfig(enca)
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(lcms2) >= 2.6
@ -68,7 +63,6 @@ BuildRequires: pkgconfig(libavfilter) >= 6.65.100
BuildRequires: pkgconfig(libavformat) >= 57.56.100
BuildRequires: pkgconfig(libavutil) >= 55.34.100
BuildRequires: pkgconfig(libbluray) >= 0.3.0
BuildRequires: pkgconfig(libbs2b)
BuildRequires: pkgconfig(libcdio)
BuildRequires: pkgconfig(libcdio_cdda)
BuildRequires: pkgconfig(libcdio_paranoia)
@ -82,7 +76,9 @@ BuildRequires: pkgconfig(libva) >= 0.36.0
BuildRequires: pkgconfig(libva-x11) >= 0.36.0
BuildRequires: pkgconfig(lua-5.1)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(rubberband)
BuildRequires: pkgconfig(smbclient)
BuildRequires: pkgconfig(uchardet)
BuildRequires: pkgconfig(vdpau)
BuildRequires: pkgconfig(xext) >= 1.0.0
BuildRequires: pkgconfig(xinerama) >= 1.0.0
@ -215,10 +211,13 @@ export CCFLAGS="%{optflags}"
--docdir="%{_docdir}/%{name}" \
--confdir="%{_sysconfdir}/%{name}" \
--enable-cdda \
--enable-dvdread \
--enable-dvdnav \
--enable-libmpv-shared \
--enable-zsh-comp \
--enable-manpage-build \
--enable-libarchive \
--enable-dvbin \
${myopts}
./waf build --verbose %{?_smp_mflags}