mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/mesa to 24.0.3-2
This commit is contained in:
parent
c494e42987
commit
da8c9b75d1
3 changed files with 108 additions and 124 deletions
|
@ -1,7 +1,7 @@
|
|||
pkgbase = mesa
|
||||
pkgdesc = An open-source implementation of the OpenGL specification
|
||||
pkgdesc = Open-source OpenGL drivers
|
||||
pkgver = 24.0.3
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
epoch = 1
|
||||
url = https://www.mesa3d.org/
|
||||
arch = x86_64
|
||||
|
@ -47,7 +47,10 @@ pkgbase = mesa
|
|||
source = https://mesa.freedesktop.org/archive/mesa-24.0.3.tar.xz
|
||||
source = https://mesa.freedesktop.org/archive/mesa-24.0.3.tar.xz.sig
|
||||
source = radeon_bo_can_reclaim_slab.diff
|
||||
source = LICENSE
|
||||
source = proc-macro2-1.0.70.tar.gz::https://crates.io/api/v1/crates/proc-macro2/1.0.70/download
|
||||
source = unicode-ident-1.0.12.tar.gz::https://crates.io/api/v1/crates/unicode-ident/1.0.12/download
|
||||
source = quote-1.0.33.tar.gz::https://crates.io/api/v1/crates/quote/1.0.33/download
|
||||
source = syn-2.0.39.tar.gz::https://crates.io/api/v1/crates/syn/2.0.39/download
|
||||
validpgpkeys = 8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D
|
||||
validpgpkeys = 946D09B5E4C9845E63075FF1D961C596A7203456
|
||||
validpgpkeys = E3E8F480C52ADD73B278EE78E1ECBE07D7D70895
|
||||
|
@ -57,11 +60,17 @@ pkgbase = mesa
|
|||
sha256sums = 77aec9a2a37b7d3596ea1640b3cc53d0b5d9b3b52abed89de07e3717e91bfdbe
|
||||
sha256sums = SKIP
|
||||
sha256sums = 3fd1ad8cd29319502a6f80ecb96bb9a059e5de83a8b6e39f23de8d93921fd922
|
||||
sha256sums = 7052ba73bb07ea78873a2431ee4e828f4e72bda7d176d07f770fa48373dec537
|
||||
sha256sums = 39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b
|
||||
sha256sums = 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b
|
||||
sha256sums = 5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae
|
||||
sha256sums = 23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a
|
||||
b2sums = 7af5dc7f11bb11a3d04b3d71b5122a5bf9fe9242440444f266c6d1fac5891b4380a5f792fb66216f1937a7d886402f786d44365c93362d31fb6840d0954c95b4
|
||||
b2sums = SKIP
|
||||
b2sums = e7c3451a342cc648149375ce58697ae24273d47060e74ca2948d45ea8fe29b104f1daae4c91968fb6f37d41963d176987abf9ee21acfba0172a9b5d30300a72e
|
||||
b2sums = 1ecf007b82260710a7bf5048f47dd5d600c168824c02c595af654632326536a6527fbe0738670ee7b921dd85a70425108e0f471ba85a8e1ca47d294ad74b4adb
|
||||
b2sums = fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c
|
||||
b2sums = 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac
|
||||
b2sums = 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848
|
||||
b2sums = 2cff6626624d03f70f1662af45a8644c28a9f92e2dfe38999bef3ba4a4c1ce825ae598277e9cb7abd5585eebfb17b239effc8d0bbf1c6ac196499f0d288e5e01
|
||||
|
||||
pkgname = vulkan-mesa-layers
|
||||
pkgdesc = Mesa's Vulkan layers
|
||||
|
@ -73,7 +82,7 @@ pkgname = vulkan-mesa-layers
|
|||
replaces = vulkan-mesa-layer
|
||||
|
||||
pkgname = opencl-clover-mesa
|
||||
pkgdesc = OpenCL support with clover for mesa drivers
|
||||
pkgdesc = Open-source OpenCL drivers - Clover variant
|
||||
depends = clang
|
||||
depends = expat
|
||||
depends = libdrm
|
||||
|
@ -87,7 +96,7 @@ pkgname = opencl-clover-mesa
|
|||
replaces = opencl-mesa<=23.1.4-1
|
||||
|
||||
pkgname = opencl-rusticl-mesa
|
||||
pkgdesc = OpenCL support with rusticl for mesa drivers
|
||||
pkgdesc = Open-source OpenCL drivers - RustICL variant
|
||||
depends = clang
|
||||
depends = expat
|
||||
depends = libdrm
|
||||
|
@ -102,7 +111,19 @@ pkgname = opencl-rusticl-mesa
|
|||
replaces = opencl-mesa<=23.1.4-1
|
||||
|
||||
pkgname = vulkan-intel
|
||||
pkgdesc = Intel's Vulkan mesa driver
|
||||
pkgdesc = Open-source Vulkan driver for Intel GPUs
|
||||
depends = libdrm
|
||||
depends = libx11
|
||||
depends = libxshmfence
|
||||
depends = systemd
|
||||
depends = wayland
|
||||
depends = xcb-util-keysyms
|
||||
depends = zstd
|
||||
optdepends = vulkan-mesa-layers: additional vulkan layers
|
||||
provides = vulkan-driver
|
||||
|
||||
pkgname = vulkan-nouveau
|
||||
pkgdesc = Open-source Vulkan driver for Nvidia GPUs
|
||||
depends = libdrm
|
||||
depends = libx11
|
||||
depends = libxshmfence
|
||||
|
@ -114,7 +135,7 @@ pkgname = vulkan-intel
|
|||
provides = vulkan-driver
|
||||
|
||||
pkgname = vulkan-radeon
|
||||
pkgdesc = Radeon's Vulkan mesa driver
|
||||
pkgdesc = Open-source Vulkan driver for AMD GPUs
|
||||
depends = libdrm
|
||||
depends = libelf
|
||||
depends = libx11
|
||||
|
@ -128,7 +149,7 @@ pkgname = vulkan-radeon
|
|||
provides = vulkan-driver
|
||||
|
||||
pkgname = vulkan-swrast
|
||||
pkgdesc = Vulkan software rasteriser driver
|
||||
pkgdesc = Open-source Vulkan driver for CPUs (Software Rasterizer)
|
||||
depends = libdrm
|
||||
depends = libunwind
|
||||
depends = libx11
|
||||
|
@ -144,7 +165,7 @@ pkgname = vulkan-swrast
|
|||
replaces = vulkan-mesa
|
||||
|
||||
pkgname = vulkan-virtio
|
||||
pkgdesc = Venus Vulkan mesa driver for Virtual Machines
|
||||
pkgdesc = Open-source Vulkan driver for Virtio-GPU (Venus)
|
||||
depends = libdrm
|
||||
depends = libx11
|
||||
depends = libxshmfence
|
||||
|
@ -156,7 +177,7 @@ pkgname = vulkan-virtio
|
|||
provides = vulkan-driver
|
||||
|
||||
pkgname = libva-mesa-driver
|
||||
pkgdesc = VA-API drivers
|
||||
pkgdesc = Open-source VA-API drivers
|
||||
depends = expat
|
||||
depends = libdrm
|
||||
depends = libelf
|
||||
|
@ -167,7 +188,7 @@ pkgname = libva-mesa-driver
|
|||
provides = libva-driver
|
||||
|
||||
pkgname = mesa-vdpau
|
||||
pkgdesc = VDPAU drivers
|
||||
pkgdesc = Open-source VDPAU drivers
|
||||
depends = expat
|
||||
depends = libdrm
|
||||
depends = libelf
|
||||
|
|
|
@ -1,83 +0,0 @@
|
|||
The Mesa 3D Graphics Library
|
||||
|
||||
Disclaimer
|
||||
|
||||
Mesa is a 3-D graphics library with an API which is very similar to
|
||||
that of [1]OpenGL.* To the extent that Mesa utilizes the OpenGL command
|
||||
syntax or state machine, it is being used with authorization from
|
||||
[2]Silicon Graphics, Inc.(SGI). However, the author does not possess an
|
||||
OpenGL license from SGI, and makes no claim that Mesa is in any way a
|
||||
compatible replacement for OpenGL or associated with SGI. Those who
|
||||
want a licensed implementation of OpenGL should contact a licensed
|
||||
vendor.
|
||||
|
||||
Please do not refer to the library as MesaGL (for legal reasons). It's
|
||||
just Mesa or The Mesa 3-D graphics library.
|
||||
|
||||
* OpenGL is a trademark of [3]Silicon Graphics Incorporated.
|
||||
|
||||
License / Copyright Information
|
||||
|
||||
The Mesa distribution consists of several components. Different
|
||||
copyrights and licenses apply to different components. For example, the
|
||||
GLX client code uses the SGI Free Software License B, and some of the
|
||||
Mesa device drivers are copyrighted by their authors. See below for a
|
||||
list of Mesa's main components and the license for each.
|
||||
|
||||
The core Mesa library is licensed according to the terms of the MIT
|
||||
license. This allows integration with the XFree86, Xorg and DRI
|
||||
projects.
|
||||
|
||||
The default Mesa license is as follows:
|
||||
|
||||
Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
Attention, Contributors
|
||||
|
||||
When contributing to the Mesa project you must agree to the licensing
|
||||
terms of the component to which you're contributing. The following
|
||||
section lists the primary components of the Mesa distribution and their
|
||||
respective licenses.
|
||||
|
||||
Mesa Component Licenses
|
||||
|
||||
Component Location License
|
||||
------------------------------------------------------------------
|
||||
Main Mesa code src/mesa/ MIT
|
||||
|
||||
Device drivers src/mesa/drivers/* MIT, generally
|
||||
|
||||
Gallium code src/gallium/ MIT
|
||||
|
||||
Ext headers include/GL/glext.h Khronos
|
||||
include/GL/glxext.h
|
||||
|
||||
GLX client code src/glx/ SGI Free Software License B
|
||||
|
||||
C11 thread include/c11/threads*.h Boost (permissive) emulation
|
||||
|
||||
In general, consult the source files for license terms.
|
||||
|
||||
References
|
||||
|
||||
1. https://www.opengl.org/
|
||||
2. https://www.sgi.com/
|
||||
3. https://www.sgi.com/
|
|
@ -1,5 +1,6 @@
|
|||
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||
# Contributor: Andreas Radke <andyrtr@archlinux.org>
|
||||
# Contributor: Dan Johansen <strit@manjaro.org>
|
||||
|
@ -29,9 +30,9 @@ pkgname=(
|
|||
'mesa'
|
||||
)
|
||||
pkgver=24.0.3
|
||||
pkgrel=1.1
|
||||
pkgrel=2
|
||||
epoch=1
|
||||
pkgdesc="An open-source implementation of the OpenGL specification"
|
||||
pkgdesc="Open-source OpenGL drivers"
|
||||
url="https://www.mesa3d.org/"
|
||||
arch=('x86_64')
|
||||
license=('MIT AND BSD-3-Clause AND SGI-B-2.0')
|
||||
|
@ -86,22 +87,42 @@ makedepends=(
|
|||
source=(
|
||||
https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
|
||||
radeon_bo_can_reclaim_slab.diff
|
||||
LICENSE
|
||||
)
|
||||
validpgpkeys=(
|
||||
'8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l.velikov@gmail.com>
|
||||
'946D09B5E4C9845E63075FF1D961C596A7203456' # Andres Gomez <tanty@igalia.com>
|
||||
'E3E8F480C52ADD73B278EE78E1ECBE07D7D70895' # Juan Antonio Suárez Romero (Igalia, S.L.) <jasuarez@igalia.com>
|
||||
'A5CC9FEC93F2F837CB044912336909B6B25FADFA' # Juan A. Suarez Romero <jasuarez@igalia.com>
|
||||
'71C4B75620BC75708B4BDB254C95FAAB3EB073EC' # Dylan Baker <dylan@pnwbakers.com>
|
||||
'57551DE15B968F6341C248F68D8E31AFC32428A6' # Eric Engestrom <eric@engestrom.ch>
|
||||
)
|
||||
|
||||
# Rust crates for NVK, used as Meson subprojects
|
||||
declare -A _crates=(
|
||||
proc-macro2 1.0.70
|
||||
quote 1.0.33
|
||||
syn 2.0.39
|
||||
unicode-ident 1.0.12
|
||||
)
|
||||
|
||||
for _crate in "${!_crates[@]}"; do
|
||||
source+=($_crate-${_crates[$_crate]}.tar.gz::https://crates.io/api/v1/crates/$_crate/${_crates[$_crate]}/download)
|
||||
done
|
||||
|
||||
sha256sums=('77aec9a2a37b7d3596ea1640b3cc53d0b5d9b3b52abed89de07e3717e91bfdbe'
|
||||
'SKIP'
|
||||
'3fd1ad8cd29319502a6f80ecb96bb9a059e5de83a8b6e39f23de8d93921fd922'
|
||||
'7052ba73bb07ea78873a2431ee4e828f4e72bda7d176d07f770fa48373dec537')
|
||||
'39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b'
|
||||
'3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b'
|
||||
'5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae'
|
||||
'23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a')
|
||||
b2sums=('7af5dc7f11bb11a3d04b3d71b5122a5bf9fe9242440444f266c6d1fac5891b4380a5f792fb66216f1937a7d886402f786d44365c93362d31fb6840d0954c95b4'
|
||||
'SKIP'
|
||||
'e7c3451a342cc648149375ce58697ae24273d47060e74ca2948d45ea8fe29b104f1daae4c91968fb6f37d41963d176987abf9ee21acfba0172a9b5d30300a72e'
|
||||
'1ecf007b82260710a7bf5048f47dd5d600c168824c02c595af654632326536a6527fbe0738670ee7b921dd85a70425108e0f471ba85a8e1ca47d294ad74b4adb')
|
||||
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l.velikov@gmail.com>
|
||||
'946D09B5E4C9845E63075FF1D961C596A7203456' # Andres Gomez <tanty@igalia.com>
|
||||
'E3E8F480C52ADD73B278EE78E1ECBE07D7D70895' # Juan Antonio Suárez Romero (Igalia, S.L.) <jasuarez@igalia.com>
|
||||
'A5CC9FEC93F2F837CB044912336909B6B25FADFA' # Juan A. Suarez Romero <jasuarez@igalia.com>
|
||||
'71C4B75620BC75708B4BDB254C95FAAB3EB073EC' # Dylan Baker <dylan@pnwbakers.com>
|
||||
'57551DE15B968F6341C248F68D8E31AFC32428A6') # Eric Engestrom <eric@engestrom.ch>
|
||||
'fff0dec06b21e391783cc136790238acb783780eaedcf14875a350e7ceb46fdc100c8b9e3f09fb7f4c2196c25d4c6b61e574c0dad762d94533b628faab68cf5c'
|
||||
'4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac'
|
||||
'77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848'
|
||||
'2cff6626624d03f70f1662af45a8644c28a9f92e2dfe38999bef3ba4a4c1ce825ae598277e9cb7abd5585eebfb17b239effc8d0bbf1c6ac196499f0d288e5e01')
|
||||
|
||||
prepare() {
|
||||
cd mesa-$pkgver
|
||||
|
@ -156,7 +177,7 @@ build() {
|
|||
-D shared-glapi=enabled
|
||||
-D valgrind=enabled
|
||||
-D video-codecs=all
|
||||
-D vulkan-drivers=amd,swrast,broadcom,panfrost,virtio,freedreno
|
||||
-D vulkan-drivers=amd,swrast,broadcom,panfrost,virtio,freedreno,nouveau-experimental
|
||||
-D vulkan-layers=device-select,overlay
|
||||
)
|
||||
|
||||
|
@ -164,6 +185,9 @@ build() {
|
|||
CFLAGS+=' -g1'
|
||||
CXXFLAGS+=' -g1'
|
||||
|
||||
# Inject subproject packages
|
||||
export MESON_PACKAGE_CACHE_DIR="$srcdir"
|
||||
|
||||
arch-meson mesa-$pkgver build "${meson_options[@]}"
|
||||
meson configure build # Print config
|
||||
meson compile -C build
|
||||
|
@ -202,11 +226,11 @@ package_vulkan-mesa-layers() {
|
|||
_install fakeinstall/$_libdir/libVkLayer_*.so
|
||||
_install fakeinstall/usr/bin/mesa-overlay-control.py
|
||||
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
|
||||
install -Dm644 mesa-$pkgver/docs/license.rst -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_opencl-clover-mesa() {
|
||||
pkgdesc="OpenCL support with clover for mesa drivers"
|
||||
pkgdesc="Open-source OpenCL drivers - Clover variant"
|
||||
depends=(
|
||||
'clang'
|
||||
'expat'
|
||||
|
@ -226,11 +250,11 @@ package_opencl-clover-mesa() {
|
|||
_install fakeinstall/$_libdir/libMesaOpenCL*
|
||||
_install fakeinstall/$_libdir/gallium-pipe
|
||||
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
|
||||
install -Dm644 mesa-$pkgver/docs/license.rst -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_opencl-rusticl-mesa() {
|
||||
pkgdesc="OpenCL support with rusticl for mesa drivers"
|
||||
pkgdesc="Open-source OpenCL drivers - RustICL variant"
|
||||
depends=(
|
||||
'clang'
|
||||
'expat'
|
||||
|
@ -250,11 +274,31 @@ package_opencl-rusticl-mesa() {
|
|||
_install fakeinstall/etc/OpenCL/vendors/rusticl.icd
|
||||
_install fakeinstall/$_libdir/libRusticlOpenCL*
|
||||
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
|
||||
install -Dm644 mesa-$pkgver/docs/license.rst -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_vulkan-nouveau() {
|
||||
pkgdesc="Open-source Vulkan driver for Nvidia GPUs"
|
||||
depends=(
|
||||
'libdrm'
|
||||
'libx11'
|
||||
'libxshmfence'
|
||||
'systemd'
|
||||
'wayland'
|
||||
'xcb-util-keysyms'
|
||||
'zstd'
|
||||
)
|
||||
optdepends=('vulkan-mesa-layers: additional vulkan layers')
|
||||
provides=('vulkan-driver')
|
||||
|
||||
_install fakeinstall/usr/share/vulkan/icd.d/nouveau_*.json
|
||||
_install fakeinstall/$_libdir/libvulkan_nouveau*.so
|
||||
|
||||
install -Dm644 mesa-$pkgver/docs/license.rst -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_vulkan-radeon() {
|
||||
pkgdesc="Radeon's Vulkan mesa driver"
|
||||
pkgdesc="Open-source Vulkan driver for AMD GPUs"
|
||||
depends=(
|
||||
'libdrm'
|
||||
'libelf'
|
||||
|
@ -273,11 +317,11 @@ package_vulkan-radeon() {
|
|||
_install fakeinstall/usr/share/vulkan/icd.d/radeon_icd*.json
|
||||
_install fakeinstall/$_libdir/libvulkan_radeon.so
|
||||
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
|
||||
install -Dm644 mesa-$pkgver/docs/license.rst -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_vulkan-swrast() {
|
||||
pkgdesc="Vulkan software rasteriser driver"
|
||||
pkgdesc="Open-source Vulkan driver for CPUs (Software Rasterizer)"
|
||||
depends=(
|
||||
'libdrm'
|
||||
'libunwind'
|
||||
|
@ -297,11 +341,11 @@ package_vulkan-swrast() {
|
|||
_install fakeinstall/usr/share/vulkan/icd.d/lvp_icd*.json
|
||||
_install fakeinstall/$_libdir/libvulkan_lvp.so
|
||||
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
|
||||
install -Dm644 mesa-$pkgver/docs/license.rst -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_vulkan-virtio() {
|
||||
pkgdesc="Venus Vulkan mesa driver for Virtual Machines"
|
||||
pkgdesc="Open-source Vulkan driver for Virtio-GPU (Venus)"
|
||||
depends=(
|
||||
'libdrm'
|
||||
'libx11'
|
||||
|
@ -363,11 +407,11 @@ package_vulkan-freedreno() {
|
|||
_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
|
||||
install -Dm644 mesa-$pkgver/docs/license.rst -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_libva-mesa-driver() {
|
||||
pkgdesc="VA-API drivers"
|
||||
pkgdesc="Open-source VA-API drivers"
|
||||
depends=(
|
||||
'expat'
|
||||
'libdrm'
|
||||
|
@ -381,11 +425,11 @@ package_libva-mesa-driver() {
|
|||
|
||||
_install fakeinstall/$_libdir/dri/*_drv_video.so
|
||||
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
|
||||
install -Dm644 mesa-$pkgver/docs/license.rst -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_mesa-vdpau() {
|
||||
pkgdesc="VDPAU drivers"
|
||||
pkgdesc="Open-source VDPAU drivers"
|
||||
depends=(
|
||||
'expat'
|
||||
'libdrm'
|
||||
|
@ -399,7 +443,7 @@ package_mesa-vdpau() {
|
|||
|
||||
_install fakeinstall/$_libdir/vdpau
|
||||
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
|
||||
install -Dm644 mesa-$pkgver/docs/license.rst -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
package_mesa() {
|
||||
|
@ -454,5 +498,7 @@ package_mesa() {
|
|||
# make sure there are no files left to install
|
||||
find fakeinstall -depth -print0 | xargs -0 rmdir
|
||||
|
||||
install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
|
||||
install -Dm644 mesa-$pkgver/docs/license.rst -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
# vim:set sw=2 sts=-1 et:
|
||||
|
|
Loading…
Reference in a new issue