summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-12-29 21:41:36 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-12-29 21:41:36 +0000
commite334049a3cdaf0427a94f230cc74ab952880fb62 (patch)
tree57f0fb05b3430ee3653a07bce529cc83972ccefc /multimedia
parent- drop 6.x conditional (diff)
- Add libvdpau support to OPTIONS
PR: ports/153491 Submitted by: Bernhard Froehlich <decke@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=267141
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index e8c68666da4a..f76975cec9c1 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -43,6 +43,7 @@ OPTIONS= ALSA "Enable alsa input/output device" off \
SPEEX "Speex audio decoder" off \
SSSE3 "Enable ssse3 support" on \
THEORA "Theora encoder (implies OGG)" on \
+ VDPAU "Nvidia vdpau support" off \
VORBIS "Vorbis encoder via libvorbis (implies OGG)" on \
VP8 "VP8 codec via libvpx" on \
X264 "H.264 encoder" on \
@@ -271,6 +272,14 @@ CONFIGURE_ARGS+= --enable-libtheora
CONFIGURE_ARGS+= --disable-libtheora
.endif
+# vdpau
+.ifndef(WITHOUT_VDPAU)
+LIB_DEPENDS+= vdpau.1:${PORTSDIR}/multimedia/libvdpau
+CONFIGURE_ARGS+= --enable-vdpau
+.else
+CONFIGURE_ARGS+= --disable-vdpau
+.endif
+
# vorbis
.ifndef(WITHOUT_VORBIS)
LIB_DEPENDS+= vorbisenc.2:${PORTSDIR}/audio/libvorbis