pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/MesaLib



Module Name:    pkgsrc
Committed By:   maya
Date:           Fri Feb 24 00:16:55 UTC 2017

Modified Files:
        pkgsrc/graphics/MesaLib: Makefile PLIST

Log Message:
MesaLib: build VDPAU support if it's available.
Tested on NetBSD with nvidia GTX 770 (nouveau), running mpv with
env VDPAU_DRIVER=nouveau.

This may cause a PLIST mismatch/build issues on FreeBSD/Linux, as I expect
libvdpau_nvidia.so to be created for those. we will find out the hard way.

bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 pkgsrc/graphics/MesaLib/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/graphics/MesaLib/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/MesaLib/Makefile
diff -u pkgsrc/graphics/MesaLib/Makefile:1.131 pkgsrc/graphics/MesaLib/Makefile:1.132
--- pkgsrc/graphics/MesaLib/Makefile:1.131      Sun Jan 15 00:13:44 2017
+++ pkgsrc/graphics/MesaLib/Makefile    Fri Feb 24 00:16:55 2017
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.131 2017/01/15 00:13:44 wiz Exp $
+# $NetBSD: Makefile,v 1.132 2017/02/24 00:16:55 maya Exp $
 
 DISTNAME=      mesa-11.2.2
 PKGNAME=       ${DISTNAME:S/mesa/MesaLib/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    graphics x11
 MASTER_SITES=  ftp://ftp.freedesktop.org/pub/mesa/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
@@ -105,6 +105,14 @@ INSTALLATION_DIRS+=        share/examples/MesaL
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/src/mesa/drivers/dri/common/drirc ${DESTDIR}${PREFIX}/share/examples/MesaLib
 
+.include "../../multimedia/libvdpau/available.mk"
+PLIST_VARS+=   vdpau
+.if ${VDPAU_AVAILABLE} == "yes"
+PLIST.vdpau=   yes
+.include "../../multimedia/libvdpau/buildlink3.mk"
+.include "../../multimedia/libva/buildlink3.mk"
+.endif
+
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libxcb/buildlink3.mk"

Index: pkgsrc/graphics/MesaLib/PLIST
diff -u pkgsrc/graphics/MesaLib/PLIST:1.33 pkgsrc/graphics/MesaLib/PLIST:1.34
--- pkgsrc/graphics/MesaLib/PLIST:1.33  Tue Feb 23 14:40:36 2016
+++ pkgsrc/graphics/MesaLib/PLIST       Fri Feb 24 00:16:55 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.33 2016/02/23 14:40:36 tnn Exp $
+@comment $NetBSD: PLIST,v 1.34 2017/02/24 00:16:55 maya Exp $
 ${PLIST.dri}include/EGL/egl.h
 ${PLIST.dri}include/EGL/eglext.h
 ${PLIST.dri}include/EGL/eglextchromium.h
@@ -63,3 +63,21 @@ ${PLIST.dri}lib/pkgconfig/glesv2.pc
 ${PLIST.wayland}lib/pkgconfig/wayland-egl.pc
 ${PLIST.xatracker}lib/pkgconfig/xatracker.pc
 share/examples/MesaLib/drirc
+${PLIST.vdpau}lib/vdpau/libvdpau_nouveau.so
+${PLIST.vdpau}lib/vdpau/libvdpau_nouveau.so.1
+${PLIST.vdpau}lib/vdpau/libvdpau_nouveau.so.1.0
+${PLIST.vdpau}lib/vdpau/libvdpau_nouveau.so.1.0.0
+${PLIST.vdpau}lib/vdpau/libvdpau_r300.so
+${PLIST.vdpau}lib/vdpau/libvdpau_r300.so.1
+${PLIST.vdpau}lib/vdpau/libvdpau_r300.so.1.0
+${PLIST.vdpau}lib/vdpau/libvdpau_r300.so.1.0.0
+${PLIST.vdpau}lib/vdpau/libvdpau_r600.so
+${PLIST.vdpau}lib/vdpau/libvdpau_r600.so.1
+${PLIST.vdpau}lib/vdpau/libvdpau_r600.so.1.0
+${PLIST.vdpau}lib/vdpau/libvdpau_r600.so.1.0.0
+${PLIST.vdpau}lib/vdpau/libvdpau_radeonsi.so
+${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



Home | Main Index | Thread Index | Old Index