diff options
author | wiz <wiz@pkgsrc.org> | 2010-09-05 22:55:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-09-05 22:55:58 +0000 |
commit | db2fc27fcc9066575444bea0ae2edf2909a0c03a (patch) | |
tree | b2a42940300bfdff18b38c5bc03b0e821dd95a63 /multimedia/ffmpeg | |
parent | 84cf6dc97202af1a5254254c289d6194c75e1f8d (diff) | |
download | pkgsrc-db2fc27fcc9066575444bea0ae2edf2909a0c03a.tar.gz |
Add VDPAU support, from Aleksey Cheusov.
Diffstat (limited to 'multimedia/ffmpeg')
-rw-r--r-- | multimedia/ffmpeg/options.mk | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/multimedia/ffmpeg/options.mk b/multimedia/ffmpeg/options.mk index 883bad11637..3ba87848b5f 100644 --- a/multimedia/ffmpeg/options.mk +++ b/multimedia/ffmpeg/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.16 2010/05/04 18:33:43 drochner Exp $ +# $NetBSD: options.mk,v 1.17 2010/09/05 22:55:58 wiz Exp $ # Global and legacy options @@ -8,6 +8,13 @@ PKG_SUGGESTED_OPTIONS= theora xvid x264 #PKG_OPTIONS_OPTIONAL_GROUPS= aac-decoder #PKG_OPTIONS_GROUP.aac-decoder= faad faac +### Add vdpau if it is available +.include "../../multimedia/libvdpau/available.mk" +.if ${VDPAU_AVAILABLE} == "yes" +PKG_SUPPORTED_OPTIONS+= vdpau +PKG_SUGGESTED_OPTIONS+= vdpau +.endif + .include "../../mk/bsd.options.mk" ### @@ -82,3 +89,12 @@ BUILDLINK_API_DEPENDS.x264-devel+= x264-devel<20090921 CONFIGURE_ARGS+= --enable-libx264 .include "../../multimedia/x264-devel/buildlink3.mk" .endif + +### +### VDPAU support +### +.if !empty(PKG_OPTIONS:Mvdpau) +.include "../../multimedia/libvdpau/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-vdpau +.endif |