Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2015 11:38:08 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395413 - head/multimedia/mpv
Message-ID:  <201508271138.t7RBc8Z9012446@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Aug 27 11:38:07 2015
New Revision: 395413
URL: https://svnweb.freebsd.org/changeset/ports/395413

Log:
  - Add ALSA option
  - Remove obsolete warning message
  
  PR:		202669
  Submitted by:	cpm@fbsd.es (maintainer)

Modified:
  head/multimedia/mpv/Makefile

Modified: head/multimedia/mpv/Makefile
==============================================================================
--- head/multimedia/mpv/Makefile	Thu Aug 27 10:20:53 2015	(r395412)
+++ head/multimedia/mpv/Makefile	Thu Aug 27 11:38:07 2015	(r395413)
@@ -4,7 +4,7 @@
 PORTNAME=	mpv
 PORTVERSION=	0.9.2
 DISTVERSIONPREFIX=	v
-PORTREVISION=	4
+PORTREVISION=	5
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio
 MASTER_SITES=	http://ftp.waf.io/pub/release/:1 \
@@ -39,7 +39,6 @@ CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--disable-debug-build \
 		--disable-optimize \
 		--enable-libmpv-shared \
-		--disable-alsa \
 		--disable-pdf
 
 OPTIONS_DEFINE=		ASS BS2B DOCS ENCA LADSPA LCMS2 \
@@ -48,7 +47,7 @@ OPTIONS_DEFAULT=	ASS DVDREAD DVDNAV
 OPTIONS_GROUP=		IN VO AO
 OPTIONS_GROUP_IN=	CDIO DVDREAD DVDNAV LIBBLURAY V4L SMB
 OPTIONS_GROUP_VO=	CACA OPENGL VAAPI VDPAU XINERAMA
-OPTIONS_GROUP_AO=	JACK PULSEAUDIO
+OPTIONS_GROUP_AO=	ALSA JACK PULSEAUDIO
 OPTIONS_SUB=		yes
 
 ASS_DESC=	ASS/SSA subtitle and OSD rendering
@@ -62,6 +61,9 @@ IN_DESC=	Input
 VO_DESC=	Video Output
 AO_DESC=	Audio Output
 
+ALSA_LIB_DEPENDS=		libasound.so:${PORTSDIR}/audio/alsa-lib
+ALSA_CONFIGURE_ENABLE=		alsa
+
 ASS_LIB_DEPENDS=		libass.so:${PORTSDIR}/multimedia/libass
 ASS_CONFIGURE_ENABLE=		libass
 
@@ -137,16 +139,6 @@ PULSEAUDIO_CONFIGURE_ENABLE=	pulse
 CFLAGS:=	${CFLAGS:N-O*} -O0
 .endif
 
-show-info:
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "====================================================================="
-	@${ECHO_MSG} "Only for i386"
-	@${ECHO_MSG} "Make sure you have multimedia/libass build with the ASM option OFF"
-	@${ECHO_MSG} "====================================================================="
-	@${ECHO_MSG} ""
-
-pre-everything::show-info
-
 post-extract:
 	${CP} ${DISTDIR}/waf-${WAF_VERSION} ${WRKSRC}/waf
 	@${CHMOD} +x ${WRKSRC}/waf



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