Skip to content

Commit

Permalink
mesa: fix dependency cycle due to reorganization of library dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
oreo639 committed Sep 29, 2024
1 parent 7255181 commit 1dafa6f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions srcpkgs/mesa-libgallium
11 changes: 9 additions & 2 deletions srcpkgs/mesa/template
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1dafa6f

Please sign in to comment.