Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2018 19:34:41 +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: r477278 - head/multimedia/mpv
Message-ID:  <201808151934.w7FJYfwF028653@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Wed Aug 15 19:34:41 2018
New Revision: 477278
URL: https://svnweb.freebsd.org/changeset/ports/477278

Log:
  - Add MASTER_SITES to fetch waf because the previous GH repository has been moved
  - Update waf to 2.0.9 that includes fixes to build Mpv with Python 3 [1]
  - Add OPENAL option [2]
  - Bump PORTREVISION
  
  PR:		230651 [1], 230650 [2]
  Reported by:	tobik

Modified:
  head/multimedia/mpv/Makefile
  head/multimedia/mpv/distinfo

Modified: head/multimedia/mpv/Makefile
==============================================================================
--- head/multimedia/mpv/Makefile	Wed Aug 15 19:34:23 2018	(r477277)
+++ head/multimedia/mpv/Makefile	Wed Aug 15 19:34:41 2018	(r477278)
@@ -3,10 +3,12 @@
 
 PORTNAME=	mpv
 PORTVERSION=	0.29.0
-PORTREVISION=	2
 DISTVERSIONPREFIX=	v
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio
+MASTER_SITES=	http://www.freehackers.org/~tnagy/release/:source1
+DISTFILES=	${WAF_RELEASE}${EXTRACT_SUFX}:source1
 
 MAINTAINER=	cpm@FreeBSD.org
 COMMENT=	Free and open-source general-purpose video player
@@ -18,16 +20,16 @@ BUILD_DEPENDS=	ffmpeg>=4.0.2,1:multimedia/ffmpeg
 LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
 
 USES=		compiler:c11 desktop-file-utils iconv jpeg localbase:ldflags \
-		pkgconfig python:build waf
+		pkgconfig python:build tar:bz2 waf
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	mpv-player
+
 # Keep in sync with bootstrap.py to avoid regressions
-GH_TUPLE=	waf-project:waf:waf-1.9.8:waf
+WAF_CMD=	${WRKDIR}/${WAF_RELEASE}/waf-light
+WAF_RELEASE=	waf-2.0.9
 
-WAF_CMD=	${WRKSRC_waf}/waf-light
-
 CONFIGURE_ENV=	BIN_PYTHON="${PYTHON_CMD}"
 CONFIGURE_ARGS=	--docdir="${EXAMPLESDIR}" \
 		--htmldir="${DOCSDIR}/html" \
@@ -46,7 +48,7 @@ OPTIONS_DEFAULT=	ARCHIVE ASS DVDREAD DVDNAV MANPAGES O
 OPTIONS_GROUP=		IN VO AO
 OPTIONS_GROUP_IN=	CDIO DVDREAD DVDNAV LIBBLURAY V4L YTDL SMB
 OPTIONS_GROUP_VO=	CACA OPENGL VAAPI VDPAU WAYLAND X11
-OPTIONS_GROUP_AO=	ALSA JACK PULSEAUDIO SDL SNDIO
+OPTIONS_GROUP_AO=	ALSA JACK OPENAL PULSEAUDIO SDL SNDIO
 OPTIONS_SUB=		yes
 
 ASS_DESC=		ASS/SSA subtitle and OSD rendering
@@ -101,6 +103,10 @@ LUAJIT_CONFIGURE_OFF=		--lua=${LUA_VER_STR}fbsd
 
 MANPAGES_BUILD_DEPENDS=		rst2man:textproc/py-docutils
 MANPAGES_CONFIGURE_OFF=		--disable-manpage
+
+OPENAL_CONFIGURE_ENABLE=	openal
+OPENAL_USES=			openal
+OPENAL_VARS=			LLD_UNSAFE=yes # cf. PR 226980
 
 OPENGL_USE=			GL=egl,gbm,gl
 OPENGL_CONFIGURE_OFF=		--disable-gl

Modified: head/multimedia/mpv/distinfo
==============================================================================
--- head/multimedia/mpv/distinfo	Wed Aug 15 19:34:23 2018	(r477277)
+++ head/multimedia/mpv/distinfo	Wed Aug 15 19:34:41 2018	(r477278)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1532377368
+TIMESTAMP = 1534349028
+SHA256 (waf-2.0.9.tar.bz2) = cb40489da7a78384dbc8281e6bc3e88005885a5d07de5bf75c29514e05830277
+SIZE (waf-2.0.9.tar.bz2) = 645737
 SHA256 (mpv-player-mpv-v0.29.0_GH0.tar.gz) = 772af878cee5495dcd342788a6d120b90c5b1e677e225c7198f1e76506427319
 SIZE (mpv-player-mpv-v0.29.0_GH0.tar.gz) = 3057997
-SHA256 (waf-project-waf-waf-1.9.8_GH0.tar.gz) = b487efec83ea33cf8df0495cc5730e245f8dc8784e68aebf3dcf07c6712c5913
-SIZE (waf-project-waf-waf-1.9.8_GH0.tar.gz) = 628874



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