Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/doxygen/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-09-26 18:23:45 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-09-26 18:23:45 +0200
commit936ea7238aa2601a0466560d39930ca5a8a5657c (patch)
tree196163541fd3b332099ba7d45fb44fc4a8046439 /extra/doxygen/PKGBUILD
parentfdfd65b8ab768294043d02e2b12469891e4d3c2d (diff)
extra/numactl: provisoric patch for FS#60205
Diffstat (limited to 'extra/doxygen/PKGBUILD')
-rw-r--r--extra/doxygen/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/doxygen/PKGBUILD b/extra/doxygen/PKGBUILD
new file mode 100644
index 00000000..9152a88c
--- /dev/null
+++ b/extra/doxygen/PKGBUILD
@@ -0,0 +1,23 @@
+if [ "${CARCH}" = "i486" ]; then
+ # no qt5
+ makedepends=(${makedepends[@]//qt5-base/})
+
+ # no TeX
+ makedepends=(${makedepends[@]//texlive-core/})
+ makedepends=(${makedepends[@]//texlive-latexextra/})
+
+ # no Graphviz
+ makedepends=(${makedepends[@]//graphviz/})
+
+ # no ghostscript
+ makedepends=(${makedepends[@]//ghostscript/})
+
+ eval "$(
+ declare -f build | \
+ sed '
+ /make docs/d
+ s|-Dbuild_doc:BOOL=ON|-Dbuild_doc:BOOL=OFF|
+ s|-Dbuild_wizard:BOOL=ON|-Dbuild_wizard:BOOL=OFF|
+ '
+ )"
+fi