pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: split out VA-API and VDPAU a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/05c72e1aba81
branches: trunk
changeset: 358966:05c72e1aba81
user: maya <maya%pkgsrc.org@localhost>
date: Fri Feb 24 13:48:33 2017 +0000
description:
MesaLib: split out VA-API and VDPAU availability check
so if libva is unavailable on your platform, VDPAU can still be used.
if I didn't break your build before, this change should be cosmetic.
diffstat:
graphics/MesaLib/Makefile | 10 ++++++++--
graphics/MesaLib/PLIST | 6 +++---
2 files changed, 11 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r e76b2b4c77b1 -r 05c72e1aba81 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Fri Feb 24 08:04:01 2017 +0000
+++ b/graphics/MesaLib/Makefile Fri Feb 24 13:48:33 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.132 2017/02/24 00:16:55 maya Exp $
+# $NetBSD: Makefile,v 1.133 2017/02/24 13:48:33 maya Exp $
DISTNAME= mesa-11.2.2
PKGNAME= ${DISTNAME:S/mesa/MesaLib/}
@@ -105,11 +105,17 @@
post-install:
${INSTALL_DATA} ${WRKSRC}/src/mesa/drivers/dri/common/drirc ${DESTDIR}${PREFIX}/share/examples/MesaLib
+PLIST_VARS+= vdpau vaapi
+
.include "../../multimedia/libvdpau/available.mk"
-PLIST_VARS+= vdpau
.if ${VDPAU_AVAILABLE} == "yes"
PLIST.vdpau= yes
.include "../../multimedia/libvdpau/buildlink3.mk"
+.endif
+
+.include "../../multimedia/libva/available.mk"
+.if ${VAAPI_AVAILABLE} == "yes"
+PLIST.vaapi= yes
.include "../../multimedia/libva/buildlink3.mk"
.endif
diff -r e76b2b4c77b1 -r 05c72e1aba81 graphics/MesaLib/PLIST
--- a/graphics/MesaLib/PLIST Fri Feb 24 08:04:01 2017 +0000
+++ b/graphics/MesaLib/PLIST Fri Feb 24 13:48:33 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.34 2017/02/24 00:16:55 maya Exp $
+@comment $NetBSD: PLIST,v 1.35 2017/02/24 13:48:33 maya Exp $
${PLIST.dri}include/EGL/egl.h
${PLIST.dri}include/EGL/eglext.h
${PLIST.dri}include/EGL/eglextchromium.h
@@ -79,5 +79,5 @@
${PLIST.vdpau}lib/vdpau/libvdpau_radeonsi.so.1
${PLIST.vdpau}lib/vdpau/libvdpau_radeonsi.so.1.0
${PLIST.vdpau}lib/vdpau/libvdpau_radeonsi.so.1.0.0
-${PLIST.vdpau}lib/dri/gallium_drv_video.la
-${PLIST.vdpau}lib/dri/gallium_drv_video.so
+${PLIST.vaapi}lib/dri/gallium_drv_video.la
+${PLIST.vaapi}lib/dri/gallium_drv_video.so
Home |
Main Index |
Thread Index |
Old Index