Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

10 changes: 5 additions & 5 deletions srcpkgs/mesa/template
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Template file for 'mesa'
pkgname=mesa
version=22.3.5
revision=2
version=23.0.3
revision=1
build_style=meson
configure_args="-Dglvnd=true -Dshared-glapi=enabled -Dgbm=enabled -Degl=enabled
-Dosmesa=true -Dgles1=enabled -Dgles2=enabled -Dglx=dri -Ddri3=enabled
-Dlmsensors=enabled -Dplatforms=x11$(vopt_if wayland ,wayland)
-Dllvm=enabled -Db_lto=false -Dcpp_std=gnu++14"
-Dllvm=enabled -Db_lto=false"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I built and tested this locally without -Db_lto=false, didn't notice any issues whatsoever:

Suggested change
-Dllvm=enabled -Db_lto=false"
-Dllvm=enabled"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

@triallax triallax Apr 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, I'd add a comment above configure_args to clarify the reason this is needed, something like # Disable LTO because of https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911.

hostmakedepends="gettext flex llvm pkg-config python3-Mako glslang
$(vopt_if wayland 'wayland-protocols wayland-devel')"
makedepends="elfutils-devel expat-devel libXdamage-devel
Expand All @@ -16,13 +16,13 @@ makedepends="elfutils-devel expat-devel libXdamage-devel
libXrandr-devel libglvnd-devel libzstd-devel libxml2-devel lua53-devel
libarchive-devel"
depends="libglvnd"
short_desc="Graphics library similar to SGI's OpenGL"
short_desc="Open source implementation of OpenGL and Vulkan specifications"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT, LGPL-2.1-or-later"
homepage="https://www.mesa3d.org/"
changelog="https://docs.mesa3d.org/relnotes.html"
distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
checksum=3eed2ecae2bc674494566faab9fcc9beb21cd804c7ba2b59a1694f3d7236e6a9
checksum=386362a5d80df3b096636b67f340e1ce67b705b44767d5bdd11d2ed1037192d5

build_options="wayland"
build_options_default="wayland"
Expand Down