mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
parent
de224abe80
commit
6c4f047f15
1 changed files with 17 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
@ -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/"
|
||||
|
@ -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
|
||||
)
|
||||
|
||||
|
@ -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=(
|
||||
|
|
Loading…
Reference in a new issue