diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-27 19:38:07 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-27 19:38:07 +0800 |
commit | bc196486ae6d98fce28e5d0578baf1b1a5a3d84c (patch) | |
tree | a1ded0a33bcaf82eb003d62512be69c5c4f0707e /multimedia | |
parent | df42a665471c56cb8677c39d5cea92d2b27723f0 (diff) | |
download | freebsd-ports-gnome-bc196486ae6d98fce28e5d0578baf1b1a5a3d84c.tar.gz freebsd-ports-gnome-bc196486ae6d98fce28e5d0578baf1b1a5a3d84c.tar.zst freebsd-ports-gnome-bc196486ae6d98fce28e5d0578baf1b1a5a3d84c.zip |
- Add ALSA option
- Remove obsolete warning message
PR: 202669
Submitted by: cpm@fbsd.es (maintainer)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mpv/Makefile | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 0357b8cb8136..83c73ffc1210 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -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 |