diff options
author | wiz <wiz> | 2010-09-05 22:55:58 +0000 |
---|---|---|
committer | wiz <wiz> | 2010-09-05 22:55:58 +0000 |
commit | 4f57d5cc1b7f248e06ac95b5f471c94cfabf7712 (patch) | |
tree | b2a42940300bfdff18b38c5bc03b0e821dd95a63 /multimedia | |
parent | 84291bd0e8cfafe45ec42f72cbf46061ffc1f40e (diff) | |
download | pkgsrc-4f57d5cc1b7f248e06ac95b5f471c94cfabf7712.tar.gz |
Add VDPAU support, from Aleksey Cheusov.
Diffstat (limited to 'multimedia')
-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 |