Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 18:08:24 +0000 (UTC)
From:      Grzegorz Blach <gblach@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370732 - head/multimedia/mpv
Message-ID:  <201410121808.s9CI8OP1088107@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gblach
Date: Sun Oct 12 18:08:24 2014
New Revision: 370732
URL: https://svnweb.freebsd.org/changeset/ports/370732
QAT: https://qat.redports.org/buildarchive/r370732/

Log:
  - Update to 0.6.1
  - Remove PULSEAUDIO option. Depends on version 1.0,
    but only 0.9 is available in ports.

Modified:
  head/multimedia/mpv/Makefile
  head/multimedia/mpv/distinfo
  head/multimedia/mpv/pkg-plist

Modified: head/multimedia/mpv/Makefile
==============================================================================
--- head/multimedia/mpv/Makefile	Sun Oct 12 17:47:16 2014	(r370731)
+++ head/multimedia/mpv/Makefile	Sun Oct 12 18:08:24 2014	(r370732)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mpv
-PORTVERSION=	0.6.0
+PORTVERSION=	0.6.1
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio
 MASTER_SITES=	GH:0 GHC:0 http://ftp.waf.io/pub/release/:1 \
@@ -24,7 +24,7 @@ BUILD_DEPENDS=	rst2man:${PORTSDIR}/textp
 USE_GITHUB=	yes
 GH_ACCOUNT=	mpv-player
 GH_TAGNAME=	v${PORTVERSION}
-GH_COMMIT=	03bfc2b
+GH_COMMIT=	7d9f8f7
 
 WAF_VERSION=	1.7.16
 
@@ -45,11 +45,11 @@ CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--disable-portaudio \
 		--disable-pdf
 
-OPTIONS_DEFINE=		BS2B ENCA LADSPA LCMS2 LIBGUESS LIRC LUAJIT ZSH
+OPTIONS_DEFINE=		BS2B DOCS ENCA LADSPA LCMS2 LIBGUESS LIRC LUAJIT ZSH
 OPTIONS_GROUP=		IN VO AO
 OPTIONS_GROUP_IN=	CDIO LIBBLURAY V4L QUVI SMB
 OPTIONS_GROUP_VO=	CACA OPENGL VAAPI VDPAU XINERAMA
-OPTIONS_GROUP_AO=	JACK PULSEAUDIO
+OPTIONS_GROUP_AO=	JACK #PULSEAUDIO
 OPTIONS_SUB=		yes
 
 BS2B_DESC=	Enable Bauer Stereophonic-to-Binaural DSP support
@@ -123,8 +123,8 @@ XINERAMA_CONFIGURE_ENABLE=	xinerama
 JACK_LIB_DEPENDS=		libjack.so:${PORTSDIR}/audio/jack
 JACK_CONFIGURE_ENABLE=		jack
 
-PULSEAUDIO_LIB_DEPENDS=		libpulse.so:${PORTSDIR}/audio/pulseaudio
-PULSEAUDIO_CONFIGURE_ENABLE=	pulse
+#PULSEAUDIO_LIB_DEPENDS=	libpulse.so:${PORTSDIR}/audio/pulseaudio
+#PULSEAUDIO_CONFIGURE_ENABLE=	pulse
 
 .include <bsd.port.options.mk>
 
@@ -136,8 +136,6 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|/pkgconfig/mpv.pc|data/pkgconfig/mpv.pc|g' \
 		-e 's|/zsh/vendor-completions|/zsh/site-functions|' \
 		${WRKSRC}/wscript_build.py
-	@${REINPLACE_CMD} -e "s|'libpulse', '>= 1.0'|'libpulse', '>= 0.9'|" \
-		${WRKSRC}/wscript
 	@${FIND} ${WRKSRC}/DOCS/man -name '*.rst' | ${XARGS} ${REINPLACE_CMD} \
 		-e 's|/usr/local|${PREFIX}|g'
 
@@ -153,11 +151,6 @@ do-install:
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
 		waf install --destdir=${STAGEDIR}
 
-post-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/mpv
-	${INSTALL_DATA} ${WRKSRC}/etc/example.conf ${STAGEDIR}${PREFIX}/etc/mpv/mpv.conf.sample
-	${INSTALL_DATA} ${WRKSRC}/etc/input.conf ${STAGEDIR}${PREFIX}/etc/mpv/input.conf.sample
-
 post-stage:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mpv
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpv.so

Modified: head/multimedia/mpv/distinfo
==============================================================================
--- head/multimedia/mpv/distinfo	Sun Oct 12 17:47:16 2014	(r370731)
+++ head/multimedia/mpv/distinfo	Sun Oct 12 18:08:24 2014	(r370732)
@@ -1,4 +1,4 @@
-SHA256 (mpv-0.6.0.tar.gz) = 158ef6066c1270e66bcf865bb250c8c6e1d7a1ace1d30c9a193956b30ee650c4
-SIZE (mpv-0.6.0.tar.gz) = 2598770
+SHA256 (mpv-0.6.1.tar.gz) = 727315548db2f9914f4991875f64aa4f4cbc456976aeca5ad2fc6eae0f19b614
+SIZE (mpv-0.6.1.tar.gz) = 2599680
 SHA256 (waf-1.7.16) = b64dc26c882572415fd450b745006107965f3fe17b357e3eb43d6676c9635a61
 SIZE (waf-1.7.16) = 91846

Modified: head/multimedia/mpv/pkg-plist
==============================================================================
--- head/multimedia/mpv/pkg-plist	Sun Oct 12 17:47:16 2014	(r370731)
+++ head/multimedia/mpv/pkg-plist	Sun Oct 12 18:08:24 2014	(r370732)
@@ -1,7 +1,5 @@
 bin/mpv
-etc/mpv/encoding-profiles.conf
-etc/mpv/input.conf.sample
-etc/mpv/mpv.conf.sample
+%%ETCDIR%%/encoding-profiles.conf
 include/mpv/client.h
 lib/libmpv.so
 lib/libmpv.so.1
@@ -12,4 +10,8 @@ share/applications/mpv.desktop
 share/icons/hicolor/16x16/apps/mpv.png
 share/icons/hicolor/32x32/apps/mpv.png
 share/icons/hicolor/64x64/apps/mpv.png
+%%PORTDOCS%%%%DOCSDIR%%/example.conf
+%%PORTDOCS%%%%DOCSDIR%%/input.conf
+%%PORTDOCS%%%%DOCSDIR%%/mplayer-input.conf
+%%PORTDOCS%%%%DOCSDIR%%/restore-old-bindings.conf
 %%ZSH%%share/zsh/site-functions/_mpv



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