Skip to content

Commit

Permalink
main/mesa: update to 24.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Jan 5, 2025
1 parent 19f98ad commit 6a059d0
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions main/mesa/template.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname = "mesa"
pkgver = "24.3.2"
pkgver = "24.3.3"
pkgrel = 0
build_style = "meson"
configure_args = [
Expand All @@ -17,6 +17,7 @@
"-Dplatforms=x11,wayland",
"-Dshared-glapi=enabled",
"-Dvideo-codecs=all",
"-Dgallium-vdpau=disabled",
]
hostmakedepends = [
"bison",
Expand Down Expand Up @@ -64,6 +65,7 @@
# video accel
"libva-bootstrap",
]
provider_priority = 999
pkgdesc = "Mesa 3D Graphics Library"
maintainer = "q66 <[email protected]>"
license = "MIT"
Expand All @@ -87,7 +89,7 @@
"unicode-ident",
]
source = f"https://mesa.freedesktop.org/archive/mesa-{pkgver.replace('_', '-')}.tar.xz"
sha256 = "ad9f5f3a6d2169e4786254ee6eb5062f746d11b826739291205d360f1f3ff716"
sha256 = "105afc00a4496fa4d29da74e227085544919ec7c86bd92b0b6e7fcc32c7125f4"
# lots of issues in swrast and so on
hardening = ["!int"]
# cba to deal with cross patching nonsense
Expand Down Expand Up @@ -208,9 +210,9 @@
makedepends += ["rust"]

if _have_hwdec:
configure_args += ["-Dgallium-vdpau=disabled", "-Dgallium-va=enabled"]
configure_args += ["-Dgallium-va=enabled"]
else:
configure_args += ["-Dgallium-vdpau=disabled", "-Dgallium-va=disabled"]
configure_args += ["-Dgallium-va=disabled"]

if _have_vulkan:
makedepends += ["vulkan-loader-devel"]
Expand Down Expand Up @@ -263,6 +265,7 @@ def _(self):
def _(self):
self.pkgdesc = "Generic Buffer Management"
self.subdesc = "runtime library"
self.depends += [self.parent]

return [
"usr/lib/gbm",
Expand Down Expand Up @@ -330,21 +333,23 @@ def _(self):
def _(self):
self.pkgdesc = "X acceleration library"
self.subdesc = "runtime library"
self.depends += [self.parent]

return ["usr/lib/libxatracker*.so.*"]


@subpackage("mesa-gallium-nine", _have_nine)
def _(self):
self.pkgdesc = "Mesa implementation of D3D9"
self.depends += [self.parent]

return ["usr/lib/d3d"]


@subpackage("mesa-opencl", _have_opencl)
def _(self):
self.pkgdesc = "Mesa implementation of OpenCL"
self.depends += ["libclc"]
self.depends += [self.parent, "libclc"]

return [
"etc/OpenCL",
Expand All @@ -357,12 +362,15 @@ def _(self):
@subpackage("mesa-libgallium")
def _(self):
self.pkgdesc = "Mesa gallium loader"
self.depends += [self.parent]

return ["usr/lib/libgallium-*.so"]


@subpackage("mesa-dri")
def _(self):
self.pkgdesc = "Mesa DRI drivers"
self.depends += [self.parent]
self.install_if = [self.parent]
# transitional
self.provides = [self.with_pkgver("mesa-vaapi")]
Expand All @@ -373,6 +381,7 @@ def _(self):
@subpackage("mesa-vulkan", _have_vulkan)
def _(self):
self.pkgdesc = "Mesa Vulkan drivers"
self.depends += [self.parent]
self.install_if = [self.with_pkgver("mesa-dri"), "vulkan-loader"]

return [
Expand All @@ -388,6 +397,6 @@ def _(self):

@subpackage("mesa-devel")
def _(self):
self.depends += ["libgbm-devel"]
self.depends += [self.parent, self.with_pkgver("libgbm-devel")]

return self.default_devel()

0 comments on commit 6a059d0

Please sign in to comment.