Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cmake')
-rw-r--r--extra/cmake/PKGBUILD49
1 files changed, 30 insertions, 19 deletions
diff --git a/extra/cmake/PKGBUILD b/extra/cmake/PKGBUILD
index 2ed92a65..18217d41 100644
--- a/extra/cmake/PKGBUILD
+++ b/extra/cmake/PKGBUILD
@@ -6,23 +6,34 @@ eval "$(
'
)"
-# ignore gui on i486 (for now, needs Qt6, which needs atomics)
-if [ "$CARCH" = 'i486' ]; then
- makedepends=(${makedepends[@]//qt6-base/})
- eval "$(
- declare -f build | \
- sed '
- s/--qt-gui//
- '
- )"
-fi
+# ignore gui (for now, needs Qt6, which needs atomics)
+makedepends=(${makedepends[@]//qt6-base/})
+eval "$(
+ declare -f build | \
+ sed '
+ s/--qt-gui//
+ '
+)"
+
+# disable documentation (python is somewhat broken currently)
+makedepends=(${makedepends[@]//python-sphinx/})
+eval "$(
+ declare -f build | \
+ sed '
+ s/--sphinx-man//
+ s/--sphinx-html//
+ '
+ declare -f package | \
+ sed '
+ /html\/_sources/d
+ '
+)"
-# disable documentation on i486, python is somewhat broken currently
-if [ "$CARCH" = 'i486' ]; then
- eval "$(
- declare -f build | \
- sed '
- s/--sphinx-man//
- '
- )"
-fi
+# emacs is broken currently
+makedepends=(${makedepends[@]//emacs/})
+eval "$(
+ declare -f package | \
+ sed '
+ /emacs/d
+ '
+)"