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: nia
Date: Mon Sep 9 01:00:49 UTC 2019
Modified Files:
pkgsrc/graphics/MesaLib: Makefile PLIST
Log Message:
MesaLib: Enable lima and panfrost drivers on arm and aarch64.
based on a patch by rjs.
both lima and panfrost gallium drivers apparently build fine on
NetBSD-current.
bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 pkgsrc/graphics/MesaLib/Makefile
cvs rdiff -u -r1.42 -r1.43 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.165 pkgsrc/graphics/MesaLib/Makefile:1.166
--- pkgsrc/graphics/MesaLib/Makefile:1.165 Sun Sep 8 10:21:40 2019
+++ pkgsrc/graphics/MesaLib/Makefile Mon Sep 9 01:00:49 2019
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.165 2019/09/08 10:21:40 nia Exp $
+# $NetBSD: Makefile,v 1.166 2019/09/09 01:00:49 nia Exp $
DISTNAME= mesa-19.1.6
PKGNAME= ${DISTNAME:S/mesa/MesaLib/}
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://mesa.freedesktop.org/archive/
EXTRACT_SUFX= .tar.xz
@@ -53,7 +54,7 @@ PLIST_SUBST+= GLVER="1.2.0"
PLIST_VARS+= i915 i965 r100 r200 nouveau_dri
# Gallium drivers
-PLIST_VARS+= r300 svga nouveau vc4
+PLIST_VARS+= r300 svga nouveau vc4 lima panfrost
# other features
PLIST_VARS+= egl gbm vaapi xatracker
@@ -81,13 +82,14 @@ PLIST.vaapi= yes
. else
MESON_ARGS+= -Dgallium-va=false
. endif
-. if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*)
+. if !empty(MACHINE_ARCH:M*arm*) || \
+ ${MACHINE_ARCH} == "aarch64"
# ARM Mali Utgard
-#GALLIUM_DRIVERS+= lima
-#PLIST.lima= yes
+GALLIUM_DRIVERS+= lima
+PLIST.lima= yes
# ARM Mali Midgard, Bifrost
-#GALLIUM_DRIVERS+= panfrost
-#PLIST.panfrost= yes
+GALLIUM_DRIVERS+= panfrost
+PLIST.panfrost= yes
# Vivante GCxxx
#GALLIUM_DRIVERS+= etnaviv
#PLIST.etnaviv= yes
Index: pkgsrc/graphics/MesaLib/PLIST
diff -u pkgsrc/graphics/MesaLib/PLIST:1.42 pkgsrc/graphics/MesaLib/PLIST:1.43
--- pkgsrc/graphics/MesaLib/PLIST:1.42 Fri Aug 30 13:00:56 2019
+++ pkgsrc/graphics/MesaLib/PLIST Mon Sep 9 01:00:49 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.42 2019/08/30 13:00:56 nia Exp $
+@comment $NetBSD: PLIST,v 1.43 2019/09/09 01:00:49 nia Exp $
${PLIST.egl}include/EGL/egl.h
${PLIST.egl}include/EGL/eglext.h
${PLIST.egl}include/EGL/eglextchromium.h
@@ -33,9 +33,11 @@ ${PLIST.xatracker}include/xa_tracker.h
${PLIST.i915}lib/dri/i915_dri.so
${PLIST.i965}lib/dri/i965_dri.so
lib/dri/kms_swrast_dri.so
+${PLIST.lima}lib/dri/lima_dri.so
${PLIST.nouveau}lib/dri/nouveau_dri.so
${PLIST.nouveau}${PLIST.vaapi}lib/dri/nouveau_drv_video.so
${PLIST.nouveau_dri}lib/dri/nouveau_vieux_dri.so
+${PLIST.panfrost}lib/dri/panfrost_dri.so
${PLIST.r200}lib/dri/r200_dri.so
${PLIST.r300}lib/dri/r300_dri.so
${PLIST.r600}lib/dri/r600_dri.so
Home |
Main Index |
Thread Index |
Old Index