Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2016 18:14:20 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413226 - in head/multimedia/mpv: . files
Message-ID:  <201604131814.u3DIEKqK041813@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Wed Apr 13 18:14:20 2016
New Revision: 413226
URL: https://svnweb.freebsd.org/changeset/ports/413226

Log:
  - Update to 0.17.0 release
  - Update waf to 1.9.0pre1 release
  - Explicitly disable dependencies we don't need
  - Fix "-Wmissing-braces" warning in video.c, so the compiler is happy
  - Fix pkg-plist
  
  Changelog:
  
    https://github.com/mpv-player/mpv/releases/tag/v0.17.0
  
  Approved by:	junovitch (mentor)
  Differential Revision:	D5932

Added:
  head/multimedia/mpv/files/patch-video_out_opengl_video.c   (contents, props changed)
Modified:
  head/multimedia/mpv/Makefile
  head/multimedia/mpv/distinfo
  head/multimedia/mpv/pkg-plist

Modified: head/multimedia/mpv/Makefile
==============================================================================
--- head/multimedia/mpv/Makefile	Wed Apr 13 17:41:42 2016	(r413225)
+++ head/multimedia/mpv/Makefile	Wed Apr 13 18:14:20 2016	(r413226)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	mpv
-PORTVERSION=	0.16.0
+PORTVERSION=	0.17.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio
 
@@ -20,7 +19,7 @@ BUILD_DEPENDS=	rst2man:textproc/py-docut
 USE_GITHUB=	yes
 GH_ACCOUNT=	mpv-player waf-project:waf
 GH_PROJECT=	waf:waf
-GH_TAGNAME=	waf-1.8.19:waf
+GH_TAGNAME=	waf-1.9.0pre1:waf
 
 WAF_CMD=	${WRKSRC_waf}/waf-light
 
@@ -34,8 +33,18 @@ CONFIGURE_ARGS=	--docdir=${EXAMPLESDIR} 
 		--mandir=${MANPREFIX}/man \
 		--prefix=${PREFIX} \
 		--disable-debug-build \
+		--disable-d3d11va-hwaccel \
+		--disable-dxva2-hwaccel \
+		--disable-gpl3 \
 		--disable-optimize \
 		--disable-pdf \
+		--disable-rubberband \
+		--disable-vaapi-wayland \
+		--disable-vapoursynth \
+		--disable-vapoursynth-lazy \
+		--disable-videotoolbox-hwaccel \
+		--disable-videotoolbox-gl \
+		--disable-wayland \
 		--enable-libmpv-shared
 
 OPTIONS_DEFINE=		ASS DOCS ENCA LCMS2 \

Modified: head/multimedia/mpv/distinfo
==============================================================================
--- head/multimedia/mpv/distinfo	Wed Apr 13 17:41:42 2016	(r413225)
+++ head/multimedia/mpv/distinfo	Wed Apr 13 18:14:20 2016	(r413226)
@@ -1,4 +1,4 @@
-SHA256 (mpv-player-mpv-v0.16.0_GH0.tar.gz) = fc3619de0ede16fbb023ac72589090e8e77fd9d9e03a81adc728105d50ef38ba
-SIZE (mpv-player-mpv-v0.16.0_GH0.tar.gz) = 2877026
-SHA256 (waf-project-waf-waf-1.8.19_GH0.tar.gz) = 4d9000e19aa279e997aaf744336cd055864bd4e10062578a957f541d6c761a40
-SIZE (waf-project-waf-waf-1.8.19_GH0.tar.gz) = 1390391
+SHA256 (mpv-player-mpv-v0.17.0_GH0.tar.gz) = 602cd2b0f5fc7e43473234fbb96e3f7bbb6418f15eb8fa720d9433cce31eba6e
+SIZE (mpv-player-mpv-v0.17.0_GH0.tar.gz) = 2882629
+SHA256 (waf-project-waf-waf-1.9.0pre1_GH0.tar.gz) = c4f971db873fedb93af163a4245a25ac80f76ebbf138acc257d8905c540d5da4
+SIZE (waf-project-waf-waf-1.9.0pre1_GH0.tar.gz) = 1394546

Added: head/multimedia/mpv/files/patch-video_out_opengl_video.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/mpv/files/patch-video_out_opengl_video.c	Wed Apr 13 18:14:20 2016	(r413226)
@@ -0,0 +1,11 @@
+--- video/out/opengl/video.c.orig	2016-04-12 22:17:16 UTC
++++ video/out/opengl/video.c
+@@ -1003,7 +1003,7 @@ static void pass_prepare_src_tex(struct 
+ static void render_pass_quad(struct gl_video *p, int vp_w, int vp_h,
+                              const struct mp_rect *dst)
+ {
+-    struct vertex va[4] = {0};
++    struct vertex va[4] = {{{0}}};
+ 
+     struct gl_transform t;
+     gl_transform_ortho(&t, 0, vp_w, 0, vp_h);

Modified: head/multimedia/mpv/pkg-plist
==============================================================================
--- head/multimedia/mpv/pkg-plist	Wed Apr 13 17:41:42 2016	(r413225)
+++ head/multimedia/mpv/pkg-plist	Wed Apr 13 18:14:20 2016	(r413226)
@@ -1,5 +1,4 @@
 bin/mpv
-%%ETCDIR%%/encoding-profiles.conf
 include/mpv/client.h
 include/mpv/opengl_cb.h
 include/mpv/qthelper.hpp
@@ -13,6 +12,7 @@ share/icons/hicolor/16x16/apps/mpv.png
 share/icons/hicolor/32x32/apps/mpv.png
 share/icons/hicolor/64x64/apps/mpv.png
 share/icons/hicolor/scalable/apps/mpv.svg
+share/icons/hicolor/symbolic/apps/mpv-symbolic.svg
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/input.conf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/mplayer-input.conf
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/mpv.conf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604131814.u3DIEKqK041813>