Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/mesa
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-01-11 22:10:21 +0100
committerErich Eckner <git@eckner.net>2021-01-11 22:10:21 +0100
commit92954c9e14d21b4b7f39ee2658291f30c2fb6c24 (patch)
tree2e58e5c57816be45037351a55e5654d4cf76cf7b /extra/mesa
parent0066b01fd0eb3bf9267694964405eb43bc4284ed (diff)
extra/mesa: really fix this pkgname stuff (hopefully)
Diffstat (limited to 'extra/mesa')
-rw-r--r--extra/mesa/PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD
index db37ecce..4e8039b3 100644
--- a/extra/mesa/PKGBUILD
+++ b/extra/mesa/PKGBUILD
@@ -38,9 +38,18 @@ if [ "$CARCH" = 'i486' ]; then
\,fakeinstall/usr/lib/libxatracker\.so\*,d
'
)"
+ pkgname=(
+ $(
+ printf '%s\n' "${pkgname[@]}" \
+ | grep -v '^vulkan-' \
+ | grep -vxF opencl-mesa \
+ | grep -vxF libva-mesa-driver \
+ | grep -vxF mesa-vdpau
+ )
+ )
fi
eval "$(
- declare -f package_vulkan-intel package_vulkan-radeon | \
+ declare -f package_vulkan-intel package_vulkan-radeon package_opencl-mesa package_libva-mesa-driver package_mesa-vdpau | \
sed '
/^\s*{\s*$/ a arch=('"$(
printf '%s\n' "${arch[@]}" | \
@@ -49,14 +58,3 @@ eval "$(
)"')
'
)"
-for _pkgn in $(
- printf '%s\n' "${pkgname[@]}" \
- | grep -x 'vulkan-\S\+\|opencl-mesa\|libva-mesa-driver\|mesa-vdpau'
-); do
- eval "$(
- declare -f "package_${_pkgn}" \
- | sed '
- 2a [ "${CARCH}" != i486 ] || return
- '
- )"
-done