Date: Thu, 06 Jan 2011 16:06:23 +0300 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/153727: [patch] multimedia/ffmpeg: add VAAPI option Message-ID: <86lj2yqj00.fsf@gmail.com> Resent-Message-ID: <201101061310.p06DA83e035177@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86lj2yqj00.fsf>