aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2016-04-13 18:14:20 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2016-04-13 18:14:20 +0000
commit53d57c3afa4c86f7248945dbe27b0b29d73b1bf5 (patch)
treec86ec21125496050d5496ff443298c2593c7ab1e /multimedia
parentb1775343ffdf1896ea8f983b0dfa8afcc7a1e391 (diff)
downloadports-53d57c3afa4c86f7248945dbe27b0b29d73b1bf5.tar.gz
ports-53d57c3afa4c86f7248945dbe27b0b29d73b1bf5.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpv/Makefile15
-rw-r--r--multimedia/mpv/distinfo8
-rw-r--r--multimedia/mpv/files/patch-video_out_opengl_video.c11
-rw-r--r--multimedia/mpv/pkg-plist2
4 files changed, 28 insertions, 8 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index d10ab642ad04..511571d2ffa5 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -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-docutils
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 \
diff --git a/multimedia/mpv/distinfo b/multimedia/mpv/distinfo
index a75d5bf5a829..6dce23afbbdc 100644
--- a/multimedia/mpv/distinfo
+++ b/multimedia/mpv/distinfo
@@ -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
diff --git a/multimedia/mpv/files/patch-video_out_opengl_video.c b/multimedia/mpv/files/patch-video_out_opengl_video.c
new file mode 100644
index 000000000000..8c9cf0d5f054
--- /dev/null
+++ b/multimedia/mpv/files/patch-video_out_opengl_video.c
@@ -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);
diff --git a/multimedia/mpv/pkg-plist b/multimedia/mpv/pkg-plist
index a32a8333f29e..899dd7b69b71 100644
--- a/multimedia/mpv/pkg-plist
+++ b/multimedia/mpv/pkg-plist
@@ -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