pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: Enable lima and panfrost dri...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3e23145c871b
branches: trunk
changeset: 400999:3e23145c871b
user: nia <nia%pkgsrc.org@localhost>
date: Mon Sep 09 01:00:49 2019 +0000
description:
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
diffstat:
graphics/MesaLib/Makefile | 16 +++++++++-------
graphics/MesaLib/PLIST | 4 +++-
2 files changed, 12 insertions(+), 8 deletions(-)
diffs (63 lines):
diff -r e423446917f2 -r 3e23145c871b graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Mon Sep 09 00:33:05 2019 +0000
+++ b/graphics/MesaLib/Makefile Mon Sep 09 01:00:49 2019 +0000
@@ -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_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 @@
. 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
diff -r e423446917f2 -r 3e23145c871b graphics/MesaLib/PLIST
--- a/graphics/MesaLib/PLIST Mon Sep 09 00:33:05 2019 +0000
+++ b/graphics/MesaLib/PLIST Mon Sep 09 01:00:49 2019 +0000
@@ -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.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