Date: Tue, 26 Dec 2017 11:06:29 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: "Carlos J. Puga Medina" <cpm@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r457244 - in head/multimedia/mpv: . files Message-ID: <20171226110629.GB99584@FreeBSD.org> In-Reply-To: <201712251800.vBPI0qS6007873@repo.freebsd.org> References: <201712251800.vBPI0qS6007873@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 25, 2017 at 06:00:52PM +0000, Carlos J. Puga Medina wrote: > New Revision: 457244 > URL: https://svnweb.freebsd.org/changeset/ports/457244 > > Log: > multimedia/mpv: Add VAAPI on Wayland support > > - Add support to enable VAAPI under Wayland (disabled by default) > - Regenerate patch with makepatch to make portlint happy > > +.include <bsd.port.options.mk> > + > +.if ${PORT_OPTIONS:MVAAPI} && ${PORT_OPTIONS:MWAYLAND} > +CONFIGURE_ARGS+= --enable-vaapi-wayland > +LIB_DEPENDS+= libva-wayland.so:multimedia/libva > +.else > +CONFIGURE_ARGS+= --disable-vaapi-wayland > +.endif Consider using option helpers (shorter, more readable, declarative style, no .include <bsd.port.options.mk> needed): VAAPI_IMPLIES= WAYLAND VAAPI_LIB_DEPENDS= libva-wayland.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi-wayland ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171226110629.GB99584>