summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-04-29 17:21:20 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-04-29 17:21:20 +0200
commita3ad6a52e3e58c050ea28ba7fc9b0591d14cd7e7 (patch)
treef46c42d536bbf869c018e077058ec2e14ff21b6c
parent4bb9ceab55791bf4561381931c4463b6cc455182 (diff)
downloadpackages-a3ad6a52e3e58c050ea28ba7fc9b0591d14cd7e7.tar.xz
extra/libxkbcommon: breaking X11 cycle on i486
-rw-r--r--extra/libxkbcommon/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/libxkbcommon/PKGBUILD b/extra/libxkbcommon/PKGBUILD
index 1c545368..3c04600f 100644
--- a/extra/libxkbcommon/PKGBUILD
+++ b/extra/libxkbcommon/PKGBUILD
@@ -40,6 +40,19 @@ if [ "${CARCH}" = "i486" ]; then
s/arch-meson/arch-meson -Denable-x11=false/
'
)"
+
+ pkgname=($(
+ printf '%s\n' "${pkgname[@]}" | \
+ sed '/^libxkbcommon-x11/d'
+ ))
+
+ eval "$(
+ declare -f package_libxkbcommon | \
+ sed '
+ /x11/d
+ '
+ )"
+
fi