summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-01-20 12:19:24 +0000
committerwiz <wiz@pkgsrc.org>2015-01-20 12:19:24 +0000
commit1c7c3498e3d1e41a47b95c401a02ed1b24964e8b (patch)
tree12d6ead08a576fb56ba703a16701243c84977454 /multimedia
parent246624d8409970c68ae16b39039d0af60e57cdbc (diff)
downloadpkgsrc-1c7c3498e3d1e41a47b95c401a02ed1b24964e8b.tar.gz
Update to 0.7.2, based on patch by Leonardo Taccari.
Release 0.7.2 ============= Changes ------- - Give precedence to the DVD menu navigation keyboard bindings so that user defined LEFT/RIGHT/... bindings don't break DVD menu navigation. - Try to fallback to the "default" device if the selected device is busy in the alsa AO. - Don't create Dock icon for audio only files on OS X. - Save screenshots to desktop when using the app bundle on OS X. - Restore ab-loop settings with playback resume. - Bump required youtube-dl version to 2014.11.26 and enable the ytdl_hook Lua script by default (now playing videos from YouTube and the like will work out of the box without any configuration change needed). Bug fixes --------- - Don't signal an error if --stream-dump is used. - Fix removing key bindings from Lua scripts. - Reject channel descriptions with too many channels in the coreaudio AO. - Don't async redraw when waiting for VO redraw on OS X (this fixes the very annoying glitch where the black bars disappear for a single frame when going fullscreen). - Fix mono playback with the also AO. - Don't crash if framebuffers are not available in the opengl VO. New features ------------ - Try to handle multi-arc videos in the ytdl_hook Lua script. Release 0.7.1 ============= Changes ------- - Don't show the volume neutral marker on the OSD if softvol is disabled. - Don't select a subtitle track when executing the sub_add input command in "auto" mode. Bug fixes --------- - Fix busy loop when seeking while paused (this fixes a problem with pulseaudio that caused mpv and the pulseaudio daemon to use 100% CPU). - Fix Lua function utils.subprocess() in Windows versions older than Vista. - Avoid creating a window bigger than the screen on Windows. - Don't ignore the last line in m3u playlists. - Don't crash if a codec could not be opened. - Dynamically allocate audio channel map entries (this should fix a crash in the alsa and coreaudio AOs with audio devices that support more than 20 channel maps). - Ignore the "srgb" option in the opengl VO if hardware decoding is enabled. - Linearize non-RGB sRGB files correctly (eg. JPEG). - Fix opening reference URLs (.file/id=) on OS X. Release 0.7.0 ============= Changes ------- - Buffer partial log messages in the client API (the client API will now only pass full log messages to clients). - Remove ncurses/terminfo/termcap support (it was disabled by default and replaced by new code since v0.6.0). - Enable cdda:// support by default again (it was disabled since v0.6.0). - Cascade-load input.conf (if there are several input.confs in the set of valid config paths, load them all). - Draw the OSD twice in 3D mode (this fixes subtitles display in 3D mode). - Make wasapi the default AO on Windows again since many of its problems have been solved. - Use "site-functions" subdir to install the zsh completion script instead of the Debian-specific "vendor-completions" (also provide the --zshdir waf configure option for changing this value). - Improve synchronization between the Cocoa GUI and the player (this fixes some long standing deadlock issues on Mac OS X). - Remove --fs-missioncontrol option (only relevant to Mac OS X). New features ------------ - Enable pitch correction by default when playing at higher speeds (this can be controlled with the --audio-pitch-correction option). - Open stream and demuxer asynchronously (this should avoid having the player get blocked on network streams). - Add cache-buffering-state property for querying the cache fill status until the player unpauses. - Add support for listing and selecting the audio device (note that it is not implemented for all AOs, see the --audio-device option for more information). - Add support for a JSON-based IPC mechanism (note that this is not currently supported on Windows, see the JSON IPC section in the manpage for more information). - Add Lua utility function for starting processes (see utils.subprocess() in the manpage). - Add Lua utility function for parsing JSON (see utils.parse_json() in the manpage). - Add field-dominance property (see --field-dominance option). - Add video-rotate property (see --video-rotate option). - Add playback-abort property for querying whether playback is stopped or is to be stopped. - Add cursor-autohide property (see --cursor-autohide option). - Add vo-configured property for querying whether a window is created. - Add support for dxva2 hardware acceleration on Windows. - Drop libquvi support (this has been replaced by a built-in Lua script that invokes the youtube-dl tool, which needs to be installed, see the --ytdl option). - Add support for loading chapters from an external file (see the --chapters-file option). - Add window-minimized property for querying whether the window is minimized (works for X11 only). - Make it possible to configure the OSC seekbar style (see the "seekbarstyle" OSC option). - Add support for libmpv on Mac OS X (it used to be broken, now it's fully functional and also provides support for embedding the mpv window inside a Cocoa/Qt application). - Try to use the audio channel map reported by ALSA in the alsa AO. - Add option to disable text OSD rendering completely (useful for working around certain fontconfig issues, see the --use-text-osd option).
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpv/Makefile4
-rw-r--r--multimedia/mpv/distinfo10
-rw-r--r--multimedia/mpv/options.mk14
-rw-r--r--multimedia/mpv/patches/patch-waftools_generators_headers.py14
-rw-r--r--multimedia/mpv/patches/patch-waftools_waf__customizations.py39
5 files changed, 8 insertions, 73 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index e3e2cc21102..385ae1d4962 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2014/10/22 19:42:48 gls Exp $
+# $NetBSD: Makefile,v 1.11 2015/01/20 12:19:24 wiz Exp $
-DISTNAME= mpv-0.6.1
+DISTNAME= mpv-0.7.2
CATEGORIES= multimedia
MASTER_SITES= -https://github.com/mpv-player/mpv/archive/v${PKGVERSION_NOREV}${EXTRACT_SUFX}
diff --git a/multimedia/mpv/distinfo b/multimedia/mpv/distinfo
index fa01d5b12eb..134033eaa30 100644
--- a/multimedia/mpv/distinfo
+++ b/multimedia/mpv/distinfo
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.6 2014/10/22 19:42:48 gls Exp $
+$NetBSD: distinfo,v 1.7 2015/01/20 12:19:24 wiz Exp $
-SHA1 (mpv-0.6.1.tar.gz) = 5d66e5fe6c4e3c84049e9516fa31eb1d6dee13f7
-RMD160 (mpv-0.6.1.tar.gz) = 9a1ea0301179abee90e98b794c637dd32915062c
-Size (mpv-0.6.1.tar.gz) = 2599417 bytes
-SHA1 (patch-waftools_generators_headers.py) = 4309fadacf3406318c342eb5e925178a8ea88ff9
-SHA1 (patch-waftools_waf__customizations.py) = 54d5d4dc7b58b4c3e4e71724276244a2f00413a6
+SHA1 (mpv-0.7.2.tar.gz) = 756cbc08f7770e2b3b2236f1907cb85ea1543155
+RMD160 (mpv-0.7.2.tar.gz) = 3b09c1dae69e3e5811e94cfa2c83d5f95768f503
+Size (mpv-0.7.2.tar.gz) = 2658772 bytes
diff --git a/multimedia/mpv/options.mk b/multimedia/mpv/options.mk
index b7f306e22cc..cc36e44b931 100644
--- a/multimedia/mpv/options.mk
+++ b/multimedia/mpv/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.3 2014/10/22 19:42:48 gls Exp $
+# $NetBSD: options.mk,v 1.4 2015/01/20 12:19:24 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mpv
-PKG_SUPPORTED_OPTIONS= caca lua pulseaudio sdl v4l2 quvi
+PKG_SUPPORTED_OPTIONS= caca lua pulseaudio sdl v4l2
PKG_SUGGESTED_OPTIONS= lua
.include "../../mk/bsd.options.mk"
@@ -54,13 +54,3 @@ WAF_CONFIGURE_ARGS+= --enable-libv4l2
.else
WAF_CONFIGURE_ARGS+= --disable-libv4l2
.endif
-
-###
-### Quvi (Youtube) support
-###
-.if !empty(PKG_OPTIONS:Mquvi)
-WAF_CONFIGURE_ARGS+= --enable-libquvi4
-.include "../../net/libquvi/buildlink3.mk"
-.else
-WAF_CONFIGURE_ARGS+= --disable-libquvi4
-.endif
diff --git a/multimedia/mpv/patches/patch-waftools_generators_headers.py b/multimedia/mpv/patches/patch-waftools_generators_headers.py
deleted file mode 100644
index fefe5c7c2f2..00000000000
--- a/multimedia/mpv/patches/patch-waftools_generators_headers.py
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-waftools_generators_headers.py,v 1.1 2014/10/12 16:00:30 wiz Exp $
-
-waf-1.8.x compatibility.
-https://github.com/mpv-player/mpv/commit/d906d091627a9be8d0d1e13f54d737eca6dc16ff
-
---- waftools/generators/headers.py.orig 2014-09-30 18:52:47.000000000 +0000
-+++ waftools/generators/headers.py
-@@ -1,5 +1,5 @@
- def __cp_to_variant__(ctx, variant, basename):
-- src = ctx.bldnode.search(basename).read()
-+ src = ctx.bldnode.search_node(basename).read()
- node = ctx.bldnode.make_node("{0}/{1}".format(variant, basename))
- node.parent.mkdir()
- node.write(src)
diff --git a/multimedia/mpv/patches/patch-waftools_waf__customizations.py b/multimedia/mpv/patches/patch-waftools_waf__customizations.py
deleted file mode 100644
index 73abe794f0e..00000000000
--- a/multimedia/mpv/patches/patch-waftools_waf__customizations.py
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-waftools_waf__customizations.py,v 1.1 2014/10/12 16:00:30 wiz Exp $
-
-waf-1.8.x compatibility
-https://github.com/mpv-player/mpv/commit/d906d091627a9be8d0d1e13f54d737eca6dc16ff
-
---- waftools/waf_customizations.py.orig 2014-09-30 18:52:47.000000000 +0000
-+++ waftools/waf_customizations.py
-@@ -30,28 +30,14 @@ def m_hook(self, node):
-
- def build(ctx):
- from waflib import Task
-- import syms
-+
-+ def nice_path(node):
-+ node.path_from(node.ctx.launch_node())
-
- cls = Task.classes['cprogram']
- class cprogram(cls):
- run_str = cls.hcode + '${LAST_LINKFLAGS}'
-
-- def __str__(self):
-- tgt_str = ' '.join([a.nice_path() for a in self.outputs])
-- return 'linking -> {0}\n'.format(tgt_str)
--
-- cls = Task.classes['cshlib']
-- class cshlib(cls):
-- def __str__(self):
-- tgt_str = ' '.join([a.nice_path() for a in self.outputs])
-- return 'linking -> {0}\n'.format(tgt_str)
--
-- cls = Task.classes['compile_sym']
-- class compile_sym(cls):
-- def __str__(self):
-- tgt_str = ' '.join([a.nice_path() for a in self.outputs])
-- return 'compile_sym -> {0}\n'.format(tgt_str)
--
- cls = Task.classes['macplist']
- class macplist(cls):
- def run(self):