099b389dda
pkgsrc changes: - Delete 2nd hunk of patches/patch-audio_out_ao__oss.c, it was fixed uptsream and it is no more needed for 0.27.0. Changes: 0.27.0 ====== Features -------- Added ~~~~~ - Windows: handle media keys - libmpv: options: add a thread-safe way to notify option updates - vd_lavc/vo_opengl: support embedded ICC profiles - vo: rendering API abstraction for future non-GL video outputs - vo_opengl: add a gamut warning feature to highlight out-of-gamut colors (--gamut-warning) - vo_opengl: add direct rendering support (--vd-lavc-dr) - vo_opengl: implement (faster) compute shader based EWA kernel - vo_opengl: implement HLG OOTF inverse - vo_opengl: support HDR peak detection (--hdr-compute-peak) - vo_opengl: support float input pixel formats - vo_opengl: support loading custom user textures (#4586) - vo_opengl: support user compute shaders Removed ~~~~~~~ - Remove video equalizer handling from vo_direct3d, vo_sdl, vo_vaapi, and vo_xv (GPL, not worth the effort to support legacy VOs) Options and Commands -------------------- Added ~~~~~ - macOS: add --no-native-fs option to disable the native macOS fullscreen (#4014) - player: add --track-auto-selection option Changed ~~~~~~~ - input: use mnemonic names for mouse buttons, same as Qt: https://doc.qt.io/qt-5/qt.html#MouseButton-enum - options: change --loop semantics - player: make --lavfi-complex changeable at runtime - vf_eq: remove this filter (GPL; uses libavfilter’s eq filter now, with changed semantics) - video: change --deinterlace behavior - vo_opengl: generalize HDR tone mapping to gamut mapping, --hdr-tone-mapping → --tone-mapping Removed ~~~~~~~ - --field-dominance (GPL-only author, no chance of relicensing) - input: drop deprecated "osd" command - options: drop --video-aspect-method=hybrid (GPL-only) Fixes and Minor Enhancements ---------------------------- - TOOLS/autocrop.lua: fix cropdetect black limit for 10-bit videos - TOOLS/lua/autodeint: update to lavfi-bridge - TOOLS/lua/status-line: improve and update - af_lavrresample: don't call swr_set_compensation() unless necessary (#4716) - ao_oss: fix period_size calculation (#4642) - ao_rsound: allow setting the host - audio: fix spdif mode - filter_kernels: correct spline64 kernel - macOS: fix media keys input when other Apps steal the priority (#4834) - macOS: fix the support of multiple renderers (GPU switch) (#2371) - macOS: remove the standard "Show Tab Bar" menu item - options: fix --include (#4673) - player: fix --end with large values (#4650) - player: fix confusion in audio resync code (#4688) - player: make refresh seeks slightly more robust (#4757) - player: readd smi subtitle extension (#4626) - vd_lavc: change auto-probe order to prefer cuda over vdpau-copy - vd_lavc: fix device leak with copy-mode hwaccels (#4735) - vd_lavc: fix hwdec compatibility with yuvj420p formats - vd_lavc: fix mid-stream hwdec fallback - vf_vapoursynth: fix inverted sign and restore 10 bit support (#4720) - video: increase --monitorpixelaspect range - vo_opengl: adjust the rules for linearization (#4631) - vo_opengl: scale deband-grain to the signal range - vo_opengl: tone map on the maximum signal component - x11: fix that window could be resized when using embedding (#4784) - ytdl_hook: resolve relative paths when joining segment urls (#4827) - ytdl_hook: support fragments with relative paths, fixes segmented DASH
70 lines
2.3 KiB
Makefile
70 lines
2.3 KiB
Makefile
# $NetBSD: Makefile,v 1.60 2017/09/13 10:35:58 leot Exp $
|
|
|
|
DISTNAME= mpv-0.27.0
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=mpv-player/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
HOMEPAGE= https://mpv.io/
|
|
COMMENT= Video player based on MPlayer and mplayer2
|
|
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
|
|
|
|
# needs sem_timedwait(3)
|
|
NOT_FOR_PLATFORM= NetBSD-[1-6]*-*
|
|
|
|
NOT_PAX_MPROTECT_SAFE+= bin/mpv
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils
|
|
# ${WRKSRC}/bootstrap.py mentions needed version
|
|
BUILD_DEPENDS+= waf>=1.8.12:../../devel/waf
|
|
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
|
|
|
USE_TOOLS+= perl pkg-config
|
|
|
|
MAKE_DIRS= ${PKG_SYSCONFDIR}/mpv
|
|
INSTALLATION_DIRS= share/examples/mpv
|
|
CONF_FILES+= share/examples/mpv/encoding-profiles.conf ${PKG_SYSCONFDIR}/mpv/encoding-profiles.conf
|
|
|
|
SUBST_CLASSES+= audio
|
|
SUBST_SED.audio+= -e "s,/dev/dsp,${DEVOSSAUDIO},"
|
|
SUBST_FILES.audio+= audio/out/ao_oss.c stream/ai_oss.c
|
|
SUBST_STAGE.audio= pre-configure
|
|
SUBST_MESSAGE.audio= Fixing path to audio device.
|
|
|
|
SUBST_CLASSES+= python
|
|
SUBST_SED.python+= -e "s,python,python${PYVERSSUFFIX},"
|
|
SUBST_SED.python+= -e "s,rst2man,rst2man-${PYVERSSUFFIX},"
|
|
SUBST_FILES.python+= wscript
|
|
SUBST_STAGE.python= pre-configure
|
|
SUBST_MESSAGE.python= Fix Python command names.
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX} && ${MV} etc/mpv/encoding-profiles.conf share/examples/mpv
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} != "Darwin"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
.include "../../x11/libXScrnSaver/buildlink3.mk"
|
|
.include "../../x11/libXv/buildlink3.mk"
|
|
.include "../../x11/libXxf86vm/buildlink3.mk"
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.endif
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/waf/waf.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../multimedia/libdvdnav/buildlink3.mk"
|
|
.include "../../multimedia/libdvdread/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.ffmpeg3+= ffmpeg3>=3.2.2
|
|
.include "../../multimedia/ffmpeg3/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|