diff options
author | joerg <joerg@pkgsrc.org> | 2014-09-22 11:55:07 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-09-22 11:55:07 +0000 |
commit | b61e3a59b6bce9d7564db669c24afd35a17faa84 (patch) | |
tree | 68c0a01cab48b498ae8ffd6c63fc43340a829c87 /multimedia | |
parent | fcdf171194a2234e53e238776e857708081e3f19 (diff) | |
download | pkgsrc-b61e3a59b6bce9d7564db669c24afd35a17faa84.tar.gz |
VAAPI might be missing too, handle in PLIST.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/hwdecode-demos/Makefile | 9 | ||||
-rw-r--r-- | multimedia/hwdecode-demos/PLIST | 10 |
2 files changed, 12 insertions, 7 deletions
diff --git a/multimedia/hwdecode-demos/Makefile b/multimedia/hwdecode-demos/Makefile index 42f94d25da6..6d5ad92433c 100644 --- a/multimedia/hwdecode-demos/Makefile +++ b/multimedia/hwdecode-demos/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2014/05/05 00:48:11 ryoon Exp $ +# $NetBSD: Makefile,v 1.11 2014/09/22 11:55:07 joerg Exp $ # DISTNAME= hwdecode-demos-0.9.4 @@ -15,7 +15,7 @@ GNU_CONFIGURE= yes USE_TOOLS+= pkg-config gmake USE_LIBTOOL= yes -PLIST_VARS+= vdpau +PLIST_VARS+= vdpau vaapi .include "../../multimedia/libvdpau/buildlink3.mk" .if ${VDPAU_AVAILABLE} == yes @@ -23,6 +23,11 @@ PLIST.vdpau= yes .else CONFIGURE_ARGS+= --disable-vdpau .endif +.if ${VAAPI_AVAILABLE} == yes +PLIST.vaapi= yes +.else +CONFIGURE_ARGS+= --disable-vaapi +.endif .include "../../graphics/glu/buildlink3.mk" .include "../../graphics/cairo/buildlink3.mk" diff --git a/multimedia/hwdecode-demos/PLIST b/multimedia/hwdecode-demos/PLIST index 3e6b5297622..28cf4cbaadc 100644 --- a/multimedia/hwdecode-demos/PLIST +++ b/multimedia/hwdecode-demos/PLIST @@ -1,8 +1,8 @@ -@comment $NetBSD: PLIST,v 1.2 2012/12/02 15:50:35 cheusov Exp $ -bin/vaapi_h264 -bin/vaapi_mpeg2 -bin/vaapi_mpeg4 -bin/vaapi_vc1 +@comment $NetBSD: PLIST,v 1.3 2014/09/22 11:55:07 joerg Exp $ +${PLIST.vaapi}bin/vaapi_h264 +${PLIST.vaapi}bin/vaapi_mpeg2 +${PLIST.vaapi}bin/vaapi_mpeg4 +${PLIST.vaapi}bin/vaapi_vc1 ${PLIST.vdpau}bin/vdpau_h264 ${PLIST.vdpau}bin/vdpau_mpeg2 ${PLIST.vdpau}bin/vdpau_mpeg4 |