mesa: fix dependency cycle due to reorganization of library dependencies

This commit is contained in:
oreo639 2024-09-28 22:37:41 -07:00 committed by oreo639
parent 725518104c
commit 1dafa6f1ba
2 changed files with 10 additions and 2 deletions

1
srcpkgs/mesa-libgallium Symbolic link
View File

@ -0,0 +1 @@
mesa

View File

@ -1,7 +1,7 @@
# Template file for 'mesa'
pkgname=mesa
version=24.2.3
revision=1
revision=2
build_style=meson
_llvmver=18
#Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
@ -38,7 +38,7 @@ case "$XBPS_TARGET_MACHINE" in
esac
# Set subpackages manually to set proper rdeps in 32bit pkgs.
subpackages="libglapi libgbm libgbm-devel libOSMesa"
subpackages="mesa-libgallium libglapi libgbm libgbm-devel libOSMesa"
# Replace old mesa pkgs, superseded by libglvnd.
replaces="libGL>=10_1<19.2.5_2 libEGL>=10_1<19.2.5_2 libGLES>=10_1<19.2.5_2"
@ -224,6 +224,13 @@ post_install() {
done
}
mesa-libgallium_package() {
short_desc="Mesa internal shared platform for building graphics drivers"
pkg_install() {
vmove "usr/lib/libgallium-*.so"
}
}
libglapi_package() {
# this dependency is wrong, it was added as a hack to allow updating
# systems with libglapi-32bit after the switch to glvnd