mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
mesa: fix dependency cycle due to reorganization of library dependencies
This commit is contained in:
parent
725518104c
commit
1dafa6f1ba
2 changed files with 10 additions and 2 deletions
1
srcpkgs/mesa-libgallium
Symbolic link
1
srcpkgs/mesa-libgallium
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
mesa
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mesa'
|
# Template file for 'mesa'
|
||||||
pkgname=mesa
|
pkgname=mesa
|
||||||
version=24.2.3
|
version=24.2.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
_llvmver=18
|
_llvmver=18
|
||||||
#Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
|
#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
|
esac
|
||||||
|
|
||||||
# Set subpackages manually to set proper rdeps in 32bit pkgs.
|
# 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.
|
# 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"
|
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
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mesa-libgallium_package() {
|
||||||
|
short_desc="Mesa internal shared platform for building graphics drivers"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/libgallium-*.so"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
libglapi_package() {
|
libglapi_package() {
|
||||||
# this dependency is wrong, it was added as a hack to allow updating
|
# this dependency is wrong, it was added as a hack to allow updating
|
||||||
# systems with libglapi-32bit after the switch to glvnd
|
# systems with libglapi-32bit after the switch to glvnd
|
||||||
|
|
Loading…
Add table
Reference in a new issue