mesa-32: re-added crocus/zink gallium driver support

This commit is contained in:
Matt Housh 2022-10-28 12:54:46 -05:00
parent 5082f4a5e6
commit b94088f901
3 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,7 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib32/
drwxr-xr-x root/root usr/lib32/dri/
-rwxr-xr-x root/root usr/lib32/dri/crocus_dri.so
-rwxr-xr-x root/root usr/lib32/dri/iris_dri.so
-rwxr-xr-x root/root usr/lib32/dri/kms_swrast_dri.so
-rwxr-xr-x root/root usr/lib32/dri/nouveau_dri.so

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/compat-32.pub
RWSwxGo/zH7eXZRvCgY5Fovej8AUSvCtChVWdRjXTemUvEPEt6uyA6PNyDXM6uKQ9eNqZ4cgKhzeFtsXaqLi9JdTWFLR5wsptwo=
SHA256 (Pkgfile) = b741410e5dc704502bd6ff0d361c53f26f431cac531605bbcdfa5c501abef3cf
SHA256 (.footprint) = 2d8fc574039916b6ab17448f9fdd666d70385e957de78db92eb7306c509bfc4e
RWSwxGo/zH7eXZlgkj19IDbihFv+TSnruhyc+TzAFeD+c5fxOBjRQ6YIx6irFa/J40Gbg8f5611azcffazk04JXA03rcsXLHMwc=
SHA256 (Pkgfile) = 7c4d18dcb22eac69eaf463b8e675c49c529f73c04b3cf085058ecae7f19e46eb
SHA256 (.footprint) = 681624108967a91f2338c98d0969d9005082cdacc287141e57ff20ef7148912c
SHA256 (mesa-22.2.2.tar.xz) = 2de11fb74fc5cc671b818e49fe203cea0cd1d8b69756e97cdb06a2f4e78948f9
SHA256 (x86-linux-gnu) = 448877bbe3efe8bdfe6282c8e730fe8a8b6bf3c07f659e71b7292aceca22d8bd
SHA256 (x86-linux-gnu-ccache) = 7b435803071fa5d72668eeae1a15c4e4dfca7847349de6f4ede0282b85faaac8

View File

@ -6,12 +6,13 @@
name=mesa-32
version=22.2.2
release=1
release=2
source=(https://archive.mesa3d.org/mesa-$version.tar.xz
x86-linux-gnu x86-linux-gnu-ccache)
build() {
export PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig:/usr/share/pkgconfig'
prt-get isinst vulkan-loader-32 && PKGMK_MESA_GALLIUM+='zink,'
prt-get isinst ccache && local _cross_file='x86-linux-gnu-ccache' || local _cross_file='x86-linux-gnu'
prt-get isinst libvdpau-32 && PKGMK_MESA+=' -D gallium-vdpau=enabled' || PKGMK_MESA+=' -D gallium-vdpau=disabled'
prt-get isinst wayland-protocols && PKGMK_MESA_PLATFORMS+='wayland'
@ -38,7 +39,7 @@ build() {
-D osmesa=true \
-D osmesa=true \
-D gallium-xa=enabled \
-D gallium-drivers=r300,r600,svga,swrast,radeonsi,nouveau,iris,virgl \
-D gallium-drivers=${PKGMK_MESA_GALLIUM}crocus,iris,nouveau,r300,r600,radeonsi,svga,swrast,virgl \
-D platforms=${PKGMK_MESA_PLATFORMS#,} \
-D shared-glapi=enabled \
-D vulkan-drivers=amd,intel \