Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/cmake/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-07-08 08:30:47 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-08 08:30:47 +0000
commit049f8341240656b32f5bdd648998e6bf501b5382 (patch)
tree16bfe83814552440a31848a3769a28697b116690 /extra/cmake/PKGBUILD
parentad03cfa098696ba858bd74971fc674bf75e53b2d (diff)
extra/cmake: added i486 specific patches
Diffstat (limited to 'extra/cmake/PKGBUILD')
-rw-r--r--extra/cmake/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/cmake/PKGBUILD b/extra/cmake/PKGBUILD
new file mode 100644
index 00000000..d1758858
--- /dev/null
+++ b/extra/cmake/PKGBUILD
@@ -0,0 +1,20 @@
+# 486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # no Python Shinx
+ makedepends=(${makedepends[@]//python-sphinx/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--sphinx-man//
+ '
+ )"
+
+ # no Qt5 GUI
+ makedepends=(${makedepends[@]//qt5-base/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--qt-gui//
+ '
+ )"
+fi