Update multimedia/mpv to mpv-0.9.0, from Leonardo Taccari in PR 49863.

pkgsrc changes:
  * Add LUA_VERSION_INCOMPATIBLE= 53 to reflect upstream changelog. No
    functional changes intended.

Changes:
Release 0.9.0
-------------
Changes that may break users' config files have been annotated with a
(!).
  * Note: mpv is not compatible with Lua 5.3. Lua 5.1 or 5.2 is
    required.
  * The minimum required libass version is now 0.12.1 or newer.
  * The minimum required FFmpeg version is now 2.4.0 (equiv. Libav 11)
    or newer.
  * The internal libmpg123 support was removed. This was already not
    used by default in the previous release.
  * (!) The LIRC support was removed. Configure LIRC remotes as input
    devices instead.
  * (!) The Linux Joystick support was removed.
  * (!) vf_screenshot was removed, as they are now handled at a VO
    level and is compatible with all VOs.
  * (!) --ass-use-margins has been renamed to --sub-use-margins and
    applies only to plain-text (non-ASS) subtitles (enabled by
    default). The new --ass-force-margins option applies only to ASS
    subtitles (disabled by default). To get the old behaviour back,
    enable both at the same time.
  * (!) The --sub-scale-with-window option now only applies to plain
    text (non-ASS) subtitles (enabled by default). The new
    --ass-scale-with-window option does the same but only with ASS
    subtitles (disabled by default).
  * (!) The range for the param1 for the gaussian vo_opengl scaler has
    been redefined. Instead of being an arbitrary 1-100 range, have a
    default value of 1.0, and anything higher is blurrier.
  * (!) The seek, playlist_next, playlist_prev, loadfile and loadlist
    parameters no longer accept numerical parameters where symbolic
    parameter names exist.
  * (!) vo_opengl changes:
       + (!) The smoothmotion suboption has been renamed to
         interpolation. The old name is still supported for now.
       + (!) The bilinear_slow scaler has been renamed to triangle.
       + (!) scale-down has been renamed to dscale and now has its own
         set of config options (e.g. dscale-radius).
       + (!) Scaler radius no longer defaults to 3 but to a preferred
         value that may be different for each filter.
       + The scale-radius option may now go down as low as 0.5, which
         is the value used by the nearest filter.
       + spline36 is the new cscale default for opengl-hq. This might
         break setups that use fbo-format=rgb8. To work around it,
         leave fbo-format as its default, or set to something higher
         than 8, or set cscale=bilinear, the previous default.
  * (!) vf_format no longer converts video to YUYV if there is no
    parameter. Video is now passed unchanged unless a format is
    specifically requested.
  * (!) The --colormatrix, --colormatrix-input-range,
    --colormatrix-output-range and --colormatrix-primaries options have
    been converted into vf_format suboptions. See commit 27715b7 and
    the manual for details.
  * vf_mirror's implementation was replaced with calling into
    libavfilter's vf_hflip filter, thus depending on libavfilter to
    function.
  * The device subption to ao_wasapi has been deprecated in favor of
    --audio-device.
  * --video-rotate now allows 360 as an argument instead of stopping at
    359.
  * Several improvements to af_scaletempo.
  * Options that have multiple options and also include a "yes" option
    now default to that if specified with no arguments.
  * The default value of --cache-default is now 150000 (153.6 MB, ~146
    MiB).
  * JPEG screenshots now use the same subsampling as the source video.
    The images are still RGB regardless of source format though.

Bug fixes

  * mpv no longer saves position on files that can't be resumed (issue
    #1701).
  * (X11) Fix the player thinking the mouse has left the window in some
    WMs / embeddings (issue #1672).
  * mpv no longer freezes on wayland when the compositor stops asking
    it to draw itself (e.g. when minimized) (issue #249).
  * .ac3 files are no longer rejected by --audio-file-auto (issue
    #1759).
  * ao_wasapi now automatically enables exclusive when passthrough is
    attempted (issue #1742).
  * Attempt to fix flickering on Intel VAAPI drivers with --hwdec=vaapi
    and --vo=opengl (issue #1765).
  * youtube-dl will no longer download video streams when video
    playback is disabled with --no-video.
  * (Windows) mpv now prevents system sleep when playing a video-only
    file. Previously, only files with an opened audio track would
    prevent sleep.

New features

  * vo_opengl features:
       + Added ewa_ginseng, ewa_hanning, robidoux, robidouxsharp,
         oversample and haasnsoft scalers.
       + There are now ewa_lanczossoft and ewa_lanczossharp aliases to
         ewa_lanczos that are tuned to be blurrier and sharper,
         respectively.
       + Added gamma-auto option that uses ambient light sensors to
         automatically adjust the video gamma. See commit c028d78 for
         details.
       + Added blend-subtitles option to draw subtitles directly into
         the video instead of rendered afterwards. Potentially
         necessary for correct rendering with files that use ASS
         subtitles for typesetting in combination with an icc-profile.
         There is a default option for drawing after upscaling, and a
         video option for drawing before upscaling. See details and
         warning on the manual.
       + There is now a tscale option, used to choose the temporal
         scaler used in the interpolation mode (previously
         smoothmotion).
       + There is a new scale-blur parameter to adjust the amount of
         blur that most of the filters produce. Deviating from the
         default may introduce artifacts in EWA filters.
       + (Windows) There is now a dwmflush option that might help
         improve rendering of high-fps video. Disabled by default. See
         manual for options.
  * New Linux-only vo_drm video output driver. Uses the direct
    rendering / kernel modesetting drivers to draw directly to the
    framebuffer, but with no hardware acceleration. See manual for
    details.
  * New pseudo-gui builtin profile, automatically used when launched
    from mpv.desktop by opening mpv.exe on windows (mpv.com still works
    as usual), or by opening the mpv.app bundle. The pseudo-gui tries
    to make the player window behave closer to what a desktop player
    would do, by not immediately closing and allowing the user to
    drag&drop files for playback. See manual for details.
  * mpv can now play directories by automatically playing their
    contents instead. Works everywhere but on Windows, due to issues
    with Windows' C runtime.
  * Add support to pitch correct stretched audio with librubberband.
  * Add support for the Raspberry Pi 2's hardware decoder when FFmpeg
    (or Libav) is built with --enable-mmal. See commit 8fff125 for
    details.
  * The --cache option now accepts a "yes" option, that always enables
    a --cache-default-sized cache on all cases a cache can be used,
    unless --cache-default disables caching.
  * ao_pulse, ao_coreaudio and ao_wasapi now support device
    hotplugging.
  * New --osd-align-x and --osd-align-y options can be used to align
    the OSD independently from subtitles.
  * New --osd-bold and --sub-text-bold options can be enabled to bold
    all OSD or plain-text subtitle text, respectively.
  * Added a default keybind to the u key that enables/disables ASS
    style overriding. When enabled, is equivalent to
    --ass-style-override=force.
  * There is now a MOUSE_ENTER keybind, that is called when the mouse
    cursor enters the VO from outside.
  * The new --ytdl-params option can be set to arguments that are
    always given to youtube-dl invocations. There is no sanity
    checking, so invalid options can prevent mpv from working with http
    URLs.
  * There's a new --demuxer-mkv-fix-timestamps option, enabled by
    default, that tries to guess more accurate video timestamps by
    using FPS information, if available. See manual for details.
  * The new --window-scale option can be used to scale the video window
    by the specified multiplier, before other options such as --autofit
    are applied.
  * vo_direct3d_shaders now supports NV12 colorspace without using
    stretchrect, but it seems no drivers actually support that.
  * (Client API) Added a rescan_external_files command, as requested on
    issue #1586.
  * (Client API) If enabled, initializing the Client API will now also
    load the user's mpv.conf.
  * (Client API) There's a new mpv_opengl_cb_report_flip() call for API
    users to call to inform mpv of when exactly a frame was displayed.
  * (Client API) The mpv_opengl_cb_render() function was deprecated in
    favor of the new, simpler mpv_opengl_cb_draw() function.
  * (Client API) There is a new screenshot_raw command. See input.rst
    for details.
  * The --input-file argument may now also be a file descriptor in the
    form "fd://N", where N is the FD number.
This commit is contained in:
wiz 2015-04-30 15:10:17 +00:00
parent c64a28593b
commit 358d25a1b5
3 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.18 2015/04/25 14:23:41 tnn Exp $
# $NetBSD: Makefile,v 1.19 2015/04/30 15:10:17 wiz Exp $
DISTNAME= mpv-0.8.3
PKGREVISION= 1
DISTNAME= mpv-0.9.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=mpv-player/}
GITHUB_TAG= v${PKGVERSION_NOREV}

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.12 2015/04/02 22:46:20 wiz Exp $
$NetBSD: distinfo,v 1.13 2015/04/30 15:10:17 wiz Exp $
SHA1 (mpv-0.8.3.tar.gz) = 06fe7ed8aa07c67c80cdebdc06e0be3d2421fcea
RMD160 (mpv-0.8.3.tar.gz) = 64da776132101706141ffbced223861579f3c0cf
Size (mpv-0.8.3.tar.gz) = 2664730 bytes
SHA1 (mpv-0.9.0.tar.gz) = 8960058bfd61941967fdea168de412c15d57d257
RMD160 (mpv-0.9.0.tar.gz) = 40f0e10412c30250eab76f60e85eb19cd5404903
Size (mpv-0.9.0.tar.gz) = 2697623 bytes

View file

@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.4 2015/01/20 12:19:24 wiz Exp $
# $NetBSD: options.mk,v 1.5 2015/04/30 15:10:17 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mpv
PKG_SUPPORTED_OPTIONS= caca lua pulseaudio sdl v4l2
@ -21,6 +21,7 @@ WAF_CONFIGURE_ARGS+= --disable-caca
###
.if !empty(PKG_OPTIONS:Mlua)
WAF_CONFIGURE_ARGS+= --enable-lua
LUA_VERSIONS_INCOMPATIBLE= 53
.include "../../lang/lua/buildlink3.mk"
.else
WAF_CONFIGURE_ARGS+= --disable-lua