Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2019 17:12:00 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521225 - head/multimedia/mpv
Message-ID:  <201912281712.xBSHC0hV095235@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Dec 28 17:11:59 2019
New Revision: 521225
URL: https://svnweb.freebsd.org/changeset/ports/521225

Log:
  multimedia/mpv: update to 0.31.0
  
  - Adjust ZIMG description after https://github.com/mpv-player/mpv/commit/13fe87f66b2c
  - Adjust TEST after https://github.com/mpv-player/mpv/commit/fb5689631993
  - Drop TEST fix for i386 after https://github.com/mpv-player/mpv/commit/293dfc782552
  
  Changes:	https://github.com/mpv-player/mpv/releases/tag/v0.31.0
  Reported by:	GitHub (watch releases)

Modified:
  head/multimedia/mpv/Makefile   (contents, props changed)
  head/multimedia/mpv/distinfo   (contents, props changed)
  head/multimedia/mpv/pkg-plist   (contents, props changed)

Modified: head/multimedia/mpv/Makefile
==============================================================================
--- head/multimedia/mpv/Makefile	Sat Dec 28 17:11:49 2019	(r521224)
+++ head/multimedia/mpv/Makefile	Sat Dec 28 17:11:59 2019	(r521225)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	mpv
-PORTVERSION=	0.30.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
+DISTVERSION=	0.31.0
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio
 MASTER_SITES=	https://waf.io/:waf
@@ -58,7 +57,7 @@ UCHARDET_DESC=		Guess subtitle encoding via uchardet
 VULKAN_DESC=		Vulkan output support
 WAYLAND_DESC=		Wayland (graphics) support
 YTDL_DESC=		Install youtube-dl
-ZIMG_DESC=		"z" library for video scaling
+ZIMG_DESC=		High quality software scaling via "z" library
 IN_DESC=		Input
 VO_DESC=		Video Output
 AO_DESC=		Audio Output
@@ -126,9 +125,7 @@ SNDIO_CONFIGURE_OFF=		--disable-sndio
 SMB_USES=			samba:lib
 SMB_CONFIGURE_ON=		--enable-libsmbclient
 
-TEST_BUILD_DEPENDS=		cmocka>=1.1.0:sysutils/cmocka
-TEST_CONFIGURE_ON=		--enable-test
-TEST_UNITTESTFILES=		chmap chmap_sel gl_video
+TEST_CONFIGURE_ON=		--enable-tests
 
 UCHARDET_LIB_DEPENDS=		libuchardet.so:textproc/uchardet
 UCHARDET_CONFIGURE_OFF=		--disable-uchardet
@@ -180,17 +177,13 @@ post-patch:
 		${WRKSRC}/wscript
 	@${REINPLACE_CMD} -e 's|/pkgconfig/mpv.pc|data/pkgconfig/mpv.pc|g' \
 		${WRKSRC}/wscript_build.py
-	@${REINPLACE_CMD} -e 's|DBL_EPSILON|FLT_EPSILON|'g \
-		${WRKSRC}/test/test_helpers.h
 
 post-patch-MANPAGES-on:
 	@${FIND} ${WRKSRC}/DOCS/man -name '*.rst' | ${XARGS} ${REINPLACE_CMD} \
 		-e 's|/usr/local|${PREFIX}|g'
 
 pre-install-TEST-on:
-.for test in ${TEST_UNITTESTFILES}
-	cd ${WRKSRC}/build/test && ./${test}
-.endfor
+	@(cd ${WRKSRC} && ${SETENV} ${TEST_ENV} build/mpv --unittest=all-simple)
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mpv

Modified: head/multimedia/mpv/distinfo
==============================================================================
--- head/multimedia/mpv/distinfo	Sat Dec 28 17:11:49 2019	(r521224)
+++ head/multimedia/mpv/distinfo	Sat Dec 28 17:11:59 2019	(r521225)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1572008895
+TIMESTAMP = 1577531227
 SHA256 (waf-2.0.9.tar.bz2) = cb40489da7a78384dbc8281e6bc3e88005885a5d07de5bf75c29514e05830277
 SIZE (waf-2.0.9.tar.bz2) = 645737
-SHA256 (mpv-player-mpv-v0.30.0_GH0.tar.gz) = 33a1bcb7e74ff17f070e754c15c52228cf44f2cefbfd8f34886ae81df214ca35
-SIZE (mpv-player-mpv-v0.30.0_GH0.tar.gz) = 3085141
+SHA256 (mpv-player-mpv-v0.31.0_GH0.tar.gz) = 805a3ac8cf51bfdea6087a6480c18835101da0355c8e469b6d488a1e290585a5
+SIZE (mpv-player-mpv-v0.31.0_GH0.tar.gz) = 3142672

Modified: head/multimedia/mpv/pkg-plist
==============================================================================
--- head/multimedia/mpv/pkg-plist	Sat Dec 28 17:11:49 2019	(r521224)
+++ head/multimedia/mpv/pkg-plist	Sat Dec 28 17:11:59 2019	(r521225)
@@ -8,7 +8,7 @@ include/mpv/render_gl.h
 include/mpv/stream_cb.h
 lib/libmpv.so
 lib/libmpv.so.1
-lib/libmpv.so.1.106.0
+lib/libmpv.so.1.107.0
 libdata/pkgconfig/mpv.pc
 %%MANPAGES%%man/man1/mpv.1.gz
 share/applications/mpv.desktop



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