Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/cmake/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/cmake/PKGBUILD b/extra/cmake/PKGBUILD
new file mode 100644
index 00000000..2128d8f8
--- /dev/null
+++ b/extra/cmake/PKGBUILD
@@ -0,0 +1,11 @@
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no Qt5 GUI
+ makedepends=(${makedepends[@]//qt5-base/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--qt-gui//
+ '
+ )"
+fi