pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/hwdecode-demos VAAPI might be missing too, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2d79fa2e4eda
branches: trunk
changeset: 639673:2d79fa2e4eda
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Sep 22 11:55:07 2014 +0000
description:
VAAPI might be missing too, handle in PLIST.
diffstat:
multimedia/hwdecode-demos/Makefile | 9 +++++++--
multimedia/hwdecode-demos/PLIST | 10 +++++-----
2 files changed, 12 insertions(+), 7 deletions(-)
diffs (47 lines):
diff -r e64059ab27be -r 2d79fa2e4eda multimedia/hwdecode-demos/Makefile
--- a/multimedia/hwdecode-demos/Makefile Mon Sep 22 11:54:45 2014 +0000
+++ b/multimedia/hwdecode-demos/Makefile Mon Sep 22 11:55:07 2014 +0000
@@ -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 @@
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 @@
.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 -r e64059ab27be -r 2d79fa2e4eda multimedia/hwdecode-demos/PLIST
--- a/multimedia/hwdecode-demos/PLIST Mon Sep 22 11:54:45 2014 +0000
+++ b/multimedia/hwdecode-demos/PLIST Mon Sep 22 11:55:07 2014 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index