Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-01-18 14:23:49 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2024-01-18 14:23:49 +0100
commit1a340014bef8f691043c48dc34502afdc913f765 (patch)
treeaaf3903443a97a51c7551fd0fe0d4b093e08774a
parentc8afa71f8e039c7dcfef1e04effbdedbf44d17d4 (diff)
extra/cmake: disabled emacs, gui and documentation for now
-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
+ '
+)"