summaryrefslogtreecommitdiff
path: root/extra/doxygen
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-21 09:49:32 +0100
committerErich Eckner <git@eckner.net>2019-01-21 09:49:32 +0100
commit190caffff9a5355a9a31872b800d75bab0fa31ea (patch)
treefa8b0d2d75d7a0bd4e75edac2c5fb2675811364e /extra/doxygen
parentd96f0a09ff22495dba2f19cb05d463d4671fd64d (diff)
parent0653374c47a5c1679d86cfbe251d258151fa018f (diff)
downloadpackages-190caffff9a5355a9a31872b800d75bab0fa31ea.tar.xz
Merge branch 'master' into i486
Diffstat (limited to 'extra/doxygen')
-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