ports/153727: [patch] multimedia/ffmpeg: add VAAPI option

Anonymous swell.k at gmail.com
Thu Jan 6 13:10:08 UTC 2011


>Number:         153727
>Category:       ports
>Synopsis:       [patch] multimedia/ffmpeg: add VAAPI option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 06 13:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
depends on ports/153725
>Description:
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: multimedia/ffmpeg/Makefile
===================================================================
RCS file: /a/.cvsup/ports/multimedia/ffmpeg/Makefile,v
retrieving revision 1.121
diff -u -p -r1.121 Makefile
--- multimedia/ffmpeg/Makefile	29 Dec 2010 21:41:36 -0000	1.121
+++ multimedia/ffmpeg/Makefile	5 Jan 2011 02:30:34 -0000
@@ -43,6 +43,7 @@ OPTIONS=	ALSA	"Enable alsa input/output 
 		SPEEX	"Speex audio decoder" off \
 		SSSE3	"Enable ssse3 support" on \
 		THEORA	"Theora encoder (implies OGG)" on \
+		VAAPI	"VAAPI decoder support" off \
 		VDPAU	"Nvidia vdpau support" off \
 		VORBIS	"Vorbis encoder via libvorbis (implies OGG)" on \
 		VP8	"VP8 codec via libvpx" on \
@@ -272,6 +273,14 @@ CONFIGURE_ARGS+=	--enable-libtheora
 CONFIGURE_ARGS+=	--disable-libtheora
 .endif
 
+# vaapi
+.ifndef(WITHOUT_VAAPI)
+LIB_DEPENDS+=	va.1:${PORTSDIR}/multimedia/libva
+CONFIGURE_ARGS+=	--enable-vaapi
+.else
+CONFIGURE_ARGS+=	--disable-vaapi
+.endif
+
 # vdpau
 .ifndef(WITHOUT_VDPAU)
 LIB_DEPENDS+=	vdpau.1:${PORTSDIR}/multimedia/libvdpau
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list