git: f80d299e3d03 - main - graphics/mesa-devel: expose panfrost after 4ddf9ef51bfd

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 01 Mar 2022 00:50:21 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f80d299e3d03f02cb1db331499efdad6d1a52c92

commit f80d299e3d03f02cb1db331499efdad6d1a52c92
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-02-28 23:35:25 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-03-01 00:49:42 +0000

    graphics/mesa-devel: expose panfrost after 4ddf9ef51bfd
---
 graphics/mesa-devel/Makefile  | 3 ++-
 graphics/mesa-devel/pkg-plist | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index f4f07c519a4a..97eb70bbdf0e 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -47,11 +47,12 @@ PLIST_SUB=	ARCH=${ARCH:S/amd/x86_/}
 OPTIONS_DEFINE=		LIBUNWIND LLVM LTO VAAPI VDPAU VKLAYERS WAYLAND X11 ZSTD
 OPTIONS_DEFAULT=	LIBUNWIND LLVM LTO VAAPI VDPAU VKLAYERS WAYLAND X11 ZSTD
 OPTIONS_GROUP=		GALLIUM VULKAN
-OPTIONS_GROUP_GALLIUM=	crocus iris r600 radeonsi
+OPTIONS_GROUP_GALLIUM=	crocus iris panfrost r600 radeonsi
 OPTIONS_GROUP_VULKAN=	anv radv
 OPTIONS_EXCLUDE_DragonFly=	LIBUNWIND anv
 OPTIONS_EXCLUDE_i386=	LTO # anv: vkcube fails on vkCreateSwapchainKHR
 OPTIONS_EXCLUDE_powerpc64=	${"${/usr/bin/ld:L:tA}"==/usr/bin/ld.lld:?LTO:} # https://github.com/llvm/llvm-project/issues/46697
+OPTIONS_EXCLUDE+=	${ARCH:Naarch64:C/.+/panfrost/}
 OPTIONS_EXCLUDE+=	${ARCH:Namd64:Ni386:Nx86_64:C/.+/anv crocus iris/}
 OPTIONS_EXCLUDE+=	${ARCH:Naarch64:Namd64:Ni386:Npowerpc64:Npowerpc64le:Nx86_64:C/.+/LIBUNWIND/}
 OPTIONS_EXCLUDE+=	${"${GL_DEFAULT:S/,/ /g:[-1]}"==${.CURDIR:T}:?COINST:}
diff --git a/graphics/mesa-devel/pkg-plist b/graphics/mesa-devel/pkg-plist
index 19bbfb5ad595..83169a4068ba 100644
--- a/graphics/mesa-devel/pkg-plist
+++ b/graphics/mesa-devel/pkg-plist
@@ -6,8 +6,10 @@
 %%NO_COINST%%include/gbm.h
 %%crocus%%lib/dri%%SUFFIX%%/crocus_dri.so
 %%iris%%lib/dri%%SUFFIX%%/iris_dri.so
+%%panfrost%%lib/dri%%SUFFIX%%/panfrost_dri.so
 %%r600%%lib/dri%%SUFFIX%%/r600_dri.so
 %%radeonsi%%lib/dri%%SUFFIX%%/radeonsi_dri.so
+%%panfrost%%lib/dri%%SUFFIX%%/rockchip_dri.so
 %%VAAPI%%%%r600%%lib/dri%%SUFFIX%%/r600_drv_video.so
 %%VAAPI%%%%radeonsi%%lib/dri%%SUFFIX%%/radeonsi_drv_video.so
 %%NO_COINST%%lib/libEGL_mesa%%SUFFIX%%.so