drwxr-xr-x root/root usr/lib/dri/
-rwxr-xr-x root/root usr/lib/dri/kgsl_dri.so
-rwxr-xr-x root/root usr/lib/dri/kms_swrast_dri.so
+-rwxr-xr-x root/root usr/lib/dri/lima_dri.so
-rwxr-xr-x root/root usr/lib/dri/msm_dri.so
-rwxr-xr-x root/root usr/lib/dri/swrast_dri.so
--rwxr-xr-x root/root usr/lib/libEGL.la
-lrwxrwxrwx root/root usr/lib/libEGL.so -> libEGL.so.1.0.0
-lrwxrwxrwx root/root usr/lib/libEGL.so.1 -> libEGL.so.1.0.0
--rwxr-xr-x root/root usr/lib/libEGL.so.1.0.0
--rwxr-xr-x root/root usr/lib/libGL.la
-lrwxrwxrwx root/root usr/lib/libGL.so -> libGL.so.1.2.0
-lrwxrwxrwx root/root usr/lib/libGL.so.1 -> libGL.so.1.2.0
--rwxr-xr-x root/root usr/lib/libGL.so.1.2.0
--rwxr-xr-x root/root usr/lib/libGLESv1_CM.la
-lrwxrwxrwx root/root usr/lib/libGLESv1_CM.so -> libGLESv1_CM.so.1.1.0
-lrwxrwxrwx root/root usr/lib/libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.1.0
--rwxr-xr-x root/root usr/lib/libGLESv1_CM.so.1.1.0
--rwxr-xr-x root/root usr/lib/libGLESv2.la
-lrwxrwxrwx root/root usr/lib/libGLESv2.so -> libGLESv2.so.2.0.0
-lrwxrwxrwx root/root usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.0.0
--rwxr-xr-x root/root usr/lib/libGLESv2.so.2.0.0
--rwxr-xr-x root/root usr/lib/libOSMesa.la
-lrwxrwxrwx root/root usr/lib/libOSMesa.so -> libOSMesa.so.8.0.0
+lrwxrwxrwx root/root usr/lib/libEGL_mesa.so -> libEGL_mesa.so.0
+lrwxrwxrwx root/root usr/lib/libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libEGL_mesa.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libGLX_indirect.so.0 -> libGLX_mesa.so.0
+lrwxrwxrwx root/root usr/lib/libGLX_mesa.so -> libGLX_mesa.so.0
+lrwxrwxrwx root/root usr/lib/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libGLX_mesa.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libOSMesa.so -> libOSMesa.so.8
lrwxrwxrwx root/root usr/lib/libOSMesa.so.8 -> libOSMesa.so.8.0.0
-rwxr-xr-x root/root usr/lib/libOSMesa.so.8.0.0
--rwxr-xr-x root/root usr/lib/libgbm.la
-lrwxrwxrwx root/root usr/lib/libgbm.so -> libgbm.so.1.0.0
+lrwxrwxrwx root/root usr/lib/libgbm.so -> libgbm.so.1
lrwxrwxrwx root/root usr/lib/libgbm.so.1 -> libgbm.so.1.0.0
-rwxr-xr-x root/root usr/lib/libgbm.so.1.0.0
--rwxr-xr-x root/root usr/lib/libglapi.la
-lrwxrwxrwx root/root usr/lib/libglapi.so -> libglapi.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libglapi.so -> libglapi.so.0
lrwxrwxrwx root/root usr/lib/libglapi.so.0 -> libglapi.so.0.0.0
-rwxr-xr-x root/root usr/lib/libglapi.so.0.0.0
--rwxr-xr-x root/root usr/lib/libxatracker.la
-lrwxrwxrwx root/root usr/lib/libxatracker.so -> libxatracker.so.2.4.0
-lrwxrwxrwx root/root usr/lib/libxatracker.so.2 -> libxatracker.so.2.4.0
--rwxr-xr-x root/root usr/lib/libxatracker.so.2.4.0
+lrwxrwxrwx root/root usr/lib/libxatracker.so -> libxatracker.so.2
+lrwxrwxrwx root/root usr/lib/libxatracker.so.2 -> libxatracker.so.2.5.0
+-rwxr-xr-x root/root usr/lib/libxatracker.so.2.5.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/dri.pc
-rw-r--r-- root/root usr/lib/pkgconfig/egl.pc
-rw-r--r-- root/root usr/lib/pkgconfig/gbm.pc
-rw-r--r-- root/root usr/lib/pkgconfig/gl.pc
--rw-r--r-- root/root usr/lib/pkgconfig/glesv1_cm.pc
--rw-r--r-- root/root usr/lib/pkgconfig/glesv2.pc
-rw-r--r-- root/root usr/lib/pkgconfig/osmesa.pc
-rw-r--r-- root/root usr/lib/pkgconfig/xatracker.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/drirc.d/
-rw-r--r-- root/root usr/share/drirc.d/00-mesa-defaults.conf
+drwxr-xr-x root/root usr/share/glvnd/
+drwxr-xr-x root/root usr/share/glvnd/egl_vendor.d/
+-rw-r--r-- root/root usr/share/glvnd/egl_vendor.d/50_mesa.json
# URL: http://www.mesa3d.org
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: elfutils libdrm libvdpau llvm xorg-libxdamage xorg-libxshmfence xorg-libxvmc xorg-libxxf86vm python-mako
+# Depends on: elfutils libdrm libvdpau libglvnd llvm xorg-libxdamage xorg-libxshmfence xorg-libxvmc xorg-libxxf86vm python3-mako
name=mesa3d
-version=18.3.6
+version=19.1.5
release=1
source=(ftp://ftp.freedesktop.org/pub/mesa/mesa-$version.tar.xz)
build() {
cd mesa-$version
- ./configure --prefix=/usr \
- --build=aarch64-unknown-linux-gnueabi \
+ meson build --prefix=/usr \
--sysconfdir=/etc \
- --disable-gallium-llvm \
- --enable-gbm \
- --enable-gles1 \
- --enable-gles2 \
- --enable-glx-tls \
- --enable-osmesa \
- --enable-texture-float \
- --enable-xa \
- --enable-llvm-shared-libs \
- --disable-dependency-tracking \
- --with-dri-drivers=swrast \
- --with-gallium-drivers=swrast,freedreno \
- --with-egl-platforms=x11,drm
+ -Dllvm=true \
+ -Dgbm=true \
+ -Dgles1=true \
+ -Dgles2=true \
+ -Dosmesa=gallium \
+ -Dgallium-xa=true \
+ -Dshared-llvm=true \
+ -Dplatforms=x11,drm \
+ -Dgallium-drivers=swrast,freedreno,lima \
+ -Dglvnd=true
- make
- make DESTDIR=$PKG install
+
+
+ DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
+
+ # indirect rendering symlink
+ ln -s libGLX_mesa.so.0 $PKG/usr/lib/libGLX_indirect.so.0
}