-rw-r--r-- root/root usr/include/xa_tracker.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/dri/
+-rwxr-xr-x root/root usr/lib/dri/armada-drm_dri.so
+-rwxr-xr-x root/root usr/lib/dri/exynos_dri.so
+-rwxr-xr-x root/root usr/lib/dri/hx8357d_dri.so
+-rwxr-xr-x root/root usr/lib/dri/ili9225_dri.so
+-rwxr-xr-x root/root usr/lib/dri/ili9341_dri.so
+-rwxr-xr-x root/root usr/lib/dri/imx-drm_dri.so
-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/meson_dri.so
+-rwxr-xr-x root/root usr/lib/dri/mi0283qt_dri.so
-rwxr-xr-x root/root usr/lib/dri/msm_dri.so
+-rwxr-xr-x root/root usr/lib/dri/mxsfb-drm_dri.so
+-rwxr-xr-x root/root usr/lib/dri/pl111_dri.so
+-rwxr-xr-x root/root usr/lib/dri/repaper_dri.so
+-rwxr-xr-x root/root usr/lib/dri/rockchip_dri.so
+-rwxr-xr-x root/root usr/lib/dri/st7586_dri.so
+-rwxr-xr-x root/root usr/lib/dri/st7735r_dri.so
+-rwxr-xr-x root/root usr/lib/dri/stm_dri.so
+-rwxr-xr-x root/root usr/lib/dri/sun4i-drm_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
# Description: Mesa 3D Graphics Library
# URL: http://www.mesa3d.org
-# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
-# Depends on: elfutils expat libdrm libvdpau llvm xorg-dri3proto xorg-glproto xorg-libxdamage xorg-libxshmfence xorg-libxvmc xorg-presentproto xorg-libxxf86vm
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# 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.2.1
release=1
source=(ftp://ftp.freedesktop.org/pub/mesa/mesa-$version.tar.xz)
build() {
cd mesa-$version
- ./configure --prefix=/usr \
+ meson build --prefix=/usr \
--sysconfdir=/etc \
- --disable-llvm \
- --enable-gbm \
- --enable-gles1 \
- --enable-gles2 \
- --enable-glx-tls \
- --enable-osmesa \
- --enable-texture-float \
- --enable-xa \
- --enable-vdpau \
- --enable-llvm-shared-libs \
- --disable-dependency-tracking \
- --with-dri-drivers=swrast \
- --with-gallium-drivers=swrast,freedreno \
- --with-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,kmsro \
+ -Dglvnd=true
+
+
+
+ DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
- make
- make DESTDIR=$PKG install
+ # indirect rendering symlink
+ ln -s libGLX_mesa.so.0 $PKG/usr/lib/libGLX_indirect.so.0
}