forked from chimera-linux/cports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = [ | ||
|
@@ -17,6 +17,7 @@ | |
"-Dplatforms=x11,wayland", | ||
"-Dshared-glapi=enabled", | ||
"-Dvideo-codecs=all", | ||
"-Dgallium-vdpau=disabled", | ||
] | ||
hostmakedepends = [ | ||
"bison", | ||
|
@@ -64,6 +65,7 @@ | |
# video accel | ||
"libva-bootstrap", | ||
] | ||
provider_priority = 999 | ||
pkgdesc = "Mesa 3D Graphics Library" | ||
maintainer = "q66 <[email protected]>" | ||
license = "MIT" | ||
|
@@ -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 | ||
|
@@ -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"] | ||
|
@@ -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", | ||
|
@@ -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", | ||
|
@@ -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")] | ||
|
@@ -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 [ | ||
|
@@ -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() |