Skip to content

Commit

Permalink
extra/mesa to 24.0.3-1.1
Browse files Browse the repository at this point in the history
closes #1973
closes #1996
  • Loading branch information
graysky2 committed Mar 15, 2024
1 parent de224ab commit 6c4f047
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions extra/mesa/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# - Removed Gallium3D drivers/packages for chipsets that don't exist in our ARM devices (intel, VMware svga).
# - added broadcom and panfrost vulkan packages
# - enable lto for aarch64
# ALARM: John Audia <therealgraysky@proton.me>
# - added freedreno driver, PR#1973 and PR#1996

highmem=1

Expand All @@ -21,12 +23,13 @@ pkgname=(
'vulkan-virtio'
'vulkan-broadcom'
'vulkan-panfrost'
'vulkan-freedreno'
'libva-mesa-driver'
'mesa-vdpau'
'mesa'
)
pkgver=24.0.3
pkgrel=1
pkgrel=1.1
epoch=1
pkgdesc="An open-source implementation of the OpenGL specification"
url="https://www.mesa3d.org/"
Expand Down Expand Up @@ -153,7 +156,7 @@ build() {
-D shared-glapi=enabled
-D valgrind=enabled
-D video-codecs=all
-D vulkan-drivers=amd,swrast,broadcom,panfrost,virtio
-D vulkan-drivers=amd,swrast,broadcom,panfrost,virtio,freedreno
-D vulkan-layers=device-select,overlay
)

Expand Down Expand Up @@ -351,6 +354,18 @@ package_vulkan-panfrost() {
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}

package_vulkan-freedreno() {
pkgdesc="Freedreno Vulkan mesa driver"
depends=('wayland' 'libx11' 'libxshmfence' 'libdrm')
optdepends=('vulkan-mesa-layers: additional vulkan layers')
provides=('vulkan-driver')

_install fakeinstall/usr/share/vulkan/icd.d/freedreno_icd*.json
_install fakeinstall/usr/lib/libvulkan_freedreno.so

install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
}

package_libva-mesa-driver() {
pkgdesc="VA-API drivers"
depends=(
Expand Down

0 comments on commit 6c4f047

Please sign in to comment.